devstack: install PostgreSQL devel tool for psycopg2
Change-Id: I830018cb3008f1036880c29c9a851b109a9be65e
This commit is contained in:
parent
ec31d95b21
commit
3b4f23e2b0
@ -131,7 +131,12 @@ function _aodh_create_accounts {
|
|||||||
|
|
||||||
# Activities to do before aodh has been installed.
|
# Activities to do before aodh has been installed.
|
||||||
function preinstall_aodh {
|
function preinstall_aodh {
|
||||||
echo_summary "Preinstall not in virtualenv context. Skipping."
|
# Needed to build psycopg2
|
||||||
|
if is_ubuntu; then
|
||||||
|
install_package libpq-dev
|
||||||
|
else
|
||||||
|
install_package postgresql-devel
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove WSGI files, disable and remove Apache vhost file
|
# Remove WSGI files, disable and remove Apache vhost file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user