Update nodejs, sudo and users cookbooks
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# Cookbook:: sudo
|
||||
# Attribute:: File:: default
|
||||
# Attribute:: default
|
||||
#
|
||||
# Copyright:: 2008-2016, Chef Software, Inc.
|
||||
# Copyright:: 2008-2018, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -17,11 +17,12 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
default['authorization']['sudo']['groups'] = ['sysadmin']
|
||||
default['authorization']['sudo']['groups'] = []
|
||||
default['authorization']['sudo']['users'] = []
|
||||
default['authorization']['sudo']['passwordless'] = false
|
||||
default['authorization']['sudo']['setenv'] = false
|
||||
default['authorization']['sudo']['include_sudoers_d'] = false
|
||||
default['authorization']['sudo']['include_sudoers_d'] = %(solaris2, linux, darwin).include?(node['os']) ? true : false
|
||||
default['authorization']['sudo']['sudoers_d_mode'] = '0755'
|
||||
default['authorization']['sudo']['agent_forwarding'] = false
|
||||
default['authorization']['sudo']['sudoers_defaults'] = ['!lecture,tty_tickets,!fqdn']
|
||||
default['authorization']['sudo']['command_aliases'] = []
|
||||
@@ -29,12 +30,3 @@ default['authorization']['sudo']['env_keep_add'] = []
|
||||
default['authorization']['sudo']['env_keep_subtract'] = []
|
||||
default['authorization']['sudo']['custom_commands']['users'] = []
|
||||
default['authorization']['sudo']['custom_commands']['groups'] = []
|
||||
|
||||
default['authorization']['sudo']['prefix'] = case node['platform_family']
|
||||
when 'smartos'
|
||||
'/opt/local/etc'
|
||||
when 'freebsd'
|
||||
'/usr/local/etc'
|
||||
else
|
||||
'/etc'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user