Issue #1542 has been updated by luke.

Status changed from Ready for Testing to Ready for Checkin
Assigned to changed from luke to jamtur01
Target version set to 0.24.8
Affected version changed from 0.25.0 to 0.24.6

The code has been tested to work, so it should go into this release.
----------------------------------------
Bug #1542: cannot purge nagios objects
http://projects.reductivelabs.com:80/issues/1542

Author: marthag
Status: Ready for Checkin
Priority: Normal
Assigned to: jamtur01
Category: nagios
Target version: 0.24.8
Complexity: Unknown
Affected version: 0.24.6
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