skip to content
james@kartar:~/2011/6/puppet-growl
contents

Puppet Growl

Releasing a report processor that ships failed Puppet runs as Growl notifications to a desktop Growl server over UDP port 9887

1 min read

# written 15 years ago; commands, versions and links may have changed

Today’s report processor is

Puppet Growl

It sends failed reports as Growl notifications to a Growl server. Firstly, install the ruby-growl gem on your Puppet master:

$ sudo gem install ruby-growl

Then install puppet-growl as a module in your Puppet master’s module path. Update the growl_server variables in the growl.yaml file with the IP address of the host to receive the Growl notification and copy the file to /etc/puppet/. An example file is included.

On your Growl host enable the “Listen for incoming connections” and “Allow remote application registration” options in your Growl configuration. Ensure UDP port 9887 is open on the host and on any firewalls in between the Puppet master and the host.

Lastly, enable pluginsync and reports on your master and clients in puppet.conf:

[master]
report = true
reports = growl
pluginsync = true
[agent]
report = true
pluginsync = true

And run the Puppet client and sync the report as a plugin. Your Puppet master should now send Growl notifications to your target host whenever a Puppet run fails.

$ whoami

I'm James Turnbull. I lead engineering teams, build products, and write on technology. More about me.