Do not require the deprecated users::sysadmins recipe
Write the 4 lines of code instead
This commit is contained in:
parent
4a63e806bc
commit
14542f8419
@ -22,7 +22,12 @@ package 'ruby2.1-dev'
|
||||
|
||||
package 'mosh'
|
||||
|
||||
include_recipe 'users::sysadmins'
|
||||
# Searches data bag "users" for groups attribute "sysadmin".
|
||||
# Places returned users in Unix group "sysadmin" with GID 2300.
|
||||
users_manage 'sysadmin' do
|
||||
group_id 2300
|
||||
action [:remove, :create]
|
||||
end
|
||||
|
||||
node.override['authorization']['sudo']['passwordless'] = true
|
||||
include_recipe 'sudo'
|
||||
|
Loading…
x
Reference in New Issue
Block a user