diff options
author | varac <varacanero@zeromail.org> | 2014-02-17 13:50:42 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-18 16:00:23 +0100 |
commit | 2436fddb4a63075f74f295bacd23128c766beb4c (patch) | |
tree | 43ba485523eb7602e37b323791f27c15b57fa5ea /puppet/modules/site_check_mk | |
parent | bd7a0f98ce0819fcc06ad8dcf11600a78577750d (diff) |
Remove adding of hosts from site_nagios::server (Feature #5132)
because now, check_mk will add the hosts
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r-- | puppet/modules/site_check_mk/manifests/server.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_check_mk/manifests/server.pp b/puppet/modules/site_check_mk/manifests/server.pp index 625fc688..e77862e5 100644 --- a/puppet/modules/site_check_mk/manifests/server.pp +++ b/puppet/modules/site_check_mk/manifests/server.pp @@ -8,7 +8,7 @@ class site_check_mk::server { $nagios_hiera = hiera_hash('nagios') $hosts = $nagios_hiera['hosts'] - $all_hosts = inline_template("<% @hosts.keys.sort.each do |key| -%>\"<%= key %>\", <% end -%>") + $all_hosts = inline_template ('<% @hosts.keys.sort.each do |key| -%>"<%= @hosts[key]["domain_internal"] %>", <% end -%>') package { 'check-mk-server': ensure => installed, |