chef-provisioning-aws 1.1.1 → 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/README.md +237 -12
- data/lib/chef/provider/aws_dhcp_options.rb +4 -1
- data/lib/chef/provider/aws_load_balancer.rb +1 -1
- data/lib/chef/provider/aws_route_table.rb +40 -6
- data/lib/chef/provider/aws_security_group.rb +1 -1
- data/lib/chef/provider/aws_subnet.rb +8 -1
- data/lib/chef/provider/aws_vpc.rb +47 -15
- data/lib/chef/provisioning/aws_driver/aws_provider.rb +41 -0
- data/lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb +7 -0
- data/lib/chef/provisioning/aws_driver/driver.rb +114 -43
- data/lib/chef/provisioning/aws_driver/exceptions.rb +16 -0
- data/lib/chef/provisioning/aws_driver/super_lwrp.rb +1 -1
- data/lib/chef/provisioning/aws_driver/version.rb +1 -1
- data/lib/chef/resource/aws_ebs_volume.rb +2 -2
- data/lib/chef/resource/aws_eip_address.rb +3 -0
- data/lib/chef/resource/aws_route_table.rb +31 -0
- data/lib/chef/resource/aws_security_group.rb +29 -5
- data/spec/aws_support.rb +5 -1
- data/spec/aws_support/matchers/have_aws_object_tags.rb +63 -0
- data/spec/integration/aws_ebs_volume_spec.rb +8 -8
- data/spec/integration/aws_route_table_spec.rb +33 -0
- data/spec/integration/aws_security_group_spec.rb +86 -0
- data/spec/integration/aws_tagged_items_spec.rb +160 -0
- data/spec/integration/aws_vpc_spec.rb +2 -2
- metadata +6 -3
@@ -99,10 +99,10 @@ describe Chef::Resource::AwsVpc do
|
|
99
99
|
end
|
100
100
|
|
101
101
|
it "aws_vpc 'vpc' with no attributes fails to create a VPC (must specify cidr_block)" do
|
102
|
-
|
102
|
+
expect_converge {
|
103
103
|
aws_vpc 'test_vpc' do
|
104
104
|
end
|
105
|
-
}.to
|
105
|
+
}.to raise_error(AWS::Core::OptionGrammar::FormatError, /expected string value for option cidr_block/)
|
106
106
|
end
|
107
107
|
end
|
108
108
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-provisioning-aws
|
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 Ewart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb
|
157
157
|
- lib/chef/provisioning/aws_driver/credentials.rb
|
158
158
|
- lib/chef/provisioning/aws_driver/driver.rb
|
159
|
+
- lib/chef/provisioning/aws_driver/exceptions.rb
|
159
160
|
- lib/chef/provisioning/aws_driver/resources.rb
|
160
161
|
- lib/chef/provisioning/aws_driver/super_lwrp.rb
|
161
162
|
- lib/chef/provisioning/aws_driver/version.rb
|
@@ -189,12 +190,14 @@ files:
|
|
189
190
|
- spec/aws_support/delayed_stream.rb
|
190
191
|
- spec/aws_support/matchers/create_an_aws_object.rb
|
191
192
|
- spec/aws_support/matchers/destroy_an_aws_object.rb
|
193
|
+
- spec/aws_support/matchers/have_aws_object_tags.rb
|
192
194
|
- spec/aws_support/matchers/update_an_aws_object.rb
|
193
195
|
- spec/integration/aws_ebs_volume_spec.rb
|
194
196
|
- spec/integration/aws_key_pair_spec.rb
|
195
197
|
- spec/integration/aws_route_table_spec.rb
|
196
198
|
- spec/integration/aws_security_group_spec.rb
|
197
199
|
- spec/integration/aws_subnet_spec.rb
|
200
|
+
- spec/integration/aws_tagged_items_spec.rb
|
198
201
|
- spec/integration/aws_vpc_spec.rb
|
199
202
|
- spec/integration/machine_batch_spec.rb
|
200
203
|
- spec/integration/machine_image_spec.rb
|
@@ -220,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
223
|
version: '0'
|
221
224
|
requirements: []
|
222
225
|
rubyforge_project:
|
223
|
-
rubygems_version: 2.4.
|
226
|
+
rubygems_version: 2.4.7
|
224
227
|
signing_key:
|
225
228
|
specification_version: 4
|
226
229
|
summary: Provisioner for creating aws containers in Chef Provisioning.
|