diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 17:42:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 17:42:30 -0200 |
commit | 886540ad28c5a6b875b97b27721dba06135047ab (patch) | |
tree | bebc8a8f99daa81ed2b745b0d5fad3361e1b4833 /manifests | |
parent | fdcf4de4168dfdcc7293f32d17b612481a3ed1aa (diff) | |
download | puppet-nodo-886540ad28c5a6b875b97b27721dba06135047ab.tar.gz puppet-nodo-886540ad28c5a6b875b97b27721dba06135047ab.tar.bz2 |
Explicit group name at nodo::subsystem::media::groups
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/resources.pp | 4 | ||||
-rw-r--r-- | manifests/subsystem/media/groups.pp | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 3378094..9a765db 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -3,4 +3,8 @@ class nodo::resources { if defined("websites::resources") { class { "websites::resources": } } + + # Packages + $packages = hiera('packages', {}) + create_resources('package', $packages) } diff --git a/manifests/subsystem/media/groups.pp b/manifests/subsystem/media/groups.pp index c08d589..c7b2c31 100644 --- a/manifests/subsystem/media/groups.pp +++ b/manifests/subsystem/media/groups.pp @@ -1,12 +1,15 @@ class nodo::subsystem::media::groups { group { 'incoming': - ensure => 'present', + ensure => 'present', + allowdupe => false, } user { "incoming": - password => '*', - ensure => present, - shell => '/bin/false', - require => Group['incoming'], + password => '*', + ensure => present, + shell => '/bin/false', + gid => 'incoming', + allowdupe => false, + require => Group['incoming'], } } |