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:
parent
86b83106c2
commit
39d500335a
@ -1,3 +1,4 @@
|
||||
selinux-policy-targeted
|
||||
mongodb-server
|
||||
pymongo
|
||||
mongodb # NOPRIME
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user