diff options
Diffstat (limited to 'lib/chef/resource/chocolatey_feature.rb')
-rw-r--r-- | lib/chef/resource/chocolatey_feature.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/chef/resource/chocolatey_feature.rb b/lib/chef/resource/chocolatey_feature.rb index 0fa053935d..37ca9c0228 100644 --- a/lib/chef/resource/chocolatey_feature.rb +++ b/lib/chef/resource/chocolatey_feature.rb @@ -21,6 +21,21 @@ class Chef description "Use the chocolatey_feature resource to enable and disable Chocolatey features." introduced "15.1" + examples <<~DOC + Enable the checksumFiles Chocolatey feature + ```ruby + chocolatey_feature 'checksumFiles' do + action :enable + end + ``` + + Disable the checksumFiles Chocolatey feature + ```ruby + chocolatey_feature 'checksumFiles' do + action :disable + end + ``` + DOC property :feature_name, String, name_property: true, description: "The name of the Chocolatey feature to enable or disable." |