formatron 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53582a32e61c5a984b2ce3a963398f7b6ac4ffd8
4
- data.tar.gz: 42a7c9b8047d9b58ad96ed6754e3c4441140b9ce
3
+ metadata.gz: e23febc96d23ac6ff4f4470c71576e041df88940
4
+ data.tar.gz: 18f87f4c18052dcf49e427ed868c829d1e716d73
5
5
  SHA512:
6
- metadata.gz: bdec0b8c3ac59c8e2c717fd0da9f8a4d661c4a2fdeec56150d9f75c35d3d856daa211e4730af30ab83554803888f56454656386f17e2623930e584e8f86847ce
7
- data.tar.gz: c077d7d087c9a13d2c01ca5fb77fe90a9efb4505e97424a5d6b167c77b4fc8f6577c0f71cf31210da16c8b6b7c4b5bfbf18dac8131232af484f23543942d4f38
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 '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 '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 '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 '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 'CHEF<%= 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 '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 '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 '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'
@@ -1,4 +1,4 @@
1
1
  # add version to class
2
2
  class Formatron
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
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.3
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.4.5.1
416
+ rubygems_version: 2.2.2
417
417
  signing_key:
418
418
  specification_version: 4
419
419
  summary: AWS/Chef Deployment Tool