Righto. The puppetmaster is 0.25.5-1.el5 on CentOS 5, while the puppet client is 0.25.5-1.el6 on CentOS 6. I'm aware this version is quite old now, but it looks like a significant amount of trouble to package a newer version for deployment via RPM along with its various dependencies.

I'm successfully using exported resources in several places, for Nagios and for other things. My @@nagios_host, @@nagios_service and @@nagios_hostgroup all work on any host and the entries show up in my storeconfigs database.

In the manifest that is applied to the nagios server, I am using the following lines to realise these resources:

          Nagios_host<<||>>
          Nagios_service<<||>>
          Nagios_hostextinfo<<||>>
          Nagios_servicedependency<<||>>
          Nagios_contact<<||>>
          Nagios_command<<||>>
          Nagios_servicegroup<<||>>
          Nagios_hostgroup<<||>>

There's nothing more than this. All of these realisations work, except Nagios_hostgroup. The other realisations write out /etc/nagios/nagios_host.cfg and similar files, while the Nagios_hostgroup one produces no output.

As I mentioned in my last email, no errors are reported in the puppet log on either the puppetmaster or the client, hence I'm a bit stuck debugging, with nothing to go on.

Thanks,
Jonathan


On 15/08/11 21:53, Denmat wrote:
Hi,

http://docs.puppetlabs.com/guides/exported_resources.html

You will need to include more detail for further help, like version of puppet 
and a snippet of how you are realizing them.

Do any other exported resources work in your manifest?

Cheers,
Den
On 16/08/2011, at 2:08, key...@gmail.com wrote:


Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Jonathan Gazeley<jonathan.gaze...@bristol.ac.uk>
Sender: puppet-users@googlegroups.com
Date: Mon, 15 Aug 2011 17:03:02
To: Puppet Users<puppet-users@googlegroups.com>
Reply-To: puppet-users@googlegroups.com
Subject: [Puppet Users] Nagios hostgroups

Hi all,

I'm using various exported resources for Nagios, including
@@nagios_host, @@nagios_service and others.

Elsewhere in my manifest I am using all of these commands to realise the
resources on my Nagios server. All of these commands work fine except
for Nagios_hostgroup which does not produce the file, as expected.

         Nagios_host<<||>>
         Nagios_service<<||>>
         Nagios_hostextinfo<<||>>
         Nagios_servicedependency<<||>>
         Nagios_contact<<||>>
         Nagios_command<<||>>
         Nagios_servicegroup<<||>>
         Nagios_hostgroup<<||>>

There's nothing in the puppet log either on the puppetmaster or my
Nagios server. Any ideas why this realisation isn't working, or where I
should to debug it?

Thanks,
Jonathan

--
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.

--
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.



--
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