Sha256: 1f99f8bca9bc7040c7e3507bac583d78cb8d19c88eea89fbbedf7983afad5adc

Contents?: true

Size: 797 Bytes

Versions: 18

Compression:

Stored size: 797 Bytes

Contents

# $Id: Generated by chef for node: <%= node['hostname'] %>
# ----------------------------------------------------------------
# NOTE: This file is controlled by chef templates!
# Do not edit or change this file but change the following:
# template file : hostgroups.cfg.erb
# ----------------------------------------------------------------
# Hostgroup definitions
# ----------------------------------------------------------------

define hostgroup {
  hostgroup_name all
  alias all
<% if node['nagios']['regexp_matching'] == 1 -%>
  members .*
<% else -%>
  members *
<% end -%>
}

<% Nagios.instance.hostgroups.each do |key,hostgroup| -%>
<% if hostgroup.name.nil? # Skipping all the template hosts %>
<%= hostgroup.definition unless hostgroup.hostgroup_name == 'all' %>

<% end %>
<% end -%>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cloud-mu-2.0.4 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.1.0beta cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.3 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.2 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.1 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.beta3 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.beta2 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.beta1 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha9 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha8 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha7 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha6 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha5 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha4 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha3 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha2 cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-2.0.0.pre.alpha cookbooks/nagios/templates/default/hostgroups.cfg.erb
cloud-mu-1.9.0.pre.beta cookbooks/nagios/templates/default/hostgroups.cfg.erb