From 0c0b1745a835079596ca049ba29583837f509fa8 Mon Sep 17 00:00:00 2001 From: Martin Griesbach Date: Fri, 17 Oct 2014 09:46:33 +0200 Subject: [PATCH] Vagrant: increased wait to ensure the minion sent it's key to the master before Accepting all keys. --- dev/setup-salt.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev/setup-salt.sh b/dev/setup-salt.sh index 6e4e49e..dc0a734 100644 --- a/dev/setup-salt.sh +++ b/dev/setup-salt.sh @@ -3,13 +3,12 @@ sudo add-apt-repository ppa:saltstack/salt -y sudo apt-get update -y sudo apt-get install salt-master -y sudo apt-get install salt-minion -y -# Accept all keys# -sleep 5 #give the minion a few seconds to register -sudo salt-key -y -A # setup top files to test the formula sudo mkdir -p /srv/pillar sudo ln -s /srv/salt/pillar.example /srv/pillar/salt.sls sudo ln -s /srv/salt/dev/pillar_top.sls /srv/pillar/top.sls # this file will be copied to make a running config. it should not be checked in. sudo cp /srv/salt/dev/state_top.sls /srv/salt/top.sls - +# Accept all keys# +sleep 15 #give the minion a few seconds to register +sudo salt-key -y -A