summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/interpreter.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-05 04:54:59 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-05 04:54:59 +0000
commit48bbd0b33720440d39d41cebf2c83ce1571cdc08 (patch)
treec190e562be12c235429d2dcf25dec9ccd5136ec7 /lib/puppet/parser/interpreter.rb
parentf6beef5c57381973c68468be9d4b1cac593a037c (diff)
downloadpuppet-48bbd0b33720440d39d41cebf2c83ce1571cdc08.tar.gz
puppet-48bbd0b33720440d39d41cebf2c83ce1571cdc08.tar.xz
puppet-48bbd0b33720440d39d41cebf2c83ce1571cdc08.zip
Further work on #407. I forgot to actually connect it to the interpreter internals.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2050 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/interpreter.rb')
-rw-r--r--lib/puppet/parser/interpreter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb
index 0117ac2dd..63b107985 100644
--- a/lib/puppet/parser/interpreter.rb
+++ b/lib/puppet/parser/interpreter.rb
@@ -364,6 +364,10 @@ class Puppet::Parser::Interpreter
unless @nodesources.include?(:code)
@nodesources << :code
end
+
+ unless Puppet[:external_nodes] == "none"
+ @nodesources << :external
+ end
@setup = false