Merge "Split out sudoers module"
This commit is contained in:
commit
28763cb29b
@ -102,6 +102,7 @@ INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-redis"]="o
|
|||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-ssh"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-ssh"]="origin/master"
|
||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-releasestatus"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-releasestatus"]="origin/master"
|
||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-reviewday"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-reviewday"]="origin/master"
|
||||||
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-sudoers"]="origin/master"
|
||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-drupal"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-drupal"]="origin/master"
|
||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-mediawiki"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-mediawiki"]="origin/master"
|
||||||
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-unattended_upgrades"]="origin/master"
|
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-unattended_upgrades"]="origin/master"
|
||||||
|
@ -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,19 +0,0 @@
|
|||||||
# == Class: sudoers
|
|
||||||
#
|
|
||||||
class sudoers {
|
|
||||||
group { 'sudo':
|
|
||||||
ensure => present,
|
|
||||||
}
|
|
||||||
group { 'admin':
|
|
||||||
ensure => present,
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/sudoers':
|
|
||||||
ensure => present,
|
|
||||||
owner => 'root',
|
|
||||||
group => 'root',
|
|
||||||
mode => '0440',
|
|
||||||
source => 'puppet:///modules/sudoers/sudoers',
|
|
||||||
replace => true,
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user