On Wednesday, July 20, 2016 at 4:42:59 AM UTC-5, Tobias Koeck wrote:
>
> Hi
>
> that worked. Thanks.
>
> So if I want to force the user to set the variables in Hiera I have to use 
> the hiera( .. ) function?
>
>
That's an odd way to put it, but if I understand you correctly then yes.  
In other words, if you want the variables to receive their values 
specifically from Hiera and not from anywhere else, then you should make 
them ordinary class variables, not parameters, and use the hiera() function 
to initialize them.  That seems pretty natural to me.


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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5ace2a09-dd11-4c3f-a255-28f43751a4ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to