summaryrefslogtreecommitdiffstats
path: root/lib/puppet/pgraph.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-09 16:40:50 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-09 16:40:50 +0000
commitcdd1e6e19e7b8fc340ebcf543a30564c76e71eb9 (patch)
tree65f7511a9f6386db44c92c502de1d56c7d2f0b6d /lib/puppet/pgraph.rb
parent01e5b692f0ba209956f4b84c7e597bd867154cbf (diff)
downloadpuppet-cdd1e6e19e7b8fc340ebcf543a30564c76e71eb9.tar.gz
puppet-cdd1e6e19e7b8fc340ebcf543a30564c76e71eb9.tar.xz
puppet-cdd1e6e19e7b8fc340ebcf543a30564c76e71eb9.zip
Another intermediate commit. Most of the graphing work itself is now done, but I am in the middle of converting files to use the graphs and at the same time am writing some actually decent tests for the file recursion stuff.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1899 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/pgraph.rb')
-rw-r--r--lib/puppet/pgraph.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/pgraph.rb b/lib/puppet/pgraph.rb
index 292e25073..58bee8605 100644
--- a/lib/puppet/pgraph.rb
+++ b/lib/puppet/pgraph.rb
@@ -11,6 +11,9 @@ require 'puppet/relationship'
# This class subclasses a graph class in order to handle relationships
# among resources.
class Puppet::PGraph < GRATR::Digraph
+ # This is the type used for splicing.
+ attr_accessor :container_type
+
# The dependencies for a given resource.
def dependencies(resource)
tree_from_vertex(resource, :dfs).keys