Last active
March 28, 2018 07:56
-
-
Save mcouthon/73705397d4d2235408b6f85046ae98ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
heal_group: | |
members: [{{ members }}] | |
policies: | |
host_failure_policy: | |
type: cloudify.policies.types.host_failure | |
properties: | |
service: | |
- .*host.*.cpu.total.system | |
interval_between_workflows: 600 | |
triggers: | |
auto_heal_trigger: | |
type: cloudify.policies.triggers.execute_workflow | |
parameters: | |
workflow: heal | |
workflow_parameters: | |
node_instance_id: { 'get_property': [ SELF, node_id ] } | |
diagnose_value: { 'get_property': [ SELF, diagnose ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment