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