diff options
author | Luke Kanies <luke@madstop.com> | 2008-11-20 14:37:16 -0600 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-11-21 09:02:32 +1100 |
commit | ed4c4050a8ac46c509b20031814646a49ba86e54 (patch) | |
tree | f6169c9d84add9b80b9a6c0b186b3e130ef9283d /lib/puppet | |
parent | c65f2b50832c2772861298c469813c09d25fefd3 (diff) | |
download | puppet-ed4c4050a8ac46c509b20031814646a49ba86e54.tar.gz puppet-ed4c4050a8ac46c509b20031814646a49ba86e54.tar.xz puppet-ed4c4050a8ac46c509b20031814646a49ba86e54.zip |
Fixing #1755 - File modes (and other strange properties) will now display correctly
in ralsh and generated manifests.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/type.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb index 7e8654921..7a1c8b40b 100644 --- a/lib/puppet/type.rb +++ b/lib/puppet/type.rb @@ -2487,8 +2487,8 @@ class Type trans = TransObject.new(self.title, self.class.name) values = retrieve() - values.each do |name, value| - trans[name.name] = value + values.each do |param, value| + trans[param.name] = param.is_to_s(value) end @parameters.each do |name, param| |