Puppet Class: snapshot::systemdjobs::commonsdumps

Defined in:
modules/snapshot/manifests/systemdjobs/commonsdumps.pp

Overview

Parameters:

  • user (Any) (defaults to: undef)
  • group (Any) (defaults to: undef)
  • filesonly (Any) (defaults to: false)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/snapshot/manifests/systemdjobs/commonsdumps.pp', line 1

class snapshot::systemdjobs::commonsdumps(
    $user      = undef,
    $group     = undef,
    $filesonly = false,
) {
    file { '/var/log/commonsdump':
        ensure => 'directory',
        mode   => '0755',
        owner  => $user,
        group  => $group,
    }

    class { '::snapshot::systemdjobs::commonsdumps::json':
        user      => $user,
        filesonly => $filesonly,
    }
    class { '::snapshot::systemdjobs::commonsdumps::rdf':
        user      => $user,
        filesonly => $filesonly,
    }
}