From 01564c3753d9a334db0371c95abfd32553bf643d Mon Sep 17 00:00:00 2001 From: Alexandre Gomes Date: Sun, 1 Oct 2017 15:22:11 -0300 Subject: [PATCH] Change cmd.wait to cmd.run (#336) Changing cmd.wait to cmd.run as recomended on the documentation: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html#salt.states.cmd.wait --- salt/minion.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/minion.sls b/salt/minion.sls index 4cdf060..bb81f2d 100644 --- a/salt/minion.sls +++ b/salt/minion.sls @@ -50,12 +50,12 @@ at: pkg.installed: [] restart-salt-minion: - cmd.wait: + cmd.run: - name: echo salt-call --local service.restart salt-minion | at now + 1 minute - order: last - require: - pkg: at - - watch: + - onchanges: {%- if salt_settings.install_packages %} - pkg: salt-minion {%- endif %}