knife-cloudstack-fog 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -56,10 +56,10 @@ class Chef
|
|
56
56
|
temp = templates
|
57
57
|
|
58
58
|
if templateid = options[:templateid]
|
59
|
-
temp.reject!{|t| t['id'] != templateid
|
59
|
+
temp.reject!{|t| t['id'] != templateid}
|
60
60
|
end
|
61
61
|
if zoneid = options[:zoneid]
|
62
|
-
temp.reject!{|t| t['zoneid'] != zoneid
|
62
|
+
temp.reject!{|t| t['zoneid'] != zoneid}
|
63
63
|
end
|
64
64
|
if zone = options[:zone]
|
65
65
|
temp.reject!{|t| t['zonename'] != zone}
|
@@ -108,6 +108,7 @@ class Chef
|
|
108
108
|
|
109
109
|
settings = connection.list_templates('templatefilter' => filter)
|
110
110
|
if response = settings['listtemplatesresponse']
|
111
|
+
Chef::Log.debug("Response: #{response}")
|
111
112
|
if templates = response['template']
|
112
113
|
filters = {}
|
113
114
|
filters[:hypervisor] = hypervisor unless hypervisor == 'all'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-cloudstack-fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-01-
|
15
|
+
date: 2013-01-30 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: fog
|