diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-13 11:17:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 11:17:30 -0700 |
commit | 88006e67a95923f385f1879a7520ae112aa7db2a (patch) | |
tree | a5f629313a12de2bc16d7c2dc5d441856710e0c5 | |
parent | fb7af56751a240bb66de650319375d1eb91460fa (diff) | |
parent | 5116e03f61268634d3fa2d9ce1889b7eb43e941b (diff) | |
download | chef-88006e67a95923f385f1879a7520ae112aa7db2a.tar.gz |
Merge pull request #7370 from chef/windows_feature_source
windows_feature_dism: Fix errors when specifying the source
-rw-r--r-- | lib/chef/resource/windows_feature_dism.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_feature_dism.rb b/lib/chef/resource/windows_feature_dism.rb index fc6f25fb3f..fd076ffad3 100644 --- a/lib/chef/resource/windows_feature_dism.rb +++ b/lib/chef/resource/windows_feature_dism.rb @@ -117,7 +117,7 @@ class Chef def features_to_install @install ||= begin # disabled features are always available to install - available_for_install = node["dism_features_cache"]["disabled"] + available_for_install = node["dism_features_cache"]["disabled"].dup # if the user passes a source then removed features are also available for installation available_for_install.concat(node["dism_features_cache"]["removed"]) if new_resource.source |