mirror of
https://github.com/Adam-Ant/puppet-motd
synced 2024-11-05 15:56:22 +00:00
20 lines
392 B
Puppet
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,
|
|
}
|
|
}
|
|
}
|