Puppet Class: profile::releases::common

Defined in:
modules/profile/manifests/releases/common.pp

Overview



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

class profile::releases::common{

    # T205037
    $motd_ensure = mediawiki::state('primary_dc') ? {
        $::site => 'absent',
        default => 'present',
    }

    motd::script { 'rsync_source_warning':
        ensure   => $motd_ensure,
        priority => 1,
        content  => template('role/releases/rsync_source_warning.motd.erb'),
    }

    base::service_auto_restart { 'rsync': }
}