diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-10-13 13:03:25 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-10-13 13:03:25 +0100 |
commit | fb1056a928d3adcd0665bfa591134fd64ff81d6b (patch) | |
tree | 34afad0cf489d9fda221111fd62582f3e2818330 /deployment | |
parent | d30bd174ecaf3db0d88a829be9bd061de86b1a77 (diff) | |
download | puppet-fb1056a928d3adcd0665bfa591134fd64ff81d6b.tar puppet-fb1056a928d3adcd0665bfa591134fd64ff81d6b.tar.gz puppet-fb1056a928d3adcd0665bfa591134fd64ff81d6b.tar.bz2 puppet-fb1056a928d3adcd0665bfa591134fd64ff81d6b.tar.xz puppet-fb1056a928d3adcd0665bfa591134fd64ff81d6b.zip |
Revert "Allow members of mga-sysadmin to run sudo on all servers"
This reverts commit e0230ba1c5819f15245b930df0949b7ddabce4a0.
This prevent sysadmins from submitting packages
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/common/manifests/init.pp | 1 | ||||
-rw-r--r-- | deployment/common/manifests/sudo_sysadmin.pp | 7 | ||||
-rw-r--r-- | deployment/common/templates/sudoers.sysadmin | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp index c7b7486d..2a82cd1c 100644 --- a/deployment/common/manifests/init.pp +++ b/deployment/common/manifests/init.pp @@ -8,7 +8,6 @@ class common { include common::export_ssh_keys include common::import_ssh_keys include common::i18n - include common::sudo_sysadmin include ntp include common::urpmi_update include puppet::client diff --git a/deployment/common/manifests/sudo_sysadmin.pp b/deployment/common/manifests/sudo_sysadmin.pp deleted file mode 100644 index bbcd1c97..00000000 --- a/deployment/common/manifests/sudo_sysadmin.pp +++ /dev/null @@ -1,7 +0,0 @@ -class common::sudo_sysadmin { - include sudo - - sudo::sudoers_config { 'sysadmin': - content => template('common/sudoers.sysadmin') - } -} diff --git a/deployment/common/templates/sudoers.sysadmin b/deployment/common/templates/sudoers.sysadmin deleted file mode 100644 index 874b1858..00000000 --- a/deployment/common/templates/sudoers.sysadmin +++ /dev/null @@ -1 +0,0 @@ -%mga-sysadmin ALL=(ALL) ALL |