remove -server from unit names
parent
55e520adba
commit
f5ad1b37ac
|
@ -15,8 +15,8 @@ Vagrant.configure("2") do |config|
|
|||
node.vm.network "forwarded_port", guest: 4646, host: 4646, host_ip: "127.0.0.1"
|
||||
node.vm.network "forwarded_port", guest: 8500, host: 8500, host_ip: "127.0.0.1"
|
||||
|
||||
node.vm.provision "file", source: "consul-server.service", destination: "consul.service"
|
||||
node.vm.provision "file", source: "nomad-server.service", destination: "nomad.service"
|
||||
node.vm.provision "file", source: "consul.service", destination: "consul.service"
|
||||
node.vm.provision "file", source: "nomad.service", destination: "nomad.service"
|
||||
|
||||
node.vm.provision "shell", inline: <<-SHELL
|
||||
set -x
|
||||
|
@ -55,8 +55,8 @@ Vagrant.configure("2") do |config|
|
|||
|
||||
node.vm.network "private_network", ip: "172.20.20.1#{count}"
|
||||
|
||||
node.vm.provision "file", source: "consul-server.service", destination: "consul.service"
|
||||
node.vm.provision "file", source: "nomad-server.service", destination: "nomad.service"
|
||||
node.vm.provision "file", source: "consul.service", destination: "consul.service"
|
||||
node.vm.provision "file", source: "nomad.service", destination: "nomad.service"
|
||||
|
||||
node.vm.provision "shell", inline: <<-SHELL
|
||||
set -x
|
||||
|
|
Loading…
Reference in New Issue