diff options
author | varac <varacanero@zeromail.org> | 2014-02-12 18:06:55 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-14 11:39:56 +0100 |
commit | 5b72aefd2d317c90198bd6d3f711cbb407b5b6c2 (patch) | |
tree | 992a26dfcd14ec55ceb3bd7ddb70a6b4d2180266 | |
parent | 185f234f15e90950ab545272e3eedbfda0c65098 (diff) | |
download | leap_cli-5b72aefd2d317c90198bd6d3f711cbb407b5b6c2.tar.gz leap_cli-5b72aefd2d317c90198bd6d3f711cbb407b5b6c2.tar.bz2 |
Include monitor node itself in hiera hosts hash (Feature #5133)
-rw-r--r-- | lib/leap_cli/config/macros.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |