builderator 1.1.12 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/builderator/config/file.rb +10 -0
- data/template/Vagrantfile.erb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dac304f15c02ed411da916db117bb609db20087
|
4
|
+
data.tar.gz: 79e1a25509ad2e849be64e04e7d2e519acefc18b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f484c5d04b8ae0336de20833568414569335516c07a90b0f2627c5a9d44bd00a4e2da388f746db22e2665a13c680758f21094297d619151aa04bf0718506bed8
|
7
|
+
data.tar.gz: 5e4816a245795cbebcfecbf77bdda9a5e95e4b47a1b4b3fc7c6ff379d2cd235cfb5285fa065f0578b582924e3b2e81e1ebd1eff5a3791bda390cc0795f37a916
|
@@ -247,6 +247,16 @@ module Builderator
|
|
247
247
|
attribute :memory
|
248
248
|
end
|
249
249
|
|
250
|
+
collection :port do
|
251
|
+
attribute :host
|
252
|
+
attribute :guest
|
253
|
+
end
|
254
|
+
|
255
|
+
collection :sync do
|
256
|
+
attribute :path, :relative => true
|
257
|
+
attribute :destination
|
258
|
+
end
|
259
|
+
|
250
260
|
namespace :ec2 do
|
251
261
|
attribute :provider
|
252
262
|
attribute :box
|
data/template/Vagrantfile.erb
CHANGED
@@ -38,7 +38,13 @@ Vagrant.configure('2') do |config|
|
|
38
38
|
ec2.tags = <%= profile.current.vagrant.ec2.tags %>
|
39
39
|
end
|
40
40
|
|
41
|
-
|
41
|
+
<% profile.current.vagrant.port.each do |name, port| -%>
|
42
|
+
config.vm.network :forwarded_port, :host => <%= port.host %>, :guest => <%= port.guest %> # <%= name %>
|
43
|
+
<% end -%>
|
44
|
+
|
45
|
+
<% profile.current.vagrant.sync.each do |name, sync| -%>
|
46
|
+
config.vm.synced_folder "<%= sync.path %>", "<%= sync.destination %>" # <%= name %>
|
47
|
+
<% end -%>
|
42
48
|
|
43
49
|
##
|
44
50
|
# Use the standard data directory for Chef
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: builderator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|