Defined Type: snapshot::dumps::stagesconf
- Defined in:
- modules/snapshot/manifests/dumps/stagesconf.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'modules/snapshot/manifests/dumps/stagesconf.pp', line 1
define snapshot::dumps::stagesconf(
$stagestype = 'full',
$stages = undef,
) {
$stagesdir = $snapshot::dumps::dirs::stagesdir
file { "${stagesdir}/${title}":
ensure => 'present',
path => "${stagesdir}/${title}",
mode => '0755',
owner => 'root',
group => 'root',
content => template('snapshot/dumps/dumpstages.erb'),
}
}
|