On Friday, July 12, 2013 2:04:36 PM UTC-5, Brian Warsing wrote:
This:

> Error: Could not find data item test::message in any Hiera data file and 
> no default supplied at /etc/puppet/manifests/test.pp:17 on node node.foo.bar


Tells you exactly what the problem is.  Puppet is trying to look up a value 
for the parameter by the parameter's fully-qualified (but non-absolute) 
name, "test::message".  Your data instead contain a key "test", whose 
corresponding value happens to be a hash that has "message" among its own 
keys.  That's not the same thing at all.  To provide a value intended for 
automatic binding to your class parameter, your data should look like this:

---
test::message: This message brought to you by hiera


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to