hartmantis / clamav-chef

A Chef cookbook for the Clam AntiVirus application
11 stars 57 forks source link

Remove the forced execution of freshclam on ubuntu/debian #58

Closed lotooo closed 8 years ago

lotooo commented 8 years ago

Remove the forced execution of freshclam on ubuntu (or debian based distros). It will be executed only if the attribute is set.

Fix the issue : https://github.com/RoboticCheese/clamav-chef/issues/52

hartmantis commented 8 years ago

Just merged a couple of changes that (1) add an attribute that can be overridden to skip the Freshclam run and (2) only run it initially if the .cvd files are entirely missing. The problem is that Ubuntu ships packages with no virus definitions, so ClamAV is unusable unless freshclam is executed first.