diff options
author | Micah Anderson <micah@riseup.net> | 2013-05-21 17:35:20 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-07-25 15:07:57 -0400 |
commit | 1c9c5a5fec51919a8e9ec14f5fe9b16c538bb4fa (patch) | |
tree | dbd74b22f7d76dbdfc518dc2c7bcde0190e47586 /puppet/modules/soledad/manifests/init.pp | |
parent | a1d8ec10bd7d7ac4a146222010cf5a6862e45869 (diff) |
initial soledad configuration
Change-Id: I19e91887c3f8e90764b4baef8c5e29e25658e190
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']; + } +} |