diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2016-02-19 00:34:41 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-10-13 09:16:16 +0100 |
commit | e0230ba1c5819f15245b930df0949b7ddabce4a0 (patch) | |
tree | 93857d9f1112a73494408662088f54202dbaf83f /deployment/common/manifests/sudo_sysadmin.pp | |
parent | 17487da1eb9300f7f8f7d4420de5dbb24d71e891 (diff) | |
download | puppet-e0230ba1c5819f15245b930df0949b7ddabce4a0.tar puppet-e0230ba1c5819f15245b930df0949b7ddabce4a0.tar.gz puppet-e0230ba1c5819f15245b930df0949b7ddabce4a0.tar.bz2 puppet-e0230ba1c5819f15245b930df0949b7ddabce4a0.tar.xz puppet-e0230ba1c5819f15245b930df0949b7ddabce4a0.zip |
Allow members of mga-sysadmin to run sudo on all servers
Diffstat (limited to 'deployment/common/manifests/sudo_sysadmin.pp')
-rw-r--r-- | deployment/common/manifests/sudo_sysadmin.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deployment/common/manifests/sudo_sysadmin.pp b/deployment/common/manifests/sudo_sysadmin.pp new file mode 100644 index 00000000..bbcd1c97 --- /dev/null +++ b/deployment/common/manifests/sudo_sysadmin.pp @@ -0,0 +1,7 @@ +class common::sudo_sysadmin { + include sudo + + sudo::sudoers_config { 'sysadmin': + content => template('common/sudoers.sysadmin') + } +} |