FWIW, I find I agree with jcbollinger on this one -- the class parameter 
declaration block is not a code block, so you should not use variables 
defined there to define other variables in the same block.  That it works 
at all is surprising, and probably down to the order the parameters are 
processes (which, as it most likely depends on hash table sequence, is 
going to appear random)

Best practice would seem to be to make the variables default to null, and 
then use subsequent evaluations within the class code to perform the 
relevant defaulting, as he said.

Steve



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/ocjQmdnOX3sJ.
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