Cinder-api upgrade: use httpd instead of apachectl
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 6 Mar 2017 12:21:10 +0000 (14:21 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 6 Mar 2017 12:40:46 +0000 (14:40 +0200)
It doesn't work downstream, so the httpd command was recommended.

Change-Id: I4807333b80dad10f16e5deb56cbfdda656cd1e50

puppet/services/cinder-api.yaml

index c0ea7aa..49a5f61 100644 (file)
@@ -161,7 +161,7 @@ outputs:
           tags: step0,validation
         - name: check for cinder running under apache (post upgrade)
           tags: step1
-          shell: "apachectl -t -D DUMP_VHOSTS | grep -q cinder"
+          shell: "httpd -t -D DUMP_VHOSTS | grep -q cinder"
           register: cinder_apache
           ignore_errors: true
         - name: Stop cinder_api service (running under httpd)