diff options
author | Sofer Athlan-Guyot <sathlang@redhat.com> | 2017-03-30 12:06:13 +0200 |
---|---|---|
committer | Sofer Athlan-Guyot <sathlang@redhat.com> | 2017-03-30 12:06:13 +0200 |
commit | 56535c89ad6a5db718dc0fb89c19dda9fba251ca (patch) | |
tree | 171d02274c8e427aceb0a0ed30acfa21914a42ea /puppet/services | |
parent | d95674dc708e2d4c6e03136154d7ccf3d3380574 (diff) |
Don't check haproxy if external load-balancer is used.
Change-Id: Ia65796b04be9f7cadc57af30ef66788dd8cb7de8
Closes-Bug: 1677539
Diffstat (limited to 'puppet/services')
-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} |