From eae1b4c3e30443fadd784c50705d277f73cf5ece Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 12 Jul 2011 10:03:36 +0000 Subject: add maintdb group --- modules/buildsystem/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/buildsystem/manifests') 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": -- cgit v1.2.1