1
0
mirror of https://github.com/Adam-Ant/puppet-motd synced 2024-07-06 05:36:13 +00:00
puppet-motd/manifests/install.pp
2018-02-20 20:58:41 +00:00

20 lines
392 B
Puppet

# This manifest is used to install figlet, required by the motd package.
# It should only be required on the puppet master.
class motd::install {
if $facts['os']['family'] == 'Redhat' {
include repoforge
package { 'figlet':
ensure => present,
require => Yumrepo['rpmforge'],
}
}
else {
package { 'figlet':
ensure => present,
}
}
}