Project

General

Profile

Download (724 Bytes) Statistics
| Branch: | Tag: | Revision:
class katello::service {
include pulp::service

service {"katello":
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
require => $katello::params::deployment ? {
'katello' => [Class["katello::config"],Class["candlepin::service"], Class["pulp::service"], Class["apache::config"]],
'headpin' => [Class["katello::config"],Class["candlepin::service"], Class["thumbslug::service"], Class["apache::config"]],
default => []
},
notify => Exec["reload-apache"];
}

service {"katello-jobs":
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
require => Service["katello"]
}
}
(5-5/5)