formatron 0.1.3 → 0.1.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e23febc96d23ac6ff4f4470c71576e041df88940
|
|
4
|
+
data.tar.gz: 18f87f4c18052dcf49e427ed868c829d1e716d73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88c4d3022729f3462ae8152ab1436f2b9e718b427b7f37f7df03b314ad77510505e97b9a077533e5db3e83b280034c36ab65a21787f7c2a5516ffab8adf62a0d
|
|
7
|
+
data.tar.gz: 7a7068ff48ab616219e4e9111348b79829eee540dca0fcd1c5d8224b45e9a4c275ebe81fd79ace810548a45b7b64a23264bb2bbf8e2ca347be3048933326bcf1
|
|
@@ -14,11 +14,11 @@ formatron.global do |global|
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
formatron.vpc 'vpc' do |vpc|
|
|
17
|
-
vpc.guid '
|
|
17
|
+
vpc.guid 'vpc<%= guid %>'
|
|
18
18
|
vpc.cidr '10.0.0.0/16'
|
|
19
19
|
|
|
20
20
|
vpc.subnet 'management' do |subnet|
|
|
21
|
-
subnet.guid '
|
|
21
|
+
subnet.guid 'subnet<%= guid %>'
|
|
22
22
|
subnet.availability_zone '<%= params[:availability_zone] %>'
|
|
23
23
|
subnet.cidr '10.0.0.0/24'
|
|
24
24
|
subnet.acl do |acl|
|
|
@@ -26,7 +26,7 @@ formatron.vpc 'vpc' do |vpc|
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
subnet.bastion 'bastion' do |bastion|
|
|
29
|
-
bastion.guid '
|
|
29
|
+
bastion.guid 'bastion<%= guid %>'
|
|
30
30
|
bastion.sub_domain config['bastion']['sub_domain']
|
|
31
31
|
bastion.chef do |chef|
|
|
32
32
|
chef.cookbook 'cookbooks/bastion_instance'
|
|
@@ -34,7 +34,7 @@ formatron.vpc 'vpc' do |vpc|
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
subnet.nat 'nat' do |nat|
|
|
37
|
-
nat.guid '
|
|
37
|
+
nat.guid 'nat<%= guid %>'
|
|
38
38
|
nat.sub_domain config['nat']['sub_domain']
|
|
39
39
|
nat.chef do |chef|
|
|
40
40
|
chef.cookbook 'cookbooks/nat_instance'
|
|
@@ -42,7 +42,7 @@ formatron.vpc 'vpc' do |vpc|
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
subnet.chef_server 'chef_server' do |chef_server|
|
|
45
|
-
chef_server.guid '
|
|
45
|
+
chef_server.guid 'chef<%= guid %>'
|
|
46
46
|
chef_server.version '12.2.0-1'
|
|
47
47
|
chef_server.sub_domain config['chef_server']['sub_domain']
|
|
48
48
|
chef_server.cookbooks_bucket config['chef_server']['cookbooks_bucket']
|
|
@@ -65,13 +65,13 @@ formatron.vpc 'vpc' do |vpc|
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
vpc.subnet 'public' do |subnet|
|
|
68
|
-
subnet.guid '
|
|
68
|
+
subnet.guid 'subnet<%= guid %>'
|
|
69
69
|
subnet.availability_zone '<%= params[:availability_zone] %>'
|
|
70
70
|
subnet.cidr '10.0.1.0/24'
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
vpc.subnet 'private' do |subnet|
|
|
74
|
-
subnet.guid '
|
|
74
|
+
subnet.guid 'subnet<%= guid %>'
|
|
75
75
|
subnet.availability_zone '<%= params[:availability_zone] %>'
|
|
76
76
|
subnet.cidr '10.0.2.0/24'
|
|
77
77
|
subnet.gateway 'nat'
|
|
@@ -6,7 +6,7 @@ formatron.depends '<%= params[:bootstrap_configuration] %>'
|
|
|
6
6
|
formatron.vpc '<%= params[:vpc] %>' do |vpc|
|
|
7
7
|
vpc.subnet '<%= params[:subnet] %>' do |subnet|
|
|
8
8
|
subnet.instance '<%= params[:instance_name] %>' do |instance|
|
|
9
|
-
instance.guid '
|
|
9
|
+
instance.guid 'instance<%= guid %>'
|
|
10
10
|
instance.sub_domain config['<%= params[:instance_name] %>']['sub_domain']
|
|
11
11
|
instance.chef do |chef|
|
|
12
12
|
chef.cookbook 'cookbooks/<%= params[:instance_name] %>_instance'
|
data/lib/formatron/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: formatron
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Halliday
|
|
@@ -413,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
413
413
|
version: '0'
|
|
414
414
|
requirements: []
|
|
415
415
|
rubyforge_project:
|
|
416
|
-
rubygems_version: 2.
|
|
416
|
+
rubygems_version: 2.2.2
|
|
417
417
|
signing_key:
|
|
418
418
|
specification_version: 4
|
|
419
419
|
summary: AWS/Chef Deployment Tool
|