metrixware-echoes-tech / puppet-monit

Puppet module to manage monit installation and configuration
https://forge.puppetlabs.com/echoes/monit
Apache License 2.0
4 stars 48 forks source link

Disabling use of idfile to RedHat/CentOS 5 with monit 4.x #8

Closed aholen closed 9 years ago

aholen commented 9 years ago

monit 4.x on RedHat/CentOS 5 doesn't support the "idfile"-entry in monit.conf. This disables this line if osfamily == "RedHat" and operatingsystemmajrelase == "5"

FlorentPoinsaut commented 9 years ago

Hi, Nice job! I transformed a little bit your PR to be more flexible. Thank you for your PR. Regards,