Puppet Class: motd

Defined in:
puppet/modules/motd/manifests/init.pp

Overview

Class: motd

Module for customizing MOTD (Message of the Day) banners.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'puppet/modules/motd/manifests/init.pp', line 5

class motd {
    file { '/etc/update-motd.d':
        ensure  => directory,
        recurse => true,
        ignore  => '9*',
        purge   => true,
    }

    file { '/etc/motd':
        ensure  => 'present',
        owner   => 'root',
        group   => 'root',
        mode    => '0555',
        content => '',
    }
}