Re-apply Puppet configs while you work, thanks to Guard!
Go to file
2011-06-30 23:53:15 -04:00
lib/guard actually execute puppet, derp 2011-06-30 23:53:15 -04:00
spec rearrange and simplify things for the most common use case 2011-06-30 23:16:16 -04:00
.gitignore initial commit 2011-06-30 22:48:18 -04:00
Gemfile initial commit 2011-06-30 22:48:18 -04:00
guard-puppet.gemspec proper gemspec 2011-06-30 22:53:55 -04:00
Guardfile initial commit 2011-06-30 22:48:18 -04:00
Rakefile initial commit 2011-06-30 22:48:18 -04:00
README.md rearrange and simplify things for the most common use case 2011-06-30 23:16:16 -04:00

Reapply your Puppet configs automatically using Guard! Awesome!

guard 'puppet', :verbose => true, :manifest => 'manifests/site.pp' 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. :)

Two options so far:

  • :verbose: Show more output from Puppet (default: true)
  • :manifest: The main manifest file to run (default: manifests/site.pp)

Bugs and fixes? You know the drill.