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

Matt Fischer matt at mattfischer.com
Thu May 28 17:17:12 UTC 2015


This is great work guys. Can we add it to the wiki too?  Also +2 on the
name from Emilien.

On Fri, May 22, 2015 at 6:12 PM, Emilien Macchi <emilien at redhat.com> wrote:

>
>
> 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
>
>
> __________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150528/fe02c3fb/attachment.html>


More information about the OpenStack-dev mailing list