Merge "Added detection of powerdns package name to devstack script"

This commit is contained in:
Jenkins 2014-06-06 16:36:46 +00:00 committed by Gerrit Code Review
commit a2f1e3bbdc
1 changed files with 9 additions and 1 deletions

View File

@ -187,7 +187,15 @@ function install_designate() {
setup_develop $DESIGNATE_DIR
if [[ "$DESIGNATE_BACKEND_DRIVER" = 'powerdns' ]]; then
install_package pdns-server pdns-backend-mysql
if is_ubuntu; then
PDNS=pdns-server
elif is_fedora || is_suse; then
PDNS=pdns
else
PDNS=pdns-server
fi
install_package $PDNS pdns-backend-mysql
fi
if [[ "$DESIGNATE_BACKEND_DRIVER" = 'bind9' ]]; then