Skip to content

Commit 86e1bf8

Browse files
committed
Replace use of private_network directive with quoted version.
1 parent 30de6c9 commit 86e1bf8

File tree

19 files changed

+28
-28
lines changed

19 files changed

+28
-28
lines changed

deployments-balancer/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Vagrant.configure("2") do |config|
2424
boxes.each do |opts|
2525
config.vm.define opts[:name] do |config|
2626
config.vm.hostname = opts[:name]
27-
config.vm.network :private_network, ip: opts[:ip]
27+
config.vm.network "private_network", ip: opts[:ip]
2828

2929
# Provision all the VMs using Ansible after last VM is up.
3030
if opts[:name] == "app2"

deployments-rolling/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Vagrant.configure("2") do |config|
2525
boxes.each do |opts|
2626
config.vm.define opts[:name] do |config|
2727
config.vm.hostname = opts[:name]
28-
config.vm.network :private_network, ip: opts[:ip]
28+
config.vm.network "private_network", ip: opts[:ip]
2929

3030
# Provision all the VMs using Ansible after last VM is up.
3131
if opts[:name] == "nodejs4"

deployments/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Vagrant.configure(2) do |config|
1313
end
1414

1515
config.vm.hostname = "rails-demo"
16-
config.vm.network :private_network, ip: "192.168.56.7"
16+
config.vm.network "private_network", ip: "192.168.56.7"
1717

1818
config.vm.provision "ansible" do |ansible|
1919
ansible.playbook = "playbooks/main.yml"

docker-flask/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
8-
config.vm.network :private_network, ip: "192.168.56.39"
8+
config.vm.network "private_network", ip: "192.168.56.39"
99
config.ssh.insert_key = false
1010

1111
config.vm.hostname = "docker-flask.test"

drupal/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
8-
config.vm.network :private_network, ip: "192.168.56.8"
8+
config.vm.network "private_network", ip: "192.168.56.8"
99
config.vm.hostname = "drupal.test"
1010
config.ssh.insert_key = false
1111

dynamic-inventory/custom/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
1111
config.vm.define "inventory1" do |inventory|
1212
inventory.vm.hostname = "inventory1.test"
1313
inventory.vm.box = "geerlingguy/ubuntu2004"
14-
inventory.vm.network :private_network, ip: "192.168.56.71"
14+
inventory.vm.network "private_network", ip: "192.168.56.71"
1515
end
1616

1717
# Application server 2.
1818
config.vm.define "inventory2" do |inventory|
1919
inventory.vm.hostname = "inventory2.test"
2020
inventory.vm.box = "geerlingguy/ubuntu2004"
21-
inventory.vm.network :private_network, ip: "192.168.56.72"
21+
inventory.vm.network "private_network", ip: "192.168.56.72"
2222
end
2323
end

elk/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
1818
# ELK server.
1919
config.vm.define "logs" do |logs|
2020
logs.vm.hostname = "logs.test"
21-
logs.vm.network :private_network, ip: "192.168.56.90"
21+
logs.vm.network "private_network", ip: "192.168.56.90"
2222

2323
logs.vm.provision :ansible do |ansible|
2424
ansible.playbook = "provisioning/elk/main.yml"
@@ -30,7 +30,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
3030
# Web server.
3131
config.vm.define "web" do |web|
3232
web.vm.hostname = "web.test"
33-
web.vm.network :private_network, ip: "192.168.56.91"
33+
web.vm.network "private_network", ip: "192.168.56.91"
3434

3535
web.vm.provider :virtualbox do |v|
3636
v.memory = 512

galaxy-role-servers/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
8-
config.vm.network :private_network, ip: "192.168.56.8"
8+
config.vm.network "private_network", ip: "192.168.56.8"
99
config.vm.hostname = "galaxy-role-servers.test"
1010
config.ssh.insert_key = false
1111

gluster/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Vagrant.configure("2") do |config|
2222
boxes.each do |opts|
2323
config.vm.define opts[:name] do |config|
2424
config.vm.hostname = opts[:name]
25-
config.vm.network :private_network, ip: opts[:ip]
25+
config.vm.network "private_network", ip: opts[:ip]
2626

2727
# Provision both VMs using Ansible after the last VM is booted.
2828
if opts[:name] == "gluster2"

https-nginx-proxy/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/debian10"
88
config.vm.hostname = "https-proxy.test"
9-
config.vm.network :private_network, ip: "192.168.56.84"
9+
config.vm.network "private_network", ip: "192.168.56.84"
1010
config.ssh.insert_key = false
1111

1212
config.vm.provider :virtualbox do |v|

https-self-signed/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
88
config.vm.hostname = "https.test"
9-
config.vm.network :private_network, ip: "192.168.56.84"
9+
config.vm.network "private_network", ip: "192.168.56.84"
1010
config.ssh.insert_key = false
1111

1212
config.vm.provider :virtualbox do |v|

includes/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
8-
config.vm.network :private_network, ip: "192.168.56.89"
8+
config.vm.network "private_network", ip: "192.168.56.89"
99
config.vm.hostname = "drupal.test"
1010
config.ssh.insert_key = false
1111

jenkins/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
88
config.vm.hostname = "jenkinsci.test"
9-
config.vm.network :private_network, ip: "192.168.56.76"
9+
config.vm.network "private_network", ip: "192.168.56.76"
1010
config.ssh.insert_key = false
1111

1212
config.vm.provider :virtualbox do |v|

kubernetes/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2525
boxes.each do |opts|
2626
config.vm.define opts[:name] do |config|
2727
config.vm.hostname = opts[:name] + ".k8s.test"
28-
config.vm.network :private_network, ip: opts[:ip]
28+
config.vm.network "private_network", ip: opts[:ip]
2929

3030
# Provision all the VMs using Ansible after last VM is up.
3131
if opts[:name] == "node2"

lamp-infrastructure/Vagrantfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Vagrant.configure("2") do |config|
1919
# Varnish.
2020
config.vm.define "varnish" do |varnish|
2121
varnish.vm.hostname = "varnish.test"
22-
varnish.vm.network :private_network, ip: "192.168.56.2"
22+
varnish.vm.network "private_network", ip: "192.168.56.2"
2323
end
2424

2525
# Apache.
2626
config.vm.define "www1" do |www1|
2727
www1.vm.hostname = "www1.test"
28-
www1.vm.network :private_network, ip: "192.168.56.3"
28+
www1.vm.network "private_network", ip: "192.168.56.3"
2929

3030
www1.vm.provision "shell",
3131
inline: "sudo yum update -y"
@@ -38,7 +38,7 @@ Vagrant.configure("2") do |config|
3838
# Apache.
3939
config.vm.define "www2" do |www2|
4040
www2.vm.hostname = "www2.test"
41-
www2.vm.network :private_network, ip: "192.168.56.4"
41+
www2.vm.network "private_network", ip: "192.168.56.4"
4242

4343
www2.vm.provision "shell",
4444
inline: "sudo yum update -y"
@@ -51,19 +51,19 @@ Vagrant.configure("2") do |config|
5151
# MySQL.
5252
config.vm.define "db1" do |db1|
5353
db1.vm.hostname = "db1.test"
54-
db1.vm.network :private_network, ip: "192.168.56.5"
54+
db1.vm.network "private_network", ip: "192.168.56.5"
5555
end
5656

5757
# MySQL.
5858
config.vm.define "db2" do |db2|
5959
db2.vm.hostname = "db2.test"
60-
db2.vm.network :private_network, ip: "192.168.56.6"
60+
db2.vm.network "private_network", ip: "192.168.56.6"
6161
end
6262

6363
# Memcached.
6464
config.vm.define "memcached" do |memcached|
6565
memcached.vm.hostname = "memcached.test"
66-
memcached.vm.network :private_network, ip: "192.168.56.7"
66+
memcached.vm.network "private_network", ip: "192.168.56.7"
6767

6868
# Run Ansible provisioner once for all VMs at the end.
6969
memcached.vm.provision "ansible" do |ansible|

nodejs-role/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/rockylinux8"
8-
config.vm.network :private_network, ip: "192.168.56.56"
8+
config.vm.network "private_network", ip: "192.168.56.56"
99
config.ssh.insert_key = false
1010
config.vm.synced_folder ".", "/vagrant", disabled: true
1111

nodejs/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/rockylinux8"
88
config.vm.hostname = "nodejs.test"
9-
config.vm.network :private_network, ip: "192.168.56.55"
9+
config.vm.network "private_network", ip: "192.168.56.55"
1010
config.ssh.insert_key = false
1111
config.vm.synced_folder ".", "/vagrant", disabled: true
1212

orchestration/Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
1616
# Application server 1.
1717
config.vm.define "app1" do |app|
1818
app.vm.hostname = "orc-app1.test"
19-
app.vm.network :private_network, ip: "192.168.56.4"
19+
app.vm.network "private_network", ip: "192.168.56.4"
2020
end
2121

2222
# Application server 2.
2323
config.vm.define "app2" do |app|
2424
app.vm.hostname = "orc-app2.test"
25-
app.vm.network :private_network, ip: "192.168.56.5"
25+
app.vm.network "private_network", ip: "192.168.56.5"
2626
end
2727

2828
# Database server.
2929
config.vm.define "db" do |db|
3030
db.vm.hostname = "orc-db.test"
31-
db.vm.network :private_network, ip: "192.168.56.6"
31+
db.vm.network "private_network", ip: "192.168.56.6"
3232
end
3333
end

solr/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
config.vm.box = "geerlingguy/ubuntu2004"
8-
config.vm.network :private_network, ip: "192.168.56.66"
8+
config.vm.network "private_network", ip: "192.168.56.66"
99
config.vm.hostname = "solr.test"
1010
config.ssh.insert_key = false
1111

0 commit comments

Comments
 (0)