Re: [Puppet Users] Coding style best practise

2013-04-04 Thread Nikola Petrov
Strangely enough, I lately started to move my params out of params classes and into the init class. I really prefer to have example::param1 in my hiera instead of the example::params::param1. Will be glad to hear what the params class actually buys you as a pattern. For me the params class makes m

[Puppet Users] Coding style best practise

2013-04-04 Thread Thomas Bendler
Hi @all, I've started rewriting some of my modules to achieve separation of logic and data. So I did some standard layout with init.pp and params.pp for default values and parametrized classes for individual configuration like this: class example ( $parameter1 = hiera('example::parameter1', $ex