summaryrefslogtreecommitdiff
path: root/puppet/modules/soledad/manifests/init.pp
blob: 7d44c8b441e6aa77f39c797ad5f5333622b1220e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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'];
  }

}