On 11-03-11 12:46, Martijn Grendelman wrote:
[snip]

> I did exactly what you did: use exported concat-fragments to collect the
> hostgroups on the puppetmaster and then use generate() to provision the
> hostgroups parameter of the nagios_host.

[snip]

> The biggest downside of my system so far, is the fact that, in a
> worst-case scenario, it takes 90 minutes for a configuration change to
> propagate to Nagios.

I now replaced the exported concat fragments with local concat fragments
and a custom fact, which reads the result of the concat and joins it into
a comma-separated string.

Dependencies make sure that the concats are done before the nagios_hosts
are exported.

This removes the need to collect anything on the puppetmaster and reduces
the time needed to propagate a configuration change to Nagios in the worst
case to 30 minutes.

Best regards,
Martijn.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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