summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_feature.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/windows_feature.rb')
-rw-r--r--lib/chef/resource/windows_feature.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/chef/resource/windows_feature.rb b/lib/chef/resource/windows_feature.rb
index 760a7fe3f1..0e7a61e8f1 100644
--- a/lib/chef/resource/windows_feature.rb
+++ b/lib/chef/resource/windows_feature.rb
@@ -108,21 +108,15 @@ class Chef
default: 600,
desired_state: false
- action :install do
- description "Install a Windows role/feature"
-
+ action :install, description: "Install a Windows role / feature" do
run_default_subresource :install
end
- action :remove do
- description "Remove a Windows role/feature"
-
+ action :remove, description: "Remove a Windows role / feature" do
run_default_subresource :remove
end
- action :delete do
- description "Remove a Windows role/feature from the image"
-
+ action :delete, description: "Remove a Windows role/feature from the image" do
run_default_subresource :delete
end