diff options
Diffstat (limited to 'lib/chef/resource/windows_feature_dism.rb')
-rw-r--r-- | lib/chef/resource/windows_feature_dism.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/resource/windows_feature_dism.rb b/lib/chef/resource/windows_feature_dism.rb index c9e2f355dc..7a0aef9197 100644 --- a/lib/chef/resource/windows_feature_dism.rb +++ b/lib/chef/resource/windows_feature_dism.rb @@ -91,9 +91,7 @@ class Chef end end - action :remove do - description "Remove a Windows role/feature using DISM" - + action :remove, description: "Remove a Windows role / feature using DISM" do reload_cached_dism_data unless node["dism_features_cache"] logger.trace("Windows features needing removal: #{features_to_remove.empty? ? "none" : features_to_remove.join(",")}") @@ -108,9 +106,7 @@ class Chef end end - action :delete do - description "Remove a Windows role/feature from the image using DISM" - + action :delete, description: "Remove a Windows role / feature from the image using DISM" do reload_cached_dism_data unless node["dism_features_cache"] fail_if_unavailable # fail if the features don't exist |