blob: 08ba88a7f1d3b55590553528c36e4981ab946901 (
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
31
32
33
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'];
}
}
|