Issue #2250 has been updated by Luke Kanies.

Category set to language
Status changed from Unreviewed to Accepted
Target version set to 0.25.0


----------------------------------------
Bug #2250: Error message for a missing template could be clearer
http://projects.reductivelabs.com/issues/2250

Author: fzzzt -
Status: Accepted
Priority: Normal
Assigned to: 
Category: language
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


I had this in my init.pp for an "openldap" module:

content => template("slapd.conf.erb")

The error I got was:

Could not retrieve catalog: can't convert nil into String at 
/etc/puppet/modules/openldap/manifests/init.pp:48 on node server7"

Turns out that changing the template() to "openldap/slapd.conf.erb" fixed it. 
Thanks to IRC. If might be helpful to make it error out saying it can't find 
the template file or something similar.


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