diff options
author | Micah Anderson <micah@leap.se> | 2013-07-26 14:21:22 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-07-26 14:21:22 -0400 |
commit | 701c66c8de081f8148ab63c09f52fe97b122f54a (patch) | |
tree | 6cd2aef6d2041d200e071d184e46996945c07f35 /puppet/modules/soledad/manifests/init.pp | |
parent | 4766d719b1181b636dc57374b478d2c21e369dc1 (diff) | |
parent | 8d28379aca4d8a79caa00afbf79ad4e5a204493f (diff) |
Merge branch 'feature/mx' into develop
Diffstat (limited to 'puppet/modules/soledad/manifests/init.pp')
-rw-r--r-- | puppet/modules/soledad/manifests/init.pp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/puppet/modules/soledad/manifests/init.pp b/puppet/modules/soledad/manifests/init.pp new file mode 100644 index 00000000..08ba88a7 --- /dev/null +++ b/puppet/modules/soledad/manifests/init.pp @@ -0,0 +1,34 @@ +class soledad { + + group { 'soledad': + ensure => present, + allowdupe => false; + } + + user { 'soledad': + ensure => present, + allowdupe => false, + gid => 'soledad', + home => '/srv/leap/soledad', + require => Group['soledad']; + } + + file { + '/srv/leap/soledad': + ensure => directory, + owner => 'soledad', + group => 'soledad', + require => User['soledad']; + + '/var/lib/soledad': + ensure => directory, + owner => 'soledad', + group => 'soledad', + require => User['soledad']; + } + + package { 'soledad-common': + ensure => installed, + require => User['soledad']; + } +} |