llo...@oreillyauto.com
unread,Jun 7, 2012, 10:14:13 AM6/7/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
I am using puppet 2.7.14
I have a class that I use just to define a bunch of variables used by my module, several of them used in more than once place.
Currently I have it in module/manifests/classes/module_vars.pp
In some of the other classes, I was able to use the variables by qualifying the name - module::module_vars::var
However, I am having trouble getting these variables to show up in my templates.
First I just tried using the plain name, then I tried using
scope.lookupvar(module_vars::var)
scope.lookupvar(module::module_vars::var)
but all that shows up in my template is "undefined".
I've looked through the documentation, but I can't figure out what I am doing wrong.
Thank you.