mirror of
https://github.com/jbowdre/vagrant-saltlab.git
synced 2024-11-23 05:52:19 +00:00
pin to salt 3005 release for now
this avoids this recent issue with the current bootstrap script: https://github.com/saltstack/salt-bootstrap/issues/1919
This commit is contained in:
parent
694561cd8d
commit
0b80bc605a
1 changed files with 5 additions and 5 deletions
10
Vagrantfile
vendored
10
Vagrantfile
vendored
|
@ -18,7 +18,7 @@ Vagrant.configure("2") do |config|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install curl vim python3-pygit2 -y
|
apt-get install curl vim python3-pygit2 -y
|
||||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||||
sh bootstrap-salt.sh -M -X -U
|
sh bootstrap-salt.sh -M -X -U stable 3005
|
||||||
cat << EOF > /etc/salt/master.d/lab.conf
|
cat << EOF > /etc/salt/master.d/lab.conf
|
||||||
auto_accept: True
|
auto_accept: True
|
||||||
file_roots:
|
file_roots:
|
||||||
|
@ -62,7 +62,7 @@ EOF
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install curl -y
|
apt-get install curl -y
|
||||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||||
sh bootstrap-salt.sh -A 192.168.100.120 -U
|
sh bootstrap-salt.sh -A 192.168.100.120 -U stable 3005
|
||||||
cat << EOF > /etc/salt/minion.d/grains.conf
|
cat << EOF > /etc/salt/minion.d/grains.conf
|
||||||
grains:
|
grains:
|
||||||
roles:
|
roles:
|
||||||
|
@ -79,7 +79,7 @@ EOF
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install curl -y
|
apt-get install curl -y
|
||||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||||
sh bootstrap-salt.sh -A 192.168.100.120 -U
|
sh bootstrap-salt.sh -A 192.168.100.120 -U stable 3005
|
||||||
cat << EOF > /etc/salt/minion.d/grains.conf
|
cat << EOF > /etc/salt/minion.d/grains.conf
|
||||||
grains:
|
grains:
|
||||||
roles:
|
roles:
|
||||||
|
@ -102,7 +102,7 @@ EOF
|
||||||
echo "Proceeding!"
|
echo "Proceeding!"
|
||||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||||
# workaround for EL > 9 (https://github.com/saltstack/salt-bootstrap/issues/1903)
|
# workaround for EL > 9 (https://github.com/saltstack/salt-bootstrap/issues/1903)
|
||||||
sh bootstrap-salt.sh -A 192.168.100.120 -U -P -x python3 onedir
|
sh bootstrap-salt.sh -A 192.168.100.120 -U -P -x python3 onedir 3005
|
||||||
systemctl enable salt-minion
|
systemctl enable salt-minion
|
||||||
cat << EOF > /etc/salt/minion.d/grains.conf
|
cat << EOF > /etc/salt/minion.d/grains.conf
|
||||||
grains:
|
grains:
|
||||||
|
@ -124,7 +124,7 @@ EOF
|
||||||
done
|
done
|
||||||
echo "Proceeding!"
|
echo "Proceeding!"
|
||||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||||
sh bootstrap-salt.sh -A 192.168.100.120 -U
|
sh bootstrap-salt.sh -A 192.168.100.120 -U stable 3005
|
||||||
cat << EOF > /etc/salt/minion.d/grains.conf
|
cat << EOF > /etc/salt/minion.d/grains.conf
|
||||||
grains:
|
grains:
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Reference in a new issue