Skip to content

Commit

Permalink
CB-26607 Do not install metering rpm (v1) for arm images
Browse files Browse the repository at this point in the history
  • Loading branch information
horadla23 committed Jul 25, 2024
1 parent 832bf87 commit de44b5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saltstack/hortonworks/salt/metering/init.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% set os = salt['environ.get']('OS') %}
{% set metering_rmp_url = salt['environ.get']('METERING_AGENT_RPM_URL') %}

{% if salt['environ.get']('ARCHITECTURE') != 'arm64' %}
{% if metering_rmp_url %}
{% if grains['init'] == 'systemd' %}
install_metering_heartbeat_rpm:
Expand All @@ -11,4 +12,5 @@
cmd.run:
- name: echo "Warning - Metering client requires systemd which is not installed"
{% endif %}
{% endif %}
{% endif %}

0 comments on commit de44b5d

Please sign in to comment.