Skip Menu |

This queue is for tickets about the Nagios-Object CPAN distribution.

Report information
The Basics
Id: 92747
Status: new
Priority: 0/
Queue: Nagios-Object

People
Owner: Nobody in particular
Requestors: alastair [...] alastair-munro.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.21.19
Fixed in: (no value)



Subject: Cannot have 'define' in a comment block
Error: Error: Unexpected start of object definition in file '/etc/puppet/modules/nagios/files/cmp-nag/shared/services_templates.cfg' on line 139. define service{ name Linux-L ; The 'name' of this service template. Do not define multiple same templates use generic-service-LON ; Inherit default values from the generic-service definition contact_groups linux_admins ; Notifications get sent out to everyone in the 'linux_admins' group register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } If I remove 'define' from the comment block, all is good.