Development tools for Boxen's puppet module projects. This cardboard
RubyGem contains shared development behavior for and is a dependency
of each of the boxen/puppet-*
module projects.
To make porting easy and interfaces simple, none of Cardboard's
commands are called directly. Instead, shims in a module project's
scripts/
directory delegate to Cardboard's libexec/
commands after
making sure all dependencies are up-to-date.
Called before any other command, bootstrap
makes sure any Puppet
modules needed to run specs are available. It only runs if
spec/fixtures/Puppetfile
exists.
FIX: Runs script/syntax
, script/lint
, and script/specs
if they
exist.
Runs puppet-lint
on all .pp
files in manifests/
.
Runs all specs under spec/
.
Validates the syntax of all Puppet and Ruby files.
It's probably best to follow the structure of
Boxen's template puppet module. You can generate a stub
from this template by running boxen --new-module <module-name>
anywhere Boxen is installed.
Boxen's template makes Cardboard commands available via shims, so
script/cibuild
will run Cardboard's libexec/cibuild
command.