Issue #4020 has been updated by Andrew  Parker.

Status changed from In Topic Branch Pending Review to Code Insufficient
Assignee deleted (Daniel Pittman)
Target version deleted (2.7.x)

Updating this one based on what its current state seems to be. I don't think 
this will be targeted at 2.7, but it is still an open question what we are 
going to do.

There seem to be several bugs that are still open and related to nagios that we 
need to make a decision about.
----------------------------------------
Bug #4020: metaparameter "hostgroups" in nagios_host type should accept arrays
https://projects.puppetlabs.com/issues/4020#change-73246

Author: Gabriel Filion
Status: Code Insufficient
Priority: Normal
Assignee: 
Category: nagios
Target version: 
Affected Puppet version: 
Keywords: communitypatch
Branch: 


When supplying an array of strings to the hostgroups value of nagios_host 
resources, the strings should be joined by commas.

currently, doing so:

    nagios_host{ "foo.bar":
    address => "foo.bar",
    hostgroups => ["hello", "world"],
}

results in something like the following:

    define host {
    address      foo.bar
    host_name    foo.bar
    hostgroups   hello
}

It should instead read:

    define host {
    address      foo.bar
    host_name    foo.bar
    hostgroups   hello,world
}



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to