zerigo-designate 0.0.8.pre.5 → 0.0.8
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.
- data/lib/designate/capistrano.rb +2 -1
- data/lib/designate/version.rb +1 -1
- metadata +8 -12
data/lib/designate/capistrano.rb
CHANGED
@@ -37,7 +37,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
37
37
|
|
38
38
|
def get_expired_hosts(subzone)
|
39
39
|
hostnames = []
|
40
|
-
|
40
|
+
capec2 = CapifyEc2.new
|
41
|
+
roles.each {|role| hostnames << capec2.get_instances_by_role(role[0]).map {|instance| instance.name}}
|
41
42
|
hostnames.flatten!
|
42
43
|
subzone.hosts.delete_if {|host| hostnames.find {|hostname| hostname == host.hostname}}.map {|host| host.hostname}
|
43
44
|
end
|
data/lib/designate/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zerigo-designate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 15
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 8
|
10
|
-
|
11
|
-
- 5
|
12
|
-
version: 0.0.8.pre.5
|
10
|
+
version: 0.0.8
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- James Miller
|
@@ -18,7 +16,7 @@ autorequire:
|
|
18
16
|
bindir: bin
|
19
17
|
cert_chain: []
|
20
18
|
|
21
|
-
date: 2012-
|
19
|
+
date: 2012-04-16 00:00:00 +01:00
|
22
20
|
default_executable:
|
23
21
|
dependencies:
|
24
22
|
- !ruby/object:Gem::Dependency
|
@@ -130,14 +128,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
129
|
none: false
|
132
130
|
requirements:
|
133
|
-
- - "
|
131
|
+
- - ">="
|
134
132
|
- !ruby/object:Gem::Version
|
135
|
-
hash:
|
133
|
+
hash: 3
|
136
134
|
segments:
|
137
|
-
-
|
138
|
-
|
139
|
-
- 1
|
140
|
-
version: 1.3.1
|
135
|
+
- 0
|
136
|
+
version: "0"
|
141
137
|
requirements: []
|
142
138
|
|
143
139
|
rubyforge_project:
|