I'm using Hiera with Puppet and I want to pass the same parameter value to 
multiple classes without repeating it. Right now I've got (in Yaml):

---
class_a::database_server: myoraclebox.example.com
class_b::database_server: myoraclebox.example.com


This works, but how can I specify the server only once and still use 
Puppet's automatic parameter lookup? (I'd rather not embed an explicit 
Hiera lookup in my manifest, since that would couple it to Hiera.)

Thanks!

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