diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-09 10:54:21 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-09 10:54:21 -0500 |
commit | 32753e11d9cd731760ec8ba3c4f1ad2e3402535e (patch) | |
tree | 0b6375bdefa041a7d4fbab9745ed084fb025bc30 /lib/puppet/parser/compile.rb | |
parent | afa1dee5eb3a8b5249715e61f9894b04ab34a6ae (diff) | |
parent | 01f132d8b88467dfd314ad355f1cdf9f546945b3 (diff) | |
download | puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.tar.gz puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.tar.xz puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.zip |
Merge branch 'master' of git://michaelobrien.info/puppet into michael
Diffstat (limited to 'lib/puppet/parser/compile.rb')
-rw-r--r-- | lib/puppet/parser/compile.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/parser/compile.rb b/lib/puppet/parser/compile.rb index 6aeebeaae..992b165e5 100644 --- a/lib/puppet/parser/compile.rb +++ b/lib/puppet/parser/compile.rb @@ -16,8 +16,6 @@ class Puppet::Parser::Compile include Puppet::Util::Errors attr_reader :topscope, :parser, :node, :facts, :collections, :configuration - attr_writer :ast_nodes - # Add a collection to the global list. def add_collection(coll) @collections << coll @@ -25,7 +23,7 @@ class Puppet::Parser::Compile # Do we use nodes found in the code, vs. the external node sources? def ast_nodes? - defined?(@ast_nodes) and @ast_nodes + parser.nodes.length > 0 end # Store the fact that we've evaluated a class, and store a reference to |