diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-03 14:54:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-03 14:54:03 +0000 |
commit | d7055059a8da022b6651227c15bca4f2667e9bf4 (patch) | |
tree | 917f501ba973f36dbba2f5d41a6afb2e7b04f29c /puppet | |
parent | 96fc0659c3736f752927a4bce3550678bf3bb44e (diff) | |
parent | 985c5ecd81fb35421cbefe1119a2dfd9559c00b4 (diff) |
Merge "Don't check haproxy if external load-balancer is used." into stable/ocata
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/pacemaker.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/puppet/services/pacemaker.yaml b/puppet/services/pacemaker.yaml index 762d0092..28fcbd6f 100644 --- a/puppet/services/pacemaker.yaml +++ b/puppet/services/pacemaker.yaml @@ -87,10 +87,16 @@ parameters: \[(?<pid>[^ ]*)\] (?<host>[^ ]*) (?<message>.*)$/ + + EnableLoadBalancer: + default: true + description: Whether to deploy a LoadBalancer on the Controller + type: boolean + PacemakerResources: type: comma_delimited_list description: List of resources managed by pacemaker - default: ['rabbitmq','haproxy','galera'] + default: ['rabbitmq', 'galera'] outputs: role_data: @@ -147,3 +153,9 @@ outputs: resource: "{{ item }}" max_wait: 500 with_items: {get_param: PacemakerResources} + - name: Check pacemaker haproxy resource + tags: step4 + pacemaker_is_active: + resource: haproxy + max_wait: 500 + when: {get_param: EnableLoadBalancer} |