vendor/tersmitten.htop/Vagrantfile in taperole-1.7.1 vs vendor/tersmitten.htop/Vagrantfile in taperole-1.8.0
- old
+ new
@@ -1,59 +1,51 @@
# -*- mode: ruby -*-
# vi: set ft=ruby ts=2 sw=2 tw=0 et :
role = File.basename(File.expand_path(File.dirname(__FILE__)))
-File.open(File.dirname(__FILE__) + '/ansible.cfg', 'w') { |f| f.write("[defaults]\nroles_path = ../") }
-
boxes = [
{
- :name => "ubuntu-1004",
- :box => "opscode-ubuntu-10.04",
- :url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-10.04_chef-provisionerless.box",
- :ip => '10.0.0.10',
- :cpu => "50",
- :ram => "256"
- },
- {
:name => "ubuntu-1204",
- :box => "opscode-ubuntu-12.04",
- :url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box",
+ :box => "bento/ubuntu-12.04",
:ip => '10.0.0.11',
:cpu => "50",
:ram => "256"
},
{
:name => "ubuntu-1404",
- :box => "opscode-ubuntu-14.04",
- :url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box",
+ :box => "bento/ubuntu-14.04",
:ip => '10.0.0.12',
:cpu => "50",
:ram => "256"
},
{
- :name => "debian-6010",
- :box => "opscode-debian-6.0.10",
- :url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-6.0.10_chef-provisionerless.box",
+ :name => "ubuntu-1604",
+ :box => "bento/ubuntu-16.04",
:ip => '10.0.0.13',
:cpu => "50",
:ram => "256"
},
{
- :name => "debian-78",
- :box => "opscode-debian-7.8",
- :url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box",
+ :name => "debian-711",
+ :box => "bento/debian-7.11",
:ip => '10.0.0.14',
:cpu => "50",
:ram => "256"
},
+ {
+ :name => "debian-86",
+ :box => "bento/debian-8.6",
+ :ip => '10.0.0.15',
+ :cpu => "50",
+ :ram => "256"
+ },
]
Vagrant.configure("2") do |config|
boxes.each do |box|
config.vm.define box[:name] do |vms|
vms.vm.box = box[:box]
- vms.vm.box_url = box[:url]
vms.vm.hostname = "ansible-#{role}-#{box[:name]}"
vms.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--cpuexecutioncap", box[:cpu]]
v.customize ["modifyvm", :id, "--memory", box[:ram]]