aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/sudo.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:38:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:38:55 -0300
commitd95e503ea1e95616eafcc3bfce100134be54b1b8 (patch)
tree7f9bf0a8a9565b4b83586b9f78a6ed06fdf88db8 /manifests/subsystem/sudo.pp
parent5a575ba8d6345eefe8e1f9ace674d15900fa8d1a (diff)
downloadpuppet-nodo-d95e503ea1e95616eafcc3bfce100134be54b1b8.tar.gz
puppet-nodo-d95e503ea1e95616eafcc3bfce100134be54b1b8.tar.bz2
Manages sudo group
Diffstat (limited to 'manifests/subsystem/sudo.pp')
-rw-r--r--manifests/subsystem/sudo.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/subsystem/sudo.pp b/manifests/subsystem/sudo.pp
index d8c7099..2e6b469 100644
--- a/manifests/subsystem/sudo.pp
+++ b/manifests/subsystem/sudo.pp
@@ -3,6 +3,11 @@ class nodo::subsystem::sudo {
ensure => "present",
}
+ group { 'sudo':
+ ensure => present,
+ require => Package['sudo'],
+ }
+
file { "/etc/sudoers.d/local":
source => [ "puppet:///modules/site_nodo/etc/sudoers/hostname/${::hostname}",
"puppet:///modules/site_nodo/etc/sudoers/domain/${::domain}",