phlipper/chef-monit — pull request #58 by smford22 (2014-08-04 21:53:06+00:00)
Title: Updating install_binary.rb to add support for rhel platform, and changin...

...g default location of

default["monit"]["main_config_path"] for rhel platform_family.

This update adds support for rhel when using the install_binary.rb recipe by adding an init
script to a newly created templates/default/rhel folder. To make this backwards compatible, the
monit.init.rb template (compatible with Debian) has been moved to a separate folder at
templates/default/debian. The install_binary.rb recipe was updated to use:

source #{node['platform_family'}/monit.init.rb

Additionally attributes/default.rb has been updated to use /etc/monitrc as the default path for
default["monit"]["main_config_path"]