diff --git a/_service b/_service index 2f57625..3edaead 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ git .git saphanabootstrap-formula - 0.9.0+git.%ct.%h + 0.9.1+git.%ct.%h %%VERSION%% diff --git a/saphanabootstrap-formula.changes b/saphanabootstrap-formula.changes index c59595b..a5c6ccd 100644 --- a/saphanabootstrap-formula.changes +++ b/saphanabootstrap-formula.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 05 20:18:52 UTC 2022 - Eike Waldt + +- Version bump 0.9.1 + * fix majority_maker code on case grain is empty + ------------------------------------------------------------------- Thu Nov 17 13:52:34 UTC 2021 - Eike Waldt diff --git a/templates/cluster_resources.j2 b/templates/cluster_resources.j2 index 90ade74..dd0fcba 100644 --- a/templates/cluster_resources.j2 +++ b/templates/cluster_resources.j2 @@ -273,10 +273,10 @@ colocation col_exporter_{{ sid }}_HDB{{ instance }} -inf: rsc_exporter_{{ sid }} {%- endif %} +{%- if majority_maker != "" and majority_maker != "None" %} ###################################### # majority maker ###################################### -{%- if majority_maker != "" %} location {{ SAPHanaResource }}_{{ sid }}_HDB{{ instance }}_not_on_majority_maker msl_{{ SAPHanaResource }}_{{ sid }}_HDB{{ instance }} -inf: {{ majority_maker }} location SAPHanaTopology_{{ sid }}_HDB{{ instance }}_not_on_majority_maker cln_SAPHanaTopology_{{ sid }}_HDB{{ instance }} -inf: {{ majority_maker }} {%- if monitoring_enabled %}