On Wed, Nov 16, 2011 at 8:03 AM, flex <frostyn...@gmail.com> wrote:

> Very thanks for your detailed explanation :)
>
> For the last question, what doubt me is only fact variables in a template
> which is invoked by a define will throw the warning,
> if the template is invoked by a class, everything is ok.
>

Use it as an instance variable, like @factname

http://projects.puppetlabs.com/issues/10248

We should definitely have documented this better, and we'll do so.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to