Issue #1561 has been updated by jamtur01.

Status changed from Unreviewed to Duplicate

Effectively a duplicate of #1496 and #1420.
----------------------------------------
Bug #1561: puppet requires a unique service_description for a nagios_service
http://reductivelabs.com/redmine/issues/show/1561

Author: tstoop
Status: Duplicate
Priority: Normal
Assigned to: 
Category: nagios
Target version: 
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


However, as long as a service_description is unique to a host, Nagios does not 
require the service_description to be unique over all hosts.

Example:
<pre>
nagios_service { 
        "test1":
                ensure              => present,
                target              => "/tmp/puppettest",
                host_name           => "myhostA",
                service_description => "My Important Service",
                check_command       => "check_ok",
                use                 => "generic_service";
        "test2":
                ensure              => present,
                target              => "/tmp/puppettest",
                host_name           => "myhostB",
                service_description => "My Important Service",
                check_command       => "check_ok",
                use                 => "generic_service";
}
</pre>

You need a little bit of scaffolding to have Nagios actually test the code, but 
puppet refuses to create this in the first place. It is a correct Nagios 
service definition, though.

Using puppet 0.24.5 on Debian Etch.


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