Presentation - paraglade/puppet_meetup GitHub Wiki

rerun

takes the hassle of writing scripts and lets you focus on what you need them for

stubbs module used for various tasks used for module development

Running commands

Rerun has a simple syntax.

$ rerun module:command [options]

The "module" is the name of the module. The "command" is the name of the command in the module you want to execute. The "[options]" are any command line options the command supports.

modules

collection of command and options

add module

rerun stubbs:add-module --module --tools--description "collection of useful tools"

add command

rerun stubbs:add-command --module tools --command weather --description "gets weather forecast"

edit command

rerun stubbs:edit --module tools --command weather

add option

rerun stubbs:add-option --module tool --command weather

run commands in module

rerun stubbs:add-option --module tool --command weather
rerun stubbs:add-option --module tool --command weather --city chandler

documenting

rerun stubbs:docs --module tool
nroff -man /home/vagrant/rerun/modules/tool/docs/tool.1 | less

packaging

rerun stubbs:archive --modules 'tools'
rerun stubbs:archive --modules 'tools' --format deb
dpkg -c rerun-tool_1.3.0-1_all.deb

project wiki

rerun wiki