Defined Type: snapshot::cron::configfile

Defined in:
modules/snapshot/manifests/cron/configfile.pp

Overview

Parameters:

  • configvals (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/snapshot/manifests/cron/configfile.pp', line 1

define snapshot::cron::configfile(
    $configvals = undef,
    ) {
    $confsdir = $snapshot::dumps::dirs::confsdir

    file { "${confsdir}/${title}":
        ensure  => 'present',
        path    => "${confsdir}/${title}",
        mode    => '0755',
        owner   => 'root',
        group   => 'root',
        content => template('snapshot/wikidump.conf.other.erb'),
    }
}