ironfan 6.1.4 → 6.1.5
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/ironfan/dsl/cluster.rb +4 -0
- data/lib/ironfan/dsl/component.rb +1 -1
- data/lib/ironfan/dsl/facet.rb +5 -1
- data/lib/ironfan/provider/ec2/security_group.rb +0 -2
- data/lib/ironfan/provider/openstack/security_group.rb +0 -2
- data/lib/ironfan/version.rb +1 -1
- data/spec/ironfan/plugin_spec.rb +1 -1
- metadata +5 -5
data/lib/ironfan/dsl/cluster.rb
CHANGED
@@ -110,7 +110,7 @@ module Ironfan
|
|
110
110
|
discovery = {discovers: keys.reverse.inject(compute.realm_name){|hsh,key| {key => hsh}}}
|
111
111
|
(compute.facet_role || compute.cluster_role).override_attributes(discovery)
|
112
112
|
|
113
|
-
client_group_v = compute.
|
113
|
+
client_group_v = compute.full_cluster_name
|
114
114
|
server_group_v = "#{realm_name}-#{server_cluster}"
|
115
115
|
|
116
116
|
group_edge(compute, client_group_v, :authorized_by_group, server_group_v)
|
data/lib/ironfan/dsl/facet.rb
CHANGED
@@ -209,8 +209,6 @@ module Ironfan
|
|
209
209
|
server.security_group computer.server.realm_name
|
210
210
|
realm_group = server.security_group cluster_name
|
211
211
|
realm_group.authorized_by_group realm_group.name
|
212
|
-
facet_name = "#{computer.server.realm_name}-#{computer.server.cluster_name}-#{computer.server.facet_name}"
|
213
|
-
server.security_group facet_name
|
214
212
|
end
|
215
213
|
|
216
214
|
# Try an authorization, ignoring duplicates (this is easier than correlating).
|
@@ -192,8 +192,6 @@ module Ironfan
|
|
192
192
|
server.security_group computer.server.realm_name
|
193
193
|
realm_group = server.security_group cluster_name
|
194
194
|
realm_group.authorized_by_group realm_group.name
|
195
|
-
facet_name = "#{computer.server.realm_name}-#{computer.server.cluster_name}-#{computer.server.facet_name}"
|
196
|
-
server.security_group facet_name
|
197
195
|
end
|
198
196
|
|
199
197
|
# Try an authorization, ignoring duplicates (this is easier than correlating).
|
data/lib/ironfan/version.rb
CHANGED
data/spec/ironfan/plugin_spec.rb
CHANGED
@@ -197,7 +197,7 @@ describe Ironfan::Dsl::Component do
|
|
197
197
|
end
|
198
198
|
|
199
199
|
it 'correctly sets the server cluster even when the client and server facets differ' do
|
200
|
-
bam_wak_group = Ironfan.realm(:wap).cluster(:bam).facet(:wak).security_group('wap-bam
|
200
|
+
bam_wak_group = Ironfan.realm(:wap).cluster(:bam).facet(:wak).security_group('wap-bam')
|
201
201
|
bam_wak_group.group_authorized_by.should include('wap-bop')
|
202
202
|
end
|
203
203
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ironfan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|
@@ -318,7 +318,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
318
318
|
version: '0'
|
319
319
|
segments:
|
320
320
|
- 0
|
321
|
-
hash: -
|
321
|
+
hash: -1549978331265274060
|
322
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
323
323
|
none: false
|
324
324
|
requirements:
|
@@ -327,10 +327,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
327
327
|
version: '0'
|
328
328
|
segments:
|
329
329
|
- 0
|
330
|
-
hash: -
|
330
|
+
hash: -1549978331265274060
|
331
331
|
requirements: []
|
332
332
|
rubyforge_project:
|
333
|
-
rubygems_version: 1.8.
|
333
|
+
rubygems_version: 1.8.25
|
334
334
|
signing_key:
|
335
335
|
specification_version: 3
|
336
336
|
summary: Infochimps' lightweight cloud orchestration toolkit, built on top of Chef.
|