From 5a6879806eda6660e72576bbda2dcbe909fbdd96 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 24 Jan 2021 19:02:28 +0100 Subject: [PATCH] updated pki and dkron states --- states/dkron/install.sls | 2 ++ states/pki/install.sls | 4 ++++ 2 files changed, 6 insertions(+) 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