1
0
Fork 0
Whatpulse Puppet Module for Boxen
Go to file
Johan Haals a0523de6f3 librarian-puppet version bump 2013-08-21 11:33:44 -07:00
manifests Use anchor instead of notify 2013-04-04 09:23:00 +02:00
script Simplify execution, just use `bundle exec` 2013-02-13 11:10:10 -08:00
spec update puppetfile 2013-05-02 01:31:16 -04:00
.gitignore fixes broken script/cibuild 2013-04-02 09:50:47 +02:00
.travis.yml adds travis.yml 2013-04-02 19:52:55 +02:00
CONTRIBUTING.md I hate widows 2013-02-13 12:05:42 -08:00
Gemfile cardboard 1.0 2013-02-13 20:16:51 -08:00
Gemfile.lock librarian-puppet version bump 2013-08-21 11:33:44 -07:00
LICENSE Bump dat copyright date 2013-02-13 10:44:03 -08:00
README.md Change GITHUB_API_KEY to GITHUB_API_TOKEN, because librarian-puppet expects it 2013-05-25 12:02:05 -07:00

README.md

Using this Template

Bootstrap it:

mkdir -p ~/src/boxen/puppet-mynewmodule
cd ~/src/boxen/puppet-mynewmodule
git init .
git remote add template https://github.com/boxen/puppet-template.git
git fetch template
git checkout -b master template/master

Now we're ready to make it our own!

script/cibuild
.bundle/binstubs/rspec-puppet-init

Now you'll need to edit manifests/init.pp and spec/classes/template_spec.rb for your module. If your module has other dependencies, be sure to update spec/fixtures/Puppetfile. From then on, you can use script/cibuild to run the tests.

When you're ready to push:

git create githubusername/puppet-mynewmodule
git push origin master

The rest of the README as follows can be used as a template for your module's README.

Template Puppet Module for Boxen

An example of how we write Puppet modules for Boxen. Replace this paragraph with a short explanation of what the heck makes your module useful.

A great module has a working travis build

Build Status

Usage

boxen::example { 'best example ever':
  salutation => 'fam'
}

Required Puppet Modules

  • boxen
  • anything-else

Development

Set GITHUB_API_TOKEN in your shell with a Github oAuth Token to raise your API rate limit. You can get some work done without it, but you're less likely to encounter errors like Unable to find module 'boxen/puppet-boxen' on https://github.com.

Then write some code. Run script/cibuild to test it. Check the script directory for other useful tools.