Closed lelutin closed 6 years ago
this is really slowly coming. I've started to implement using "data in modules" to replace all of the wrapper-classes. This will be a big API change from this module's 2.x code branch so I want to finish this before releasing 3.0.0 but I've been either too busy or too tired to complete the change.
but it's coming soon, promised!
While working on this, I'm also brushing up on all of the new features in puppet 4.x and 5.x that I'm late in learning about, and specifically I need to figure out more precisely which types will be given to arguments so that the big change with regards to the example jails will be holding together.
stay tuned...
I finally woke up from my deep winter slumber!
sorry it took so much time, but here it is. I just pushed 3a2b47f which replaces all wrappers for data-in-module structures.
I only have a couple small items to complete before 3.0.0 is released now! The biggest hurdle is now behind.
In puppet 4.x, it's possible to pass all parameters from the "current define" to another one. e.g. what some ppl call the "resource wrapper pattern": https://www.devco.net/archives/2016/02/28/the-resource-wrapper-pattern-in-puppet-4.php
Instead of always defining a new list of parameters for each pre-defined jail, we should only manually set default values, and then pass on all other parameters to the "jail" defined type.
this is only possible in puppet 4.x however