hi,
What's the best way to refer variables which pass as defined resource
parameter
from template erbs?
I've been made many modules which has resource definitions containing
file templating.
After I upgrade my puppet version to 2.7.0rc (debian experimental),
I'm getting many
warnings "Dynamic lookup is deprecated. Support will be removed in
Puppet 2.8.".
I can surpress this warnings with rewriting from:
<%= some_arg %>
to:
<%= scope.to_hash.fetch('some_arg') %>, but this should be bad way
because
it seems ugly and meaningless.
(It's not an explicit scope declaration, simply variable-syntax
longed...)
regards,
--
KURASHIKI Satoru
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.