lib/ironfan/dsl/component.rb in ironfan-6.1.4 vs lib/ironfan/dsl/component.rb in ironfan-6.1.5
- old
+ new
@@ -108,10 +108,10 @@
def wire_to(compute, keys)
discovery = {discovers: keys.reverse.inject(compute.realm_name){|hsh,key| {key => hsh}}}
(compute.facet_role || compute.cluster_role).override_attributes(discovery)
- client_group_v = compute.full_name
+ client_group_v = compute.full_cluster_name
server_group_v = "#{realm_name}-#{server_cluster}"
group_edge(compute, client_group_v, :authorized_by_group, server_group_v)
Chef::Log.debug("#{client_group_v} authorized by #{server_group_v}")
if bidirectional