Puppet Class: dumps::server_dirs

Defined in:
modules/dumps/manifests/server_dirs.pp

Overview

Parameters:

  • datadir (Any) (defaults to: undef)
  • xmldumpsdir (Any) (defaults to: undef)
  • miscdatasetsdir (Any) (defaults to: undef)
  • user (Any) (defaults to: undef)
  • group (Any) (defaults to: undef)


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

class dumps::server_dirs(
    $datadir         = undef,
    $xmldumpsdir     = undef,
    $miscdatasetsdir = undef,
    $user            = undef,
    $group           = undef,
) {
    # top level directories for various dumps/datasets
    file { [$datadir, $xmldumpsdir, $miscdatasetsdir]:
        ensure => 'directory',
        mode   => '0755',
        owner  => $user,
        group  => $group,
    }
}