Skip to content

Commit

Permalink
test default values
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed Nov 7, 2023
1 parent cbd2d18 commit 76eba21
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions hana/ha_cluster.sls
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,9 @@ install_SAPHanaSR:
{% set sustkover_hook = hook_path + '/susTkOver.py' %}
{% set suschksrv_hook = hook_path + '/susChkSrv.py' %}
{% set sustkover_hook_enabled = False %}
{% set suschksrv_hook_enabled = False %}
{% set suschksrv_hook_action_on_lost = 'stop' %}
{% if hana.ha_dr_sustkover_enabled is defined %}
{% set sustkover_hook_enabled = hana.ha_dr_sustkover_enabled %}
{% endif %}
{% if hana.ha_dr_suschksrv_enabled is defined %}
{% set suschksrv_hook_enabled = hana.ha_dr_suschksrv_enabled %}
{% endif %}
{% if hana.ha_dr_suschksrv_action_on_lost is defined %}
{% set suschksrv_hook_action_on_lost = hana.ha_dr_suschksrv_action_on_lost %}
{% endif %}
{% set sustkover_hook_enabled = hana.ha_dr_sustkover_enabled|default(False) %}
{% set suschksrv_hook_enabled = hana.ha_dr_suschksrv_enabled|default(False) %}
{% set suschksrv_hook_action_on_lost = hana.ha_dr_suschksrv_action_on_lost|default('stop') %}
# get HANA sites
{% set sites = {} %}
Expand Down

0 comments on commit 76eba21

Please sign in to comment.