summaryrefslogtreecommitdiffstats
path: root/puppet/services/ec2-api.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-01 03:56:03 +0000
committerGerrit Code Review <review@openstack.org>2017-03-01 03:56:03 +0000
commit236a27a1ff2916ee353182eb590f0a33f7de70ee (patch)
tree415c4b580ae0faa72038277a0b2570d663b6b798 /puppet/services/ec2-api.yaml
parentc992dcf51a3a6ab75eeb9e15c55e03f317f7633c (diff)
parentd54532679edce04a5bdc3159489b77baf90b14ca (diff)
Merge "upgrades: fix ec2api conditional"
Diffstat (limited to 'puppet/services/ec2-api.yaml')
-rw-r--r--puppet/services/ec2-api.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/ec2-api.yaml b/puppet/services/ec2-api.yaml
index fefb3220..090e0c4d 100644
--- a/puppet/services/ec2-api.yaml
+++ b/puppet/services/ec2-api.yaml
@@ -120,12 +120,12 @@ outputs:
command: systemctl is-enabled openstack-ec2-api
tags: step0,validation
ignore_errors: True
- register: ec2-api_enabled
+ register: ec2_api_enabled
- name: "PreUpgrade step0,validation: Check if openstack-ec2-api is running"
shell: >
/usr/bin/systemctl show 'openstack-ec2-api' --property ActiveState |
grep '\bactive\b'
- when: ec2-api_enabled.rc == 0
+ when: ec2_api_enabled.rc == 0
tags: step0,validation
- name: Stop openstack-ec2-api service
tags: step1