summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-15 14:44:11 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-15 14:44:11 -0700
commitafded16a4edb42d6c4aff90e2326d55029e98e4c (patch)
tree04e95aae168ab652b91ec12d09d9fd7b2f31103f
parent045ce856abd1a58024877cebce35e0b752e6435f (diff)
downloadchef-afded16a4edb42d6c4aff90e2326d55029e98e4c.tar.gz
Avoid spellcheck failure
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/ohai.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb
index f930a9a35e..560a15353a 100644
--- a/lib/chef/resource/ohai.rb
+++ b/lib/chef/resource/ohai.rb
@@ -57,7 +57,7 @@ class Chef
plugin 'etc'
end
- user 'daemonuser' do
+ user 'daemon_user' do
home '/dev/null'
shell '/sbin/nologin'
system true
@@ -67,8 +67,8 @@ class Chef
ruby_block 'just an example' do
block do
# These variables will now have the new values
- puts node['etc']['passwd']['daemonuser']['uid']
- puts node['etc']['passwd']['daemonuser']['gid']
+ puts node['etc']['passwd']['daemon_user']['uid']
+ puts node['etc']['passwd']['daemon_user']['gid']
end
end
```