From 71d22c54b6f86a6e493550d9a9695245158c0226 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Tue, 19 Dec 2023 23:06:37 +0100 Subject: [PATCH] refactor: reorder states to avoid race condition --- salt/sys-cacher/README.md | 2 +- salt/sys-pihole/README.md | 2 +- salt/sys-syncthing/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/sys-cacher/README.md b/salt/sys-cacher/README.md index 182901a..b41b296 100644 --- a/salt/sys-cacher/README.md +++ b/salt/sys-cacher/README.md @@ -38,7 +38,7 @@ specify otherwise. - Top ```sh qubesctl top.enable sys-cacher browser -qubesctl --targets=tpl-browser,tpl-sys-cacher,sys-cacher,sys-cacher-browser state.apply +qubesctl --targets=tpl-browser,sys-cacher-browser,tpl-sys-cacher,sys-cacher state.apply qubesctl top.disable sys-cacher browser qubesctl state.apply sys-cacher.appmenus,sys-cacher.tag qubesctl --skip-dom0 --templates state.apply sys-cacher.install-client diff --git a/salt/sys-pihole/README.md b/salt/sys-pihole/README.md index 792afcf..ad1796c 100644 --- a/salt/sys-pihole/README.md +++ b/salt/sys-pihole/README.md @@ -30,7 +30,7 @@ provider however, don't install this package. - Top: ```sh qubesctl top.enable sys-pihole browser -qubesctl --targets=tpl-browser,sys-pihole,sys-pihole-browser state.apply +qubesctl --targets=tpl-browser,sys-pihole-browser,sys-pihole state.apply qubesctl top.disable sys-pihole browser qubesctl state.apply sys-pihole.appmenus ``` diff --git a/salt/sys-syncthing/README.md b/salt/sys-syncthing/README.md index 0827364..87f9bac 100644 --- a/salt/sys-syncthing/README.md +++ b/salt/sys-syncthing/README.md @@ -26,7 +26,7 @@ accessible externally. - Top: ```sh qubesctl top.enable sys-syncthing browser -qubesctl --targets=tpl-browser,tpl-sys-syncthing,sys-syncthing,sys-syncthing-browser state.apply +qubesctl --targets=tpl-browser,sys-syncthing-browser,tpl-sys-syncthing,sys-syncthing state.apply qubesctl top.disable sys-syncthing browser qubesctl state.apply sys-syncthing.appmenus /srv/salt/qusal/sys-syncthing/files/admin/firewall/in.sh -a -p add sys-syncthing tcp 22000