Revision dd877942
Added by Ohad Levy over 12 years ago
manifests/install.pp | ||
---|---|---|
class foreman::install {
|
||
include foreman::install::repos
|
||
|
||
case $operatingsystem {
|
||
redhat,centos,fedora: { include foreman::install::redhat }
|
||
default: { fail("${hostname}: This module does not support operatingsystem $operatingsystem") }
|
||
package{"foreman":
|
||
ensure => latest,
|
||
require => Class["foreman::install::repos"],
|
||
notify => Class["foreman::service"],
|
||
}
|
||
|
||
}
|
manifests/install/redhat.pp | ||
---|---|---|
class foreman::install::redhat {
|
||
|
||
package{"foreman":
|
||
ensure => latest,
|
||
require => Class["foreman::install::repos"],
|
||
notify => Class["foreman::service"],
|
||
}
|
||
}
|
Also available in: Unified diff
Fixing yet another small dependency problem