From 61fa67cfe6343576f432049d1384227048f212c7 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Thu, 12 Oct 2017 23:23:42 -0400 Subject: [PATCH] Manage correct rados package depending on operating system Change-Id: I88145f1b20165f4a7581767c6406c5af98e8f32c --- manifests/gnocchi.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/gnocchi.pp b/manifests/gnocchi.pp index d759126da..563c3197a 100644 --- a/manifests/gnocchi.pp +++ b/manifests/gnocchi.pp @@ -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']