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

Add Red Hat support #4

Closed alexjurkiewicz closed 9 years ago

alexjurkiewicz commented 9 years ago

ping

FlorentPoinsaut commented 9 years ago

Thank you for your work! I will work to merge your work soon. Probably next week. Regards,

aamerik commented 9 years ago

Hi, thank you for this module. Can you PLEASE merge this PR? We need RHEL support big time.

Thank you

ctohastek commented 9 years ago

Tried to use the module - no go - unsupported OS Family RedHat - I think the issue is the operatingsystemrelease fact - my boxes = 6.6 --- the module allows for only '5.0' and '6.0' !!

FlorentPoinsaut commented 9 years ago

After investigation, I realize that Monit is not in official RedHat/CentOS repositories. So to really support RedHat OS Family, we should add the EPEL repositories to yum (probably with this module: https://forge.puppetlabs.com/stahnma/epel). Anyway, I don't know the best practices to do so, a line in the documentation could be enough. If you have any suggestions or if you can patch this, it will be a great help.

aamerik commented 9 years ago

@floSoX For now would it be possible to add the case statement for RedHat and implement optional EPEL support down the road?

Thanks

FlorentPoinsaut commented 9 years ago

@aamerik I did it yesterday. Thank you for your interest in our module. Regards,