Browse Source

Merge "Fix devstack/fedora/bind9 support"

Jenkins 3 years ago
parent
commit
f65d7e3138
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      devstack/designate_plugins/backend-bind9

+ 3
- 3
devstack/designate_plugins/backend-bind9 View File

@@ -45,7 +45,7 @@ function install_designate_backend {
45 45
     if is_ubuntu; then
46 46
         install_package bind9
47 47
     elif is_fedora; then
48
-        install_package named
48
+        install_package bind
49 49
     fi
50 50
 
51 51
     # The user that designate runs as needs to be member of **$BIND_GROUP** group.
@@ -156,12 +156,12 @@ function init_designate_backend {
156 156
 
157 157
 # start_designate_backend - start any external services
158 158
 function start_designate_backend {
159
-    start_service bind9
159
+    start_service $BIND_SERVICE_NAME
160 160
 }
161 161
 
162 162
 # stop_designate_backend - stop any external services
163 163
 function stop_designate_backend {
164
-    stop_service bind9
164
+    stop_service $BIND_SERVICE_NAME
165 165
 }
166 166
 
167 167
 # cleanup_designate_backend - remove transient data and cache

Loading…
Cancel
Save