summaryrefslogtreecommitdiff
path: root/puppet/modules/soledad/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-30 10:31:17 +0100
committervarac <varacanero@zeromail.org>2015-10-30 10:31:17 +0100
commit72bec64f52895153612b5e736274266ebc0ab554 (patch)
tree285f627ae16cceda938e0b5ed41139c5a750be35 /puppet/modules/soledad/manifests/init.pp
parent171a5a9a3794224a92244078574aac4b22845266 (diff)
[feat] Add soledad::client class for soledad-sync
- Restructure soledad class - Include soledad::client class on webapp nodes - Tested: [unstable.bitmask.net] - Related: #7523
Diffstat (limited to 'puppet/modules/soledad/manifests/init.pp')
-rw-r--r--puppet/modules/soledad/manifests/init.pp40
1 files changed, 0 insertions, 40 deletions
diff --git a/puppet/modules/soledad/manifests/init.pp b/puppet/modules/soledad/manifests/init.pp
deleted file mode 100644
index 6a2c328e..00000000
--- a/puppet/modules/soledad/manifests/init.pp
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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,
- system => true,
- }
-
- user { 'soledad':
- ensure => present,
- 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,
- owner => 'soledad',
- group => 'soledad',
- require => User['soledad'];
-
- '/var/lib/soledad':
- ensure => directory,
- owner => 'soledad',
- group => 'soledad',
- require => User['soledad'];
- }
-}