How do I use saz-sudo puppet module to deploy my own sudoers file with hiera?
- by mr.zog
I have saz-sudo installed and have created a site_sudo module based (I hope) on it.
Here's what I have in my site_sudo/manifest/init.pp file:
class { 'site_sudo': }
sudo::conf { 'web':
source => 'puppet:///files/etc/sudoers',
}
sudo::conf { 'syseng':
priority => 10,
content => "%sysadm ALL=(ALL) NOPASSWD:…