Skip to content

Commit

Permalink
fix(indempotency): run reload onchanges only
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Jul 15, 2021
1 parent 2c572d0 commit 9166498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/archive/install.sls
Expand Up @@ -153,7 +153,7 @@ prometheus-archive-install-{{ name }}-managed-service:
- group: prometheus-config-users-install-{{ name }}-group-present
cmd.run:
- name: systemctl daemon-reload
- require:
- onchanges:
{%- if p.pkg.component.get(name).get('archive').get('tar', true) %}
- archive: prometheus-archive-install-{{ name }}
{% else %}
Expand Down

0 comments on commit 9166498

Please sign in to comment.