Puppet Class: motd::defaults
- Defined in:
- manifests/defaults.pp
Summary
A short summary of the purpose of this classOverview
A description of what this class does
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/defaults.pp', line 7
class motd::defaults {
# print uname & distribution release
motd::script { 'header':
priority => 0,
content => "#!/bin/sh\nuname -snrvm\nlsb_release -s -d\n\n",
}
# print /etc/motd.tail, useful & harmless enough
motd::script { 'footer':
priority => 99,
content => "#!/bin/sh\n[ -f /etc/motd.tail ] && cat /etc/motd.tail || true\n",
}
}
|