mirror of
https://github.com/jbowdre/vagrant-saltlab.git
synced 2024-12-24 17:42:19 +00:00
install vim on all salt nodes
This commit is contained in:
parent
8287448fd4
commit
0861131c95
1 changed files with 5 additions and 3 deletions
8
salt/Vagrantfile
vendored
8
salt/Vagrantfile
vendored
|
@ -15,7 +15,7 @@ Vagrant.configure("2") do |config|
|
|||
end
|
||||
salt.vm.provision "shell", inline: <<-SHELL
|
||||
sudo apt-get update
|
||||
sudo apt-get install curl -y
|
||||
sudo apt-get install curl vim -y
|
||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||
sudo sh bootstrap-salt.sh -M
|
||||
sudo systemctl start salt-master
|
||||
|
@ -28,7 +28,7 @@ Vagrant.configure("2") do |config|
|
|||
minion01.vm.network "private_network", ip: "192.168.100.121"
|
||||
minion01.vm.provision "shell", inline: <<-SHELL
|
||||
sudo apt-get update
|
||||
sudo apt-get install curl -y
|
||||
sudo apt-get install curl vim -y
|
||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||
sudo sh bootstrap-salt.sh -A 192.168.100.120
|
||||
sudo systemctl start salt-minion
|
||||
|
@ -40,7 +40,7 @@ Vagrant.configure("2") do |config|
|
|||
minion02.vm.network "private_network", ip: "192.168.100.122"
|
||||
minion02.vm.provision "shell", inline: <<-SHELL
|
||||
sudo apt-get update
|
||||
sudo apt-get install curl -y
|
||||
sudo apt-get install curl vim -y
|
||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||
sudo sh bootstrap-salt.sh -A 192.168.100.120
|
||||
sudo systemctl start salt-minion
|
||||
|
@ -51,6 +51,7 @@ Vagrant.configure("2") do |config|
|
|||
minion03.vm.hostname = "minion03"
|
||||
minion03.vm.network "private_network", ip: "192.168.100.123"
|
||||
minion03.vm.provision "shell", inline: <<-SHELL
|
||||
sudo yum install vim -y
|
||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||
sudo sh bootstrap-salt.sh -A 192.168.100.120
|
||||
sudo systemctl start salt-minion
|
||||
|
@ -61,6 +62,7 @@ Vagrant.configure("2") do |config|
|
|||
minion04.vm.hostname = "minion04"
|
||||
minion04.vm.network "private_network", ip: "192.168.100.124"
|
||||
minion04.vm.provision "shell", inline: <<-SHELL
|
||||
sudo yum install vim -y
|
||||
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
|
||||
sudo sh bootstrap-salt.sh -A 192.168.100.120
|
||||
sudo systemctl start salt-minion
|
||||
|
|
Loading…
Reference in a new issue