My colleague and I are maintaining a “Puppet boilerplate modules” project (something like puppet module generate on steroids). To keep up with the OSS spirit, we thought it would be a good idea to share it with the community.
The project helps you to create high quality Puppet modules in a fast and comfortable way. Main goals are to boost efficiency and Puppet code quality. Use it if you want to get module skeletons with:
$ git clone git://github.com/syn-systems/puppet-boilerplate-modules.git
$ ./puppet-boilerplate-modules/newmodule.sh
Hint: You can provide the answers by using parameters. Use newmodule.sh -h to get a parameter listing and usage instructions.
The puppet-boilerplate-modules-example-content repository is your friend if you need more help. It provides example modules including detailed creation transcripts.1)
newmodule.sh):application-002 boilerplate comes with the following files in /manifests:init.ppparams.ppinit.pp) and manages internal module variables. Therefore, many operating system dependent differences like package names are addressed in here.package.ppconfig.ppinit.pp.repo.ppinit.pp.FIXME/TODO. E.g. when the package list or some class calls when using the application-002 boilerplate.Update 2012-05-30: I changed the links and text regarding the new puppet example content.