Skip to content

Commit

Permalink
Merge pull request #89 from yeoldegrove/require_cloud_provider
Browse files Browse the repository at this point in the history
fix `cloud_provider` grain on SLES 15 SP4
  • Loading branch information
yeoldegrove authored Jun 1, 2022
2 parents 3dc7a98 + 267e2c1 commit 19c9b95
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
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">habootstrap-formula</param>
<param name="versionformat">0.4.4+git.%ct.%h</param>
<param name="versionformat">0.4.5+git.%ct.%h</param>
<param name="revision">%%VERSION%%</param>
</service>

Expand Down
1 change: 1 addition & 0 deletions cluster/cloud_detection.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ set_cloud_data_in_grains:
crm.cloud_grains_present:
- require:
- install_crmsh
- reload_grains: true
2 changes: 2 additions & 0 deletions cluster/configure_resources.sls
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ configure-cluster-op-defaults:
- group: root
- mode: 644
- template: jinja
- require:
- set_cloud_data_in_grains
{% endif %}
configure-the-cluster:
Expand Down
7 changes: 7 additions & 0 deletions habootstrap-formula.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 25 12:12:57 UTC 2022 - Eike Waldt <waldt@b1-systems.de>

- Version bump 0.4.5
* reload grains after setting cloud_provider (fix SLES 15 SP4)
* require set_cloud_data_in_grains to create resources (fix SLES 15 SP4)

-------------------------------------------------------------------
Mon Sep 08 11:37:27 UTC 2021 - Eike Waldt <waldt@b1-systems.de>

Expand Down

0 comments on commit 19c9b95

Please sign in to comment.