Re-apply Puppet configs while you work, thanks to Guard!
Ruby
Switch branches/tags
Pull request Compare This branch is 15 commits ahead of johnbintz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/guard
spec
.gitignore
.rspec
Gemfile
Guardfile
README.md
Rakefile
guard-puppet.gemspec

README.md

Reapply your Puppet configs automatically using Guard! Awesome!

guard 'puppet' do
  watch(%r{^(manifests|modules)})
end

It's assumed your configs are all in the current folder, which is the equivalent of --confdir=$PWD at the command line. Otherwise, there's not much use of using Guard with Puppet. :)

Four options so far:

  • :run_on_start: Apply Puppet configs when starting Guard (default: false)
  • :verbose: Show more output from Puppet (default: true)
  • :debug: Show even more output from Puppet (default: false)
  • :manifest: The main manifest file to run (default: manifests/site.pp)

Bugs and fixes? You know the drill.