Fix uuidgen not installed in some ubuntu installs
On some basic ubuntu install the uuidgen commands is not there causing gnocchi installation to fail. Add a new pre-install commands to install the package on ubuntu systems. Change-Id: I456b2421905c383c5df39deb7f1a1819ad1c990e
This commit is contained in:
parent
28650af52a
commit
791ca7748f
@ -354,9 +354,10 @@ function init_gnocchi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function preinstall_gnocchi {
|
function preinstall_gnocchi {
|
||||||
# Needed to build psycopg2
|
|
||||||
if is_ubuntu; then
|
if is_ubuntu; then
|
||||||
install_package libpq-dev
|
# libpq-dev is needed to build psycopg2
|
||||||
|
# uuid-runtime is needed to use the uuidgen command
|
||||||
|
install_package libpq-dev uuid-runtime
|
||||||
else
|
else
|
||||||
install_package postgresql-devel
|
install_package postgresql-devel
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user