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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06ed7ddbaae0df4f7300893f1e13a5a4868c21bd
4
- data.tar.gz: a4be11d9182dec352ba5a4316aaa4bb39dbb1a64
3
+ metadata.gz: 4d624e7b4bd4b614d372738db1c86e7667f121dc
4
+ data.tar.gz: 07203900d622275dd80c405c681e797c6746afe3
5
5
  SHA512:
6
- metadata.gz: e5ed947f9660358c072020a8c63cb4c1df4228bfc2b4f59b6439af4a2f3802f2866359e29706a4d6f3bdf91bd96d4aa2148988ea9f4b24627d34a7a64ec9e5ed
7
- data.tar.gz: 0942609dd232d7f2ed5d8e49261882f8d86cd9c13bc958e9c753408daf951cea1fc2bae4fb3089f33f325b96201233053f933a86dc2254516e05814d478edb93
6
+ metadata.gz: d9fdd4e21f0a130ca4f61b929e08320c177b8c27d353d2d7ba6a2f118d3b1ed385b1a0eb493a70666cce1349f2ec5bf11a555b1ac7d1f96858b945cee2d912a0
7
+ data.tar.gz: 77a669c2f8449a8ef35b89bc8cb151f72329eaea3a752258ce9875f1fc5f8e183ed4474f233186fb8b50c6239140e538c32b08abfa50c8534946cd6d8e894ede
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.2.4
2
+ * Fix apply stack parameter processing
3
+
1
4
  ## v0.2.2
2
5
  * Fix redis-objects loading in cache helper
3
6
 
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 = valid_parameters.map do |snake_param, camel_param|
170
- unless(Chef::Config[:knife][:cloudformation][:ignore_parameters].include?(camel_param))
171
- [snake_param, camel_param]
172
- end
173
- end.compact
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|
@@ -1,4 +1,4 @@
1
1
  module KnifeCloudformation
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.2.2')
3
+ VERSION = Gem::Version.new('0.2.4')
4
4
  end
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.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-19 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef