From d2cc9c33d564400549014f7ccb936d4aeaa810ac Mon Sep 17 00:00:00 2001 From: Matthieu Serrepuy Date: Mon, 18 Jan 2016 11:37:13 +0100 Subject: [PATCH] https://github.com/RoboticCheese/clamav-chef/issues/52 Switch freshclam execution to delayed to avoid long chef_run --- recipes/freshclam.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/freshclam.rb b/recipes/freshclam.rb index b787182..da52582 100644 --- a/recipes/freshclam.rb +++ b/recipes/freshclam.rb @@ -54,7 +54,7 @@ :delayed end if !node['clamav']['freshclam']['enabled'] || platform_family == 'debian' - notifies :run, 'execute[freshclam]', :immediately + notifies :run, 'execute[freshclam]', :delayed end end