That's quite nice, I like the reduced verbosity of the code and 
essentiality of an all in one (init.pp)  location for resources.
For better reusability I'd provide a *_template option to manage the 
templates of  all the different files you manage, leaving as the default 
the currently hardcoded ones.
Also the backup_status and archive_status arguments follow an approach that 
... erm.. was revisited in the current version of the  "ongoing standard".

Discussion about stdmod and naming standards seems faded again, and I've 
been quite distracted too.
I've had recently the need to make a Kibana (3) module and this is the 
result, for the moment, based on stdmod patterns.
https://github.com/example42/puppet-kibana

There are quite a lot other sample layouts, for different kind of modules 
that can be  done and shared.
Suppose is just a matter to show some works.


On Monday, August 5, 2013 11:01:08 PM UTC+2, Jakov Sosic wrote:
>
> On 06/26/2013 07:27 PM, Alessandro Franceschi wrote: 
> > Good point. 
> > In the doc I placed some possible examples on where to assign names, but 
> > more (or remarks on the ones listed) cases are welcomed. 
> > (Let me have your email for an invitation to edit) 
> > 
> > Btw, comments and access to: 
> > 
> https://docs.google.com/a/lab42.it/document/d/1D4OqEI5iuGJe63ODU91N6rnFKcxVAg1sAWbaQrGBlWA
>  
> > is open to everybody, and whoever writes modules should be somehow 
> > concerned. 
> > At the moment the discussion seems limited to very few people (even if I 
> > know various others are silently lurking :-) 
> > 
> > The same place of the document is to be considered temporary. 
>
> Let me just hop in and say that I'm really pleased with your stdmod 
> example, and I already did modify my first module in this way: 
>
> https://code.google.com/p/lutak/source/browse/tsm/manifests/init.pp 
>
> If you think I got something out of the order here, please post critique 
> ;) 
>
>
>
> -- 
> Jakov Sosic 
> www.srce.unizg.hr 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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