aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/resources.pp4
-rw-r--r--manifests/subsystem/media/groups.pp13
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'],
}
}