summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ohai_hint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ohai_hint.rb')
-rw-r--r--lib/chef/resource/ohai_hint.rb48
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/chef/resource/ohai_hint.rb b/lib/chef/resource/ohai_hint.rb
index 63ddc595c5..897cd1b2c5 100644
--- a/lib/chef/resource/ohai_hint.rb
+++ b/lib/chef/resource/ohai_hint.rb
@@ -27,37 +27,37 @@ class Chef
description "Use the **ohai_hint** resource to aid in configuration detection by passing hint data to Ohai."
introduced "14.0"
examples <<~DOC
- **Create a hint file**
+ **Create a hint file**
- ```ruby
- ohai_hint 'example' do
- content a: 'test_content'
- end
- ```
+ ```ruby
+ ohai_hint 'example' do
+ content a: 'test_content'
+ end
+ ```
- **Create a hint file with a name that does not match the resource name**
+ **Create a hint file with a name that does not match the resource name**
- ```ruby
- ohai_hint 'example' do
- hint_name 'custom'
- end
- ```
+ ```ruby
+ ohai_hint 'example' do
+ hint_name 'custom'
+ end
+ ```
- **Create a hint file that is not loaded at compile time**
+ **Create a hint file that is not loaded at compile time**
- ```ruby
- ohai_hint 'example' do
- compile_time false
- end
- ```
+ ```ruby
+ ohai_hint 'example' do
+ compile_time false
+ end
+ ```
- **Delete a hint file**
+ **Delete a hint file**
- ```ruby
- ohai_hint 'example' do
- action :delete
- end
- ```
+ ```ruby
+ ohai_hint 'example' do
+ action :delete
+ end
+ ```
DOC
property :hint_name, String,