summaryrefslogtreecommitdiff
path: root/lib/chef/resource/chocolatey_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/chocolatey_config.rb')
-rw-r--r--lib/chef/resource/chocolatey_config.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/chef/resource/chocolatey_config.rb b/lib/chef/resource/chocolatey_config.rb
index 455f071458..c4f100c28d 100644
--- a/lib/chef/resource/chocolatey_config.rb
+++ b/lib/chef/resource/chocolatey_config.rb
@@ -21,10 +21,11 @@ class Chef
provides :chocolatey_config
- description "Use the chocolatey_config resource to add or remove Chocolatey configuration keys."
+ description "Use the **chocolatey_config** resource to add or remove Chocolatey configuration keys."
introduced "14.3"
examples <<~DOC
- Set the Chocolatey cacheLocation config
+ **Set the Chocolatey cacheLocation config**:
+
```ruby
chocolatey_config 'Set cacheLocation config' do
config_key 'cacheLocation'
@@ -32,7 +33,8 @@ class Chef
end
```
- Unset a Chocolatey config
+ **Unset a Chocolatey config**:
+
```ruby
chocolatey_config 'BogusConfig' do
action :unset