Puppet Class: ceph::radosgw
- Defined in:
- modules/ceph/manifests/radosgw.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'modules/ceph/manifests/radosgw.pp', line 2
class ceph::radosgw {
if defined(Ceph::Auth::Keyring['radosgw']) {
Ceph::Auth::Keyring['radosgw'] -> Class['ceph::radosgw']
}
ensure_packages('radosgw')
service { 'ceph-radosgw@radosgw':
ensure => running,
enable => true,
subscribe => File['/etc/ceph/ceph.conf'],
}
systemd::syslog { 'radosgw':
force_stop => true,
base_dir => '/var/log/ceph',
owner => 'ceph',
group => 'ceph',
readable_by => 'group',
log_filename => 'radosgw.log',
require => Package['radosgw'],
}
}
|