diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-15 14:44:11 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-15 14:44:11 -0700 |
commit | afded16a4edb42d6c4aff90e2326d55029e98e4c (patch) | |
tree | 04e95aae168ab652b91ec12d09d9fd7b2f31103f /lib/chef/resource | |
parent | 045ce856abd1a58024877cebce35e0b752e6435f (diff) | |
download | chef-afded16a4edb42d6c4aff90e2326d55029e98e4c.tar.gz |
Avoid spellcheck failure
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/ohai.rb | 6 |
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 ``` |