Puppet Class: profile::dumps::distribution::server

Defined in:
modules/profile/manifests/dumps/distribution/server.pp

Overview



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'modules/profile/manifests/dumps/distribution/server.pp', line 5

class profile::dumps::distribution::server {

    class { '::dumpsuser': }

    file { '/srv/dumps':
        ensure => 'directory',
    }

    file { '/etc/default/smartmontools':
        ensure => present,
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/profile/dumps/distribution/smartmontools',
    }

    mount { '/srv/dumps':
        ensure  => mounted,
        fstype  => ext4,
        options => 'defaults,noatime',
        atboot  => true,
        device  => '/dev/data/dumps',
        require => File['/srv/dumps'],
    }
}