Puppet Class: dbbackups::check_common

Defined in:
modules/dbbackups/manifests/check_common.pp

Overview

SPDX-License-Identifier: Apache-2.0 Common setup for the database backups check: package installation and config file

Parameters:

  • valid_sections_file (String)


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/dbbackups/manifests/check_common.pp', line 4

class dbbackups::check_common (
    String $valid_sections_file,
){
    ensure_packages('wmfbackups-check')

    file { '/etc/wmfbackups/valid_sections.txt':
        ensure  => present,
        source  => $valid_sections_file,
        mode    => '0644',
        owner   => 'root',
        group   => 'root',
        require => [ Package['wmfbackups-check'] ],
    }

}