From 886540ad28c5a6b875b97b27721dba06135047ab Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Oct 2015 17:42:30 -0200 Subject: Explicit group name at nodo::subsystem::media::groups --- manifests/resources.pp | 4 ++++ manifests/subsystem/media/groups.pp | 13 ++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'manifests') 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'], } } -- cgit v1.2.3