diff --git a/states/dkron/install.sls b/states/dkron/install.sls index e016afa..3fa6367 100644 --- a/states/dkron/install.sls +++ b/states/dkron/install.sls @@ -13,6 +13,8 @@ dkron-archive-extract: - skip_verify: true - archive_format: tar - if_missing: {{ dkron.release_dir }}/dkron_{{ dkron.version }} + - watch_in: + - service: dkron-service dkron-bin-symlink: file.symlink: diff --git a/states/pki/install.sls b/states/pki/install.sls index b76d05d..e3d6d64 100644 --- a/states/pki/install.sls +++ b/states/pki/install.sls @@ -7,6 +7,8 @@ pki-archive-extract: - skip_verify: true - enforce_toplevel: false - if_missing: {{ pki.release_dir }}/pki-{{ pki.version }} + - watch_in: + - service: pki-service pki-binary-symlink: file.symlink: @@ -14,3 +16,5 @@ pki-binary-symlink: - target: {{ pki.release_dir }}/pki-{{ pki.version }} - require: - archive: pki-archive-extract + - watch_in: + - service: pki-service \ No newline at end of file