On Wednesday, September 18, 2013 7:36:01 AM UTC-5, Jason Antman wrote:
>
> I'm in the process of rolling out a new homegrown ENC (we've decided on 
> using an ENC over hiera; I know it's not the way a lot of you are going, 
> but it's right for us) and am running into some issues with variable 
> interpolation in ENC data. 
>
>

That's because Puppet does not do any interpolation of variable and 
parameter values specified by an ENC.  Interpolation is a DSL feature, and 
using an ENC to declare variables and parameters bypasses the DSL.  
Therefore, if you want to use an ENC then it must be smart enough to output 
the needed values as literals.  You might be able to massage that 
requirement a little, however, by creating wrapper classes for your ENC to 
declare, wherein the desired interpolation is performed and the results 
forwarded to the real target classes.  


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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
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