From fb1056a928d3adcd0665bfa591134fd64ff81d6b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 13 Oct 2016 13:03:25 +0100 Subject: Revert "Allow members of mga-sysadmin to run sudo on all servers" This reverts commit e0230ba1c5819f15245b930df0949b7ddabce4a0. This prevent sysadmins from submitting packages --- deployment/common/manifests/init.pp | 1 - deployment/common/manifests/sudo_sysadmin.pp | 7 ------- deployment/common/templates/sudoers.sysadmin | 1 - 3 files changed, 9 deletions(-) delete mode 100644 deployment/common/manifests/sudo_sysadmin.pp delete mode 100644 deployment/common/templates/sudoers.sysadmin (limited to 'deployment') 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 -- cgit v1.2.1