nagios: hostgroup_members in hostgroup is not being generated

When trying to create a nagios hostgroup using sub-hostgroups via hostgroup_members, the hostgroup is generated as an empty hostgroup

nagios_hostgroup `a` do
    options 'hostgroup_members' => 'x,y,z'
end

generates

define hostgroup {
  hostgroup_name a
}

but should generate

define hostgroup {
  hostgroup_name a
  hostgroup_members x,y,z
}

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

great thanks. I’ll give it a shot later and let you know. On Tue, Oct 11, 2016 at 1:09 PM Sander Botman notifications@github.com wrote:

Phfff, seems that it’s a typo bug… Nice find @tonymeng https://github.com/tonymeng… updated the develop branch for the moment.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schubergphilis/nagios/issues/501#issuecomment-253030818, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4FhQnlC-DKe_8I8fae4PeXUO-GlAAFks5qy-0EgaJpZM4KRVXs .