summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/powershell_type_coercions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/powershell_type_coercions.rb')
-rw-r--r--lib/chef/mixin/powershell_type_coercions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/mixin/powershell_type_coercions.rb b/lib/chef/mixin/powershell_type_coercions.rb
index e9fa6b74ac..60c04e85ae 100644
--- a/lib/chef/mixin/powershell_type_coercions.rb
+++ b/lib/chef/mixin/powershell_type_coercions.rb
@@ -28,8 +28,9 @@ class Chef
FalseClass => { :type => lambda { |x| "$false" }},
TrueClass => { :type => lambda { |x| "$true" }},
Hash => {:type => Proc.new { |x| translate_hash(x)}},
- Chef::Node::ImmutableMash => {:type => Proc.new { |x| translate_hash(x)}},
Array => {:type => Proc.new { |x| translate_array(x)}},
+ Chef::Node::ImmutableMash => {:type => Proc.new { |x| translate_hash(x)}},
+ Chef::Node::ImmutableArray => {:type => Proc.new { |x| translate_array(x)}},
}
end