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
35
|
# File 'modules/dumps/manifests/web/cleanup.pp', line 1
class dumps::web::cleanup(
$miscdumpsdir = undef,
$isreplica = undef,
$xmldumpsdir = undef,
$dumpstempdir = undef,
$user = undef,
) {
file { '/etc/dumps':
ensure => 'directory',
path => '/etc/dumps',
mode => '0755',
owner => 'root',
group => 'root',
}
file { '/etc/dumps/confs':
ensure => 'directory',
path => '/etc/dumps/confs',
mode => '0755',
owner => 'root',
group => 'root',
}
class {'dumps::web::cleanups::miscdumps':
miscdumpsdir => $miscdumpsdir,
isreplica => $isreplica,
}
class {'::dumps::web::cleanups::xmldumps':
xmldumpsdir => $xmldumpsdir,
dumpstempdir => $dumpstempdir,
user => $user,
isreplica => $isreplica,
}
}
|