kitchen-ec2 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.5.1 / 2013-05-23
2
+
3
+ ### New features
4
+
5
+ * Pull request [#7][]: Add subnet\_id option for use with VPC. ([@dissonanz][])
6
+
7
+
1
8
  ## 0.5.0 / 2013-05-23
2
9
 
3
10
  ### New features
@@ -14,6 +21,8 @@
14
21
  <!--- The following link definition list is generated by PimpMyChangelog --->
15
22
  [#2]: https://github.com/opscode/kitchen-ec2/issues/2
16
23
  [#5]: https://github.com/opscode/kitchen-ec2/issues/5
24
+ [#7]: https://github.com/opscode/kitchen-ec2/issues/7
25
+ [@dissonanz]: https://github.com/dissonanz
17
26
  [@fnichol]: https://github.com/fnichol
18
27
  [@halcyonCorsair]: https://github.com/halcyonCorsair
19
28
  [@mattray]: https://github.com/mattray
data/README.md CHANGED
@@ -97,6 +97,12 @@ Path to the private SSH key used to connect to the instance.
97
97
 
98
98
  The default is unset, or `nil`.
99
99
 
100
+ ### <a name="config-subnet-id"></a> subnet\_id
101
+
102
+ The EC2 [subnet][subnet_docs] to use.
103
+
104
+ The default is unset, or `nil`.
105
+
100
106
  ### <a name="config-sudo"></a> sudo
101
107
 
102
108
  Whether or not to prefix remote system commands such as installing and
@@ -132,6 +138,7 @@ driver_config:
132
138
  region: us-east-1
133
139
  availability_zone: us-east-1b
134
140
  require_chef_omnibus: true
141
+ subnet_id: subnet-6d6...
135
142
 
136
143
  platforms:
137
144
  - name: ubuntu-12.04
@@ -215,3 +222,4 @@ Apache 2.0 (see [LICENSE][license])
215
222
  [instance_docs]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
216
223
  [key_id_docs]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/verifying-your-key-pair.html
217
224
  [region_docs]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
225
+ [subnet_docs]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html
@@ -86,6 +86,7 @@ module Kitchen
86
86
  :flavor_id => config[:flavor_id],
87
87
  :image_id => config[:image_id],
88
88
  :key_name => config[:aws_ssh_key_id],
89
+ :subnet_id => config[:subnet_id],
89
90
  )
90
91
  end
91
92
 
@@ -97,6 +98,7 @@ module Kitchen
97
98
  debug("ec2:groups '#{config[:groups]}'")
98
99
  debug("ec2:tags '#{config[:tags]}'")
99
100
  debug("ec2:key_name '#{config[:aws_ssh_key_id]}'")
101
+ debug("ec2:subnet_id '#{config[:subnet_id]}'")
100
102
  end
101
103
  end
102
104
  end
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for EC2 Test Kitchen driver
24
- EC2_VERSION = "0.5.0"
24
+ EC2_VERSION = "0.5.1"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  segments:
126
126
  - 0
127
- hash: -927622726583194128
127
+ hash: 3686965333695541098
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: -927622726583194128
136
+ hash: 3686965333695541098
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 1.8.24