Closed flinkflonk closed 4 years ago
Looks good to me. Thanx for the contribution!
@flinkflonk looks like the build is failing now: https://travis-ci.org/github/edestecd/puppet-clamav
I already merged this so if you have time could you make another PR? If not I will get to it eventually.
It looks like $freshclam_service
isn't defined for CentOS 6
This was actually easier than I anticipated.
The only change had to be made in the params, where I now set the service name to be a defined string (with the correct service name of course) while it stays undefined for RHEL/Centos 7.
Testing on my RHEL8 server, without the hack I used to circumvent the module's behaviour, showed no errors, and since the change is quite minimal I don't think it will break on RHEL7.
Michael Hinz