summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vagrant/gluster/Vagrantfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/vagrant/gluster/Vagrantfile b/vagrant/gluster/Vagrantfile
index 781c4d0..3e696b0 100644
--- a/vagrant/gluster/Vagrantfile
+++ b/vagrant/gluster/Vagrantfile
@@ -463,14 +463,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vm.vm.provision 'shell', inline: "puppet resource host #{oh}.#{domain} ip=#{oip} host_aliases=#{oh} ensure=present"
end
- # NOTE: we don't add ip's of other clients
- # because it's probably not needed...
# hosts entries for all clients
- #(1..clients).each do |j|
- # oh = "client#{j}"
- # oip = range[offset+count+j].to_s
- # vm.vm.provision 'shell', inline: "puppet resource host #{oh}.#{domain} ip=#{oip} host_aliases=#{oh} ensure=present"
- #end
+ (1..clients).each do |j|
+ oh = "client#{j}"
+ oip = range[offset+count+j].to_s
+ vm.vm.provision 'shell', inline: "puppet resource host #{oh}.#{domain} ip=#{oip} host_aliases=#{oh} ensure=present"
+ end
end
#
# puppet (agent)