Hello,

On 2010-06-15 21:17, donavan wrote:
> On Jun 14, 11:07 pm, Gabriel Filion <lelu...@gmail.com> wrote:
>> bug or missing feature.. I haven't tried it with 0.25.5, though. I'm on
>> Debian unstable, using the puppet/puppetmaster packages, so the version
>> is 0.25.4
>>
>> should I open a bug report about this?
> 
> Take a look on puppet-dev group and the issues db. If there's nothing
> found I'd just open a bug. Worst case it's a no action and youre in
> the same spot.
> 

For those interested, I've opened a feature request for supporting lists
with the "hostgroups" argument to nagios_host:

http://projects.puppetlabs.com/issues/4020

There is also a possibility that this feature could be useful with other
nagios resource values. If you think of any other that you'd like to see
support lists of strings, then please comment on this feature request.

>> Interesting. I'll try this out in the next few days and give you
>> feedback on whether this workaround does the job.
> 
> If you use a variable, like $nagios_hostgroups, you may also need to
> specify the namespace. As an example ${nagios::nagios_hostgroups}
> provides a way to access your variable from any other class. Don't
> recall how that works with templates though.
> 

Maybe using an external function to store the collected values could be
a solution.. but then, we would be somewhat reimplementing puppet's
virtual resource realization feature.

Does anyone see an interest in making puppet able to collect values into
a list from arbitrary sub-scopes, other than for implementing host-based
nagios configuration?

-- 
Gabriel Filion

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to