diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-02-15 13:01:38 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-02-15 13:01:38 -0800 |
commit | b3057cc7f55fadd57e54dba45242f692806bc2ba (patch) | |
tree | 2d4a8511bb6ecb8813e89a9d85c2986673d005a2 /lib/chef/resource/windows_feature_powershell.rb | |
parent | 7eb9179ed6eaf024f62546001544ea2caa3d184c (diff) | |
download | chef-docs.tar.gz |
Improve automatic docs generationdocs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/windows_feature_powershell.rb')
-rw-r--r-- | lib/chef/resource/windows_feature_powershell.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/windows_feature_powershell.rb b/lib/chef/resource/windows_feature_powershell.rb index 735ed080ff..229ceff6ea 100644 --- a/lib/chef/resource/windows_feature_powershell.rb +++ b/lib/chef/resource/windows_feature_powershell.rb @@ -87,7 +87,7 @@ class Chef x.map(&:downcase) end - action :install do + action :install, description: "Install a Windows role / feature using PowerShell" do reload_cached_powershell_data unless node["powershell_features_cache"] fail_if_unavailable # fail if the features don't exist fail_if_removed # fail if the features are in removed state @@ -108,7 +108,7 @@ class Chef end end - action :remove do + action :remove, description: "Remove a Windows role / feature using PowerShell" do reload_cached_powershell_data unless node["powershell_features_cache"] Chef::Log.debug("Windows features needing removal: #{features_to_remove.empty? ? "none" : features_to_remove.join(",")}") @@ -123,7 +123,7 @@ class Chef end end - action :delete do + action :delete, description: "Delete a Windows role / feature from the image using PowerShell" do reload_cached_powershell_data unless node["powershell_features_cache"] fail_if_unavailable # fail if the features don't exist |