vagrant-yaybu 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,6 +1,12 @@
1
1
  Changelog for vagrant-yaybu
2
2
  ===========================
3
3
 
4
+ 0.0.7 (2012-09-22)
5
+ ------------------
6
+
7
+ - Don't choke when not using vboxnet0
8
+
9
+
4
10
  0.0.6 (2012-02-12)
5
11
  ------------------
6
12
 
@@ -15,11 +15,11 @@ Vagrant::Config.run do |config|
15
15
  # You can add directories and remote locations to the search path
16
16
  # Both Yay files and assets (templates, etc) will be fetched from here.
17
17
  # The default search path is the current working directory
18
- # cfg.searchpath << "../Projects/yaybu-configuration/"
19
- # cfg.searchpath << "https://raw.github.com/isotoma/yaybu-examples/master/"
18
+ cfg.searchpath << "../Projects/yaybu-configuration/"
19
+ cfg.searchpath << "https://raw.github.com/isotoma/yaybu-examples/master/"
20
20
 
21
21
  # You can load any config that is on the searchpath
22
- # cfg.include << "configuration/minecraft.yay"
22
+ cfg.include << "configuration/minecraft.yay"
23
23
 
24
24
  # The ``yay`` parameter lets you put arbritrary config inside your Vagrant file
25
25
  cfg.yay = <<-EOS
@@ -31,7 +31,7 @@ Vagrant::Config.run do |config|
31
31
 
32
32
  # Advanced Yaybu hackers might not want to use the default python or a packaged
33
33
  # version of Yaybu. You can set this to point at your development environment.
34
- cfg.python = "/opt/virtualenvs/yaybu/bin/python"
34
+ # cfg.python = "/opt/virtualenvs/yaybu/bin/python"
35
35
 
36
36
  end
37
37
  end
@@ -170,16 +170,15 @@ module Vagrant
170
170
  }
171
171
 
172
172
  idx = 1
173
- vm.config.vm.networks.each do |type, ips|
174
- ips.each do |ip|
175
- info["interfaces"] << {
176
- "name" => "eth#{idx}",
177
- "address" => ip,
178
- "netmask" => "255.255.255.0",
179
- "gateway" => (ip.split(".").slice(0, 3) + [1]).join("."),
180
- }
181
- idx += 1
182
- end
173
+ vm.config.vm.networks.each do |type, opts|
174
+ ip = opts[0]
175
+ info["interfaces"] << {
176
+ "name" => "eth#{idx}",
177
+ "address" => ip,
178
+ "netmask" => "255.255.255.0",
179
+ "gateway" => (ip.split(".").slice(0, 3) + [1]).join("."),
180
+ }
181
+ idx += 1
183
182
  end
184
183
 
185
184
  info["interfaces"] << {
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Yaybu
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-yaybu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-20 00:00:00.000000000 Z
12
+ date: 2012-09-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This plugin adds a Yaybu 'push' provisioner to Vagrant
15
15
  email: