1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'modules/snapshot/manifests/addschangesconf.pp', line 1
define snapshot::addschangesconf(
$alldblist = undef,
) {
$repodir = $snapshot::dumps::dirs::repodir
$confsdir = $snapshot::dumps::dirs::confsdir
$apachedir = $snapshot::dumps::dirs::apachedir
$dblistsdir = $snapshot::dumps::dirs::dblistsdir
$templsdir = $snapshot::dumps::dirs::templsdir
$systemdjobsdir = $snapshot::dumps::dirs::systemdjobsdir
file { "${confsdir}/${title}":
ensure => 'present',
path => "${confsdir}/${title}",
mode => '0755',
owner => 'root',
group => 'root',
content => template('snapshot/addschanges.conf.erb'),
}
}
|