1
0
mirror of https://github.com/Adam-Ant/puppet-motd synced 2024-11-05 07:46:22 +00:00
puppet-motd/manifests/install.pp

20 lines
392 B
ObjectPascal
Raw Normal View History

2018-02-20 20:58:41 +00:00
# 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,
}
}
}