Automatic syntax checking for your puppet manifests, instant notifications to your desktop using Growl
- Puppet-growl is a ruby script that watches if there is any changes to your puppet manifests (by monitoring .pp files) and sends notifications to your desktop if the puppet manifest you just created/edited passes the syntax checks or not.
- It aims to facilitate the development of puppet code by sending instant notifications to your OS X desktop.
sudo gem install eventmachine ruby-growl em-dir-watcher
- Edit the "dir" variable in puppet-growl.rb with the full path of your puppet manifests.
- Make sure to allow the following in Growl preferences: Listen for incoming connections, allow remote application registration.
- Run the script:
sudo ruby puppet-growl.rb
Libnotify support has been added by @cleonte, check out puppet-watcher at https://github.com/cleonte/puppet-watcher