diff options
author | Luke Kanies <luke@madstop.com> | 2008-07-18 00:12:01 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-07-18 00:12:01 -0500 |
commit | a0fa09f6ee562dd1b61fe56dd4b914419d641986 (patch) | |
tree | 3e4bccaa9bd2af7e89adda49c214fd369e7c5c0d /lib | |
parent | 8f8ce60819b8c4b3c6609fd9cc485f8322561469 (diff) | |
download | puppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.tar.gz puppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.tar.xz puppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.zip |
Revert "Fixed #1201 - all external node attributes are converted to strings."
This reverts commit ac7f59618a80b6a4aac777f6184e7fa6a0614079.
The reason for this revert is that the problem never really existed;
Ruby's true and false are always used unless you quote them.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/indirector/node/exec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/puppet/indirector/node/exec.rb b/lib/puppet/indirector/node/exec.rb index 029a35c4f..52cbc370c 100644 --- a/lib/puppet/indirector/node/exec.rb +++ b/lib/puppet/indirector/node/exec.rb @@ -30,13 +30,6 @@ class Puppet::Node::Exec < Puppet::Indirector::Exec def create_node(name, result) node = Puppet::Node.new(name) set = false - if current = result[:parameters] - result[:parameters] = current.inject({}) do |strings, ary| - param, value = ary - strings[param] = value.to_s - strings - end - end [:parameters, :classes, :environment].each do |param| if value = result[param] node.send(param.to_s + "=", value) |