[openstack-dev] [puppet] OpenStack Puppet modules boilerplate

Emilien Macchi emilien at redhat.com
Sat May 23 00:12:31 UTC 2015



On 05/22/2015 04:53 PM, Sebastien Badia wrote:
> Hi,
> 
> During the Puppet session (during the Vancouver summit), we talked about
> a boilerplate
> OpenStack Puppet modules for the new ones. Especially about « compliant
> » and approved
> puppet modules.
> 
> We talked about puppet-modules-skeleton (using the gareth example¹) and
> tried
> using skeleton for our needs² but unfortunately puppet module and skeleton
> boilerplate doesn't fit because we can't template a directory name or
> a file name (puppet module generate use only erb).
> 
> Spredzy therefore proposed cookiecutter (this tool is also used by
> OpenStack³),
> and it works very smoothly :-)
> For a new OpenStack puppet module, just run:
> 
>  $ cookiecutter
> https://github.com/enovance/cookiecutter-openstack-puppet-modules.git
> 
> And after a bit of msync, voila!
> 
> I'll migrate enovance/cookiecutter-openstack-puppet-modules to
> stackforge. The repo name is OK for you? Or you prefer a name starting
> by puppet- something in
> order to easily catch-up all our modules?

I would vote for puppet-openstack-cookiecutter
because it's consistent with
https://github.com/openstack-dev/oslo-cookiecutter:
<project-name>-cookiecutter.

Thanks for this work!

> 
> Yanis, Seb
> 
> ¹https://github.com/garethr/puppet-module-skeleton
> ²https://github.com/enovance/puppet-module-skeleton
> ³https://github.com/openstack-dev/cookiecutter
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

-- 
Emilien Macchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150522/2fb2d49c/attachment.pgp>


More information about the OpenStack-dev mailing list