From 5b72aefd2d317c90198bd6d3f711cbb407b5b6c2 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 12 Feb 2014 18:06:55 +0100 Subject: Include monitor node itself in hiera hosts hash (Feature #5133) --- lib/leap_cli/config/macros.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb index ad91245..1402161 100644 --- a/lib/leap_cli/config/macros.rb +++ b/lib/leap_cli/config/macros.rb @@ -178,7 +178,6 @@ module LeapCli; module Config hosts = {} my_location = @node['location'] ? @node['location']['name'] : nil nodes.each_node do |node| - next if node.name == @node.name hosts[node.name] = {'ip_address' => node.ip_address, 'domain_internal' => node.domain.internal, 'domain_full' => node.domain.full} node_location = node['location'] ? node['location']['name'] : nil if my_location == node_location -- cgit v1.2.3