Issue #1542 has been updated by luke.

Status changed from Accepted to Ready for Testing
Assigned to set to luke

This is fixed in the refactor/0.24.x/nagios branch in my repo.  It's currently 
a branch of 0.24.x, so my client can apply it cleanly against their current 
packages, but I'll only actually be merging it against master.
----------------------------------------
Bug #1542: cannot purge nagios objects
http://projects.reductivelabs.com/issues/show/1542

Author: marthag
Status: Ready for Testing
Priority: Normal
Assigned to: luke
Category: nagios
Target version: 
Complexity: Unknown
Affected version: 0.25.0
Keywords: 


I tried purging nagios objects by adding the followin in my site.pp:

<pre>
resources {
  nagios_host:              purge => true;
  nagios_service:           purge => true;
  nagios_servicedependency: purge => true;
}
</pre>

However, I get the follow error on the client:

<pre>
notice: Starting catalog run
err: //Resources[nagios_servicedependency]: Failed to generate additional 
resources: undefined method `record_type' for 
#<Nagios::Base::Servicedependency:0x2aaaaacf1b90>
err: //Resources[nagios_host]: Failed to generate additional resources: 
undefined method `record_type' for #<Nagios::Base::Host:0x2aaaacde3ec0>
err: //Resources[nagios_service]: Failed to generate additional resources: 
undefined method `record_type' for #<Nagios::Base::Service:0x2aaaacde7c78>
</pre>

and the objects are not purged.


----------------------------------------
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://reductivelabs.com/redmine/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