summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-09-15 19:18:26 -0700
committerGitHub <noreply@github.com>2020-09-15 19:18:26 -0700
commite4e5400088b8b66c5343549fe67fc7204738ce44 (patch)
tree4c81cdb82321d77cb2780e9ce838e1d7b0a23f5b /lib/chef
parent3e22c848471f1bf3f0a0571c876d48f3e2274d92 (diff)
downloadchef-e4e5400088b8b66c5343549fe67fc7204738ce44.tar.gz
Update lib/chef/resource/ohai_hint.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/resource/ohai_hint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/ohai_hint.rb b/lib/chef/resource/ohai_hint.rb
index 58dd4994d2..3aadf36053 100644
--- a/lib/chef/resource/ohai_hint.rb
+++ b/lib/chef/resource/ohai_hint.rb
@@ -31,7 +31,7 @@ class Chef
```ruby
ohai_hint 'example' do
- content Hash[:a, 'test_content']
+ content a: 'test_content'
end
```