Merge "Add more conditions to restart-haproxy yaql to avoid ambiguity"

This commit is contained in:
Jenkins 2017-01-20 09:59:25 +00:00 committed by Gerrit Code Review
commit 45d2d6e9ba
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
required_for: [deploy_end]
requires: [deploy_start, virtual_ips, cluster]
condition:
yaql_exp: 'changed($.public_ssl.hostname) and old($)'
yaql_exp: '((len(old($)) > 0) or $.deployed_before.value) and changed($.public_ssl.hostname)'
parameters:
puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/cluster-haproxy/restart-haproxy.pp
puppet_modules: /etc/puppet/modules