Skip to content

Commit

Permalink
Merge pull request #140 from yeoldegrove/fix_mm
Browse files Browse the repository at this point in the history
fix majority maker test condition if grain is empty
  • Loading branch information
yeoldegrove authored May 23, 2022
2 parents 5b1bef6 + 4016da7 commit a368b7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="filename">saphanabootstrap-formula</param>
<param name="versionformat">0.9.0+git.%ct.%h</param>
<param name="versionformat">0.9.1+git.%ct.%h</param>
<param name="revision">%%VERSION%%</param>
</service>

Expand Down
6 changes: 6 additions & 0 deletions saphanabootstrap-formula.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 05 20:18:52 UTC 2022 - Eike Waldt <[email protected]>

- Version bump 0.9.1
* fix majority_maker code on case grain is empty

-------------------------------------------------------------------
Thu Nov 17 13:52:34 UTC 2021 - Eike Waldt <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion templates/cluster_resources.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit a368b7f

Please sign in to comment.