diff options
Diffstat (limited to 'lib/chef/resource/windows_feature_powershell.rb')
-rw-r--r-- | lib/chef/resource/windows_feature_powershell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_feature_powershell.rb b/lib/chef/resource/windows_feature_powershell.rb index 7e7fb6c160..b25574f0f5 100644 --- a/lib/chef/resource/windows_feature_powershell.rb +++ b/lib/chef/resource/windows_feature_powershell.rb @@ -33,7 +33,7 @@ class Chef property :feature_name, [Array, String], description: "The name of the feature/role(s) to install if it differs from the resource name.", - coerce: proc { |x| Array(x) }, + coerce: proc { |x| x.is_a?(String) ? x.split(/\s*,\s*/) : x }, name_property: true property :source, String, |