Rework all of the slaves for virtualenv.
Includes: Fixing jenkins sudoers from jeblair Removing tarmac depend from jeblair Remove wheel group from jeblair Change-Id: I86ec23f7aeafc31cc70b0f3a648739bb7316fc61
This commit is contained in:
parent
6acac878c3
commit
91eac9ff51
|
@ -12,13 +12,14 @@ Defaults env_reset
|
||||||
# User alias specification
|
# User alias specification
|
||||||
|
|
||||||
# Cmnd alias specification
|
# Cmnd alias specification
|
||||||
#drizzle ALL = NOPASSWD: /usr/bin/pbuilder
|
|
||||||
|
|
||||||
|
|
||||||
# User privilege specification
|
# User privilege specification
|
||||||
root ALL=(ALL) ALL
|
root ALL=(ALL) ALL
|
||||||
|
|
||||||
# Uncomment to allow members of group sudo to not need a password
|
# Allow members of group sudo to execute any command after they have
|
||||||
|
# provided their password
|
||||||
# (Note that later entries override this, so you might need to move
|
# (Note that later entries override this, so you might need to move
|
||||||
# it further down)
|
# it further down)
|
||||||
%wheel ALL=NOPASSWD: ALL
|
%sudo ALL=(ALL) NOPASSWD: ALL
|
||||||
|
#
|
||||||
|
#includedir /etc/sudoers.d
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
# /etc/sudoers
|
|
||||||
#
|
|
||||||
# This file MUST be edited with the 'visudo' command as root.
|
|
||||||
#
|
|
||||||
# See the man page for details on how to write a sudoers file.
|
|
||||||
#
|
|
||||||
|
|
||||||
Defaults env_reset
|
|
||||||
|
|
||||||
# Host alias specification
|
|
||||||
|
|
||||||
# User alias specification
|
|
||||||
|
|
||||||
# Cmnd alias specification
|
|
||||||
|
|
||||||
# User privilege specification
|
|
||||||
root ALL=(ALL) ALL
|
|
||||||
|
|
||||||
# Allow members of group sudo to execute any command after they have
|
|
||||||
# provided their password
|
|
||||||
# (Note that later entries override this, so you might need to move
|
|
||||||
# it further down)
|
|
||||||
%admin ALL=(ALL) NOPASSWD: ALL
|
|
||||||
#
|
|
||||||
#includedir /etc/sudoers.d
|
|
|
@ -1,25 +0,0 @@
|
||||||
# /etc/sudoers
|
|
||||||
#
|
|
||||||
# This file MUST be edited with the 'visudo' command as root.
|
|
||||||
#
|
|
||||||
# See the man page for details on how to write a sudoers file.
|
|
||||||
#
|
|
||||||
|
|
||||||
Defaults env_reset
|
|
||||||
|
|
||||||
# Host alias specification
|
|
||||||
|
|
||||||
# User alias specification
|
|
||||||
|
|
||||||
# Cmnd alias specification
|
|
||||||
|
|
||||||
# User privilege specification
|
|
||||||
root ALL=(ALL) ALL
|
|
||||||
|
|
||||||
# Allow members of group sudo to execute any command after they have
|
|
||||||
# provided their password
|
|
||||||
# (Note that later entries override this, so you might need to move
|
|
||||||
# it further down)
|
|
||||||
%sudo ALL=(ALL) NOPASSWD: ALL
|
|
||||||
#
|
|
||||||
#includedir /etc/sudoers.d
|
|
|
@ -1,7 +1,4 @@
|
||||||
class sudoers {
|
class sudoers {
|
||||||
group { 'wheel':
|
|
||||||
ensure => 'present'
|
|
||||||
}
|
|
||||||
group { 'sudo':
|
group { 'sudo':
|
||||||
ensure => 'present'
|
ensure => 'present'
|
||||||
}
|
}
|
||||||
|
@ -14,15 +11,7 @@ class sudoers {
|
||||||
group => 'root',
|
group => 'root',
|
||||||
mode => 440,
|
mode => 440,
|
||||||
ensure => 'present',
|
ensure => 'present',
|
||||||
source => [
|
source => "puppet:///modules/sudoers/sudoers",
|
||||||
"puppet:///modules/sudoers/sudoers.$operatingsystem",
|
|
||||||
"puppet:///modules/sudoers/sudoers"
|
|
||||||
],
|
|
||||||
replace => 'true',
|
replace => 'true',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/alternatives/editor':
|
|
||||||
ensure => link,
|
|
||||||
target => "/usr/bin/vim.basic",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue