1ac3e839b3
This moves all of the Ceph task entrypoints to a common location. Previously, they where in three separate locations which leads to difficulty when attempting to maintain the module. Change-Id: Ia84e16e38da65cacd4096fbcf24d405f886e6437 Related-bug: #1467700
18 lines
434 B
Puppet
18 lines
434 B
Puppet
include ::ceph::params
|
|
|
|
$radosgw_service = $::ceph::params::service_radosgw
|
|
|
|
# ensure the service is running and will start on boot
|
|
service { $radosgw_service:
|
|
ensure => running,
|
|
enable => true,
|
|
}
|
|
|
|
# The Ubuntu upstart script is incompatible with the upstart provider
|
|
# This will force the service to fall back to the debian init script
|
|
if ($::operatingsystem == 'Ubuntu') {
|
|
Service['radosgw'] {
|
|
provider => 'debian'
|
|
}
|
|
}
|