diff options
author | varac <varacanero@zeromail.org> | 2015-10-05 13:44:32 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-10-05 13:44:32 +0200 |
commit | afddd1bfb3cd8d68bdc699c983fdcd54561c44bd (patch) | |
tree | d4dd9807467d90316a52c4596c2b33421e439b16 /puppet/modules/soledad/manifests/init.pp | |
parent | 03528deb5aab7311a90b07aec77e0805a233d154 (diff) | |
parent | 4fc7419598a3baf564f063b7330b9cf9115420b5 (diff) |
Merge branch 'soledad_userdb_creation' into develop
Diffstat (limited to 'puppet/modules/soledad/manifests/init.pp')
-rw-r--r-- | puppet/modules/soledad/manifests/init.pp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/puppet/modules/soledad/manifests/init.pp b/puppet/modules/soledad/manifests/init.pp index 7cf0b729..6a2c328e 100644 --- a/puppet/modules/soledad/manifests/init.pp +++ b/puppet/modules/soledad/manifests/init.pp @@ -1,18 +1,29 @@ +# set up users, group and directories for soledad-server +# although the soledad users are already created by the +# soledad-server package class soledad { group { 'soledad': - ensure => present, - allowdupe => false; + ensure => present, + system => true, } user { 'soledad': ensure => present, - allowdupe => false, + system => true, gid => 'soledad', home => '/srv/leap/soledad', require => Group['soledad']; } + user { 'soledad-admin': + ensure => present, + system => true, + gid => 'soledad', + home => '/srv/leap/soledad', + require => Group['soledad']; + } + file { '/srv/leap/soledad': ensure => directory, |