knife-cloudformation 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +13 -0
- data/lib/knife-cloudformation/monkey_patch/stack.rb +7 -5
- data/lib/knife-cloudformation/version.rb +1 -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: 4d624e7b4bd4b614d372738db1c86e7667f121dc
|
4
|
+
data.tar.gz: 07203900d622275dd80c405c681e797c6746afe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9fdd4e21f0a130ca4f61b929e08320c177b8c27d353d2d7ba6a2f118d3b1ed385b1a0eb493a70666cce1349f2ec5bf11a555b1ac7d1f96858b945cee2d912a0
|
7
|
+
data.tar.gz: 77a669c2f8449a8ef35b89bc8cb151f72329eaea3a752258ce9875f1fc5f8e183ed4474f233186fb8b50c6239140e538c32b08abfa50c8534946cd6d8e894ede
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -40,6 +40,19 @@ knife[:cloudformation][:credentials] = {
|
|
40
40
|
}
|
41
41
|
```
|
42
42
|
|
43
|
+
If are using OpenStack:
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
# .chef/knife.rb
|
47
|
+
|
48
|
+
knife[:cloudformation][:credentials] = {
|
49
|
+
:open_stack_username => ENV['OPENSTACK_USERNAME'],
|
50
|
+
:open_stack_password => ENV['OPENSTACK_PASSWORD'],
|
51
|
+
:open_stack_identity_url => ENV['OPENSTACK_IDENTITY_URL'],
|
52
|
+
:open_stack_tenant_name => ENV['OPENSTACK_TENANT']
|
53
|
+
}
|
54
|
+
```
|
55
|
+
|
43
56
|
## Commands
|
44
57
|
|
45
58
|
* `knife cloudformation list`
|
@@ -166,11 +166,13 @@ module KnifeCloudformation
|
|
166
166
|
end.compact
|
167
167
|
]
|
168
168
|
if(defined?(Chef::Config) && Chef::Config[:knife][:cloudformation][:ignore_parameters])
|
169
|
-
valid_parameters =
|
170
|
-
|
171
|
-
[
|
172
|
-
|
173
|
-
|
169
|
+
valid_parameters = Hash[
|
170
|
+
valid_parameters.map do |snake_param, camel_param|
|
171
|
+
unless(Chef::Config[:knife][:cloudformation][:ignore_parameters].include?(camel_param))
|
172
|
+
[snake_param, camel_param]
|
173
|
+
end
|
174
|
+
end.compact
|
175
|
+
]
|
174
176
|
end
|
175
177
|
if(persisted?)
|
176
178
|
remote_stack.outputs.each do |output|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-cloudformation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|