diff options
author | Tim Smith <tsmith@chef.io> | 2020-11-06 12:14:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 12:14:33 -0800 |
commit | 0b5faccd9f852e7f73a58cbba65475343f7109e2 (patch) | |
tree | 14800fe5adacdbfbc66b3fd0a0503e08c8588f41 /lib/chef/resource | |
parent | c2d124a79b76c30009c8c1e07b02d78bd350554b (diff) | |
parent | e3bbd4e45bc55d63b886e0728abd82ecf92f3b7b (diff) | |
download | chef-0b5faccd9f852e7f73a58cbba65475343f7109e2.tar.gz |
Merge pull request #10604 from chef/collapse
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/plist.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/resource/plist.rb b/lib/chef/resource/plist.rb index f4058520a9..a7cb88ef57 100644 --- a/lib/chef/resource/plist.rb +++ b/lib/chef/resource/plist.rb @@ -151,9 +151,7 @@ class Chef value.to_i when "float" value.to_f - when "string" - value - when "dictionary" + when "string", "dictionary" value when nil "" @@ -168,9 +166,7 @@ class Chef "array" when Integer "integer" - when FalseClass - "bool" - when TrueClass + when FalseClass, TrueClass "bool" when Hash "dict" |