Fix devstack/fedora/bind9 support

The package name is 'bind', it was bind even in el6.
Also the bind9 was hardoded instead of using the $BIND_SERVICE_NAME.

Change-Id: I4a02800e5b527f0887c02e9541dc34ac04f5b517
This commit is contained in:
Attila Fazekas 2016-03-16 15:11:30 +01:00
parent a4c3fc59f5
commit cdeaaf29d8
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ function install_designate_backend {
if is_ubuntu; then
install_package bind9
elif is_fedora; then
install_package named
install_package bind
fi
# The user that designate runs as needs to be member of **$BIND_GROUP** group.
@ -134,12 +134,12 @@ function init_designate_backend {
# start_designate_backend - start any external services
function start_designate_backend {
start_service bind9
start_service $BIND_SERVICE_NAME
}
# stop_designate_backend - stop any external services
function stop_designate_backend {
stop_service bind9
stop_service $BIND_SERVICE_NAME
}
# cleanup_designate_backend - remove transient data and cache