Sha256: f74973dad3362d6f42856ec7f7a31dede60d27292fcf3f91c6427bfa8be5a5d2
Contents?: true
Size: 540 Bytes
Versions: 4
Compression:
Stored size: 540 Bytes
Contents
def pylon_vm(config=nil, name=:pylon, count=0) return unless config config.vm.define(name) do |config| config.vm.box = 'natty64_cloudscaling_4.1' config.vm.box_url = "http://d1lfnqkkmlbdsd.cloudfront.net/vagrant/natty64_cloudscaling_4.1.box" config.vm.network "33.33.33.#{10 + count}" config.vm.provision :chef_solo do |chef| chef.cookbooks_path = "cookbooks" chef.add_recipe "pylon" end end end Vagrant::Config.run do |config| 10.times do |i| pylon_vm(config, "pylon#{i}".to_sym, i) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pylon-0.1.4 | Vagrantfile |
pylon-0.1.3 | Vagrantfile |
pylon-0.1.2 | Vagrantfile |
pylon-0.1.1 | Vagrantfile |