Add missing mongodb client package on Fedora

On Fedora, when ceilometer is enabled and mongodb is used as backend,
devstack installation would fail due to missing mongodb client package.
This patch ensures the package gets installed.

Change-Id: I981bb55f86541e5ff19c52160269a7789b94423f
This commit is contained in:
Ana Krivokapic 2014-01-06 21:46:35 +01:00
parent 86b83106c2
commit 39d500335a
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
selinux-policy-targeted
mongodb-server
pymongo
mongodb # NOPRIME

View File

@ -151,6 +151,8 @@ function configure_ceilometer() {
function configure_mongodb() {
if is_fedora; then
# install mongodb client
install_package mongodb
# ensure smallfiles selected to minimize freespace requirements
sudo sed -i '/--smallfiles/!s/OPTIONS=\"/OPTIONS=\"--smallfiles /' /etc/sysconfig/mongod