aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-07-12 10:03:36 +0000
committerNicolas Vigier <boklm@mageia.org>2011-07-12 10:03:36 +0000
commiteae1b4c3e30443fadd784c50705d277f73cf5ece (patch)
tree3ae46fbb6d817770e2176a3199b98581844b2f15
parentcca88458e9cffbaaff41f72d5b90426b405d0a7c (diff)
downloadpuppet-eae1b4c3e30443fadd784c50705d277f73cf5ece.tar
puppet-eae1b4c3e30443fadd784c50705d277f73cf5ece.tar.gz
puppet-eae1b4c3e30443fadd784c50705d277f73cf5ece.tar.bz2
puppet-eae1b4c3e30443fadd784c50705d277f73cf5ece.tar.xz
puppet-eae1b4c3e30443fadd784c50705d277f73cf5ece.zip
add maintdb group
-rw-r--r--modules/buildsystem/manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index d5cb15bf..2609a08a 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -154,6 +154,9 @@ class buildsystem {
$maintdb_binpath = "/usr/local/sbin/maintdb"
$maintdb_wrappath = "/usr/local/bin/wrapper.maintdb"
+ group {"$maintdb_login":
+ ensure => present,
+ }
user {"$maintdb_login":
ensure => present,
comment => "Maintainers database",
@@ -161,6 +164,7 @@ class buildsystem {
gid => $maintdb_login,
shell => "/bin/bash",
home => "$maintdb_homedir",
+ Require => Group["$maintdb_login"],
}
file { "$maintdb_dbdir":