summaryrefslogtreecommitdiffstats
path: root/lib/puppet/dsl.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-08-22 17:57:28 -0500
committerLuke Kanies <luke@madstop.com>2007-08-22 17:57:28 -0500
commit8b3361afae35cfb65754d7bd9aff5b820ed714f0 (patch)
tree0a6fe8ce4029a8ea8bb82ab80dfb57cb5b6c20cc /lib/puppet/dsl.rb
parentf1727f18ab933df9ecbecc2da8fad72eb441e0d5 (diff)
downloadpuppet-8b3361afae35cfb65754d7bd9aff5b820ed714f0.tar.gz
puppet-8b3361afae35cfb65754d7bd9aff5b820ed714f0.tar.xz
puppet-8b3361afae35cfb65754d7bd9aff5b820ed714f0.zip
The last commits before I actually start on the multi-environment support. There are still failing tests, but apparently only those that are also failing in trunk.
Diffstat (limited to 'lib/puppet/dsl.rb')
-rw-r--r--lib/puppet/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/dsl.rb b/lib/puppet/dsl.rb
index 3a7a7f059..bd0fcbf96 100644
--- a/lib/puppet/dsl.rb
+++ b/lib/puppet/dsl.rb
@@ -257,7 +257,7 @@ module Puppet
@interp = Puppet::Parser::Interpreter.new :Code => ""
# Load the class, so the node object class is available.
require 'puppet/network/handler/node'
- @node = Puppet::Network::Handler::Node::SimpleNode.new(Facter.value(:hostname))
+ @node = Puppet::Node.new(Facter.value(:hostname))
@node.parameters = Facter.to_hash
@interp = Puppet::Parser::Interpreter.new :Code => ""
@config = Puppet::Parser::Configuration.new(@node, @interp.parser)