diff options
author | Micah Anderson <micah@leap.se> | 2013-07-26 14:11:33 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-07-26 14:11:33 -0400 |
commit | 8d28379aca4d8a79caa00afbf79ad4e5a204493f (patch) | |
tree | 5fa0bedba730c04762953e0d49deaba8554d08f2 /puppet/modules/soledad/manifests/init.pp | |
parent | c8922ffdf2ec8f459c4ed225329ea5fb634f4799 (diff) | |
parent | 1c9c5a5fec51919a8e9ec14f5fe9b16c538bb4fa (diff) |
Merge branch 'feature/soledad' into feature/leap_mx
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']; + } +} |