Manage correct rados package depending on operating system

Change-Id: I88145f1b20165f4a7581767c6406c5af98e8f32c
This commit is contained in:
Mohammed Naser 2017-10-12 23:23:42 -04:00
parent 7994398c62
commit 61fa67cfe6
No known key found for this signature in database
GPG Key ID: 481CBC90384AEC42
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ class openstack_integration::gnocchi {
class { '::gnocchi::storage::ceph':
ceph_username => 'openstack',
ceph_keyring => '/etc/ceph/ceph.client.openstack.keyring',
manage_cradox => ($::osfamily == 'RedHat'),
manage_rados => ($::osfamily == 'Debian'),
}
# make sure ceph pool exists before running gnocchi (dbsync & services)
Exec['create-gnocchi'] -> Exec['gnocchi-db-sync']