Puppet Class: motd::defaults
- Defined in:
- modules/motd/manifests/defaults.pp
Overview
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'modules/motd/manifests/defaults.pp', line 10
class motd::defaults {
# print uname & distribution release
motd::script { 'header':
ensure => present,
priority => 0,
content => "#!/bin/sh\nuname -snrvm\nlsb_release -s -d\n\n",
}
# print /etc/motd.tail, useful & harmless enough
motd::script { 'footer':
ensure => present,
priority => 99,
content => "#!/bin/sh\n[ -f /etc/motd.tail ] && cat /etc/motd.tail || true\n",
}
}
|