Issue #12387 has been updated by Justin Honold.

Yes, this was a case of me assuming, then hoping, that they exposed attributes 
in the same way as defines.  Thanks for the clarification!
----------------------------------------
Bug #12387: nagios_service improperly resolving $title ?
https://projects.puppetlabs.com/issues/12387#change-54229

Author: Justin Honold
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Take, for example, the following snippet:

    nagios_service { 'check_ssh':
      use                 => 'my-service',
      check_command       => 'check_ssh',
      hostgroup_name      => 'my-hostgroup',
      service_description => "$title",
    }

I would expect that to set the 'service_description' field to 'check_ssh'.  
Instead, it sets it to 'nagios::alerts', the name of the CLASS in which the 
declaration is contained.  Is this a bug?


-- 
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://projects.puppetlabs.com/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