Skip to content

Commit

Permalink
hartmantis#52 Remove the forced execution of freshclam on ubuntu. It …
Browse files Browse the repository at this point in the history
…will be executed only if the attribute is set
  • Loading branch information
Matthieu Serrepuy committed Feb 2, 2016
1 parent d2cc9c3 commit abfb600
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipes/freshclam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
if node['clamav']['freshclam']['enabled']
notifies :restart, "service[#{node['clamav']['freshclam']['service']}]",
:delayed
end
if !node['clamav']['freshclam']['enabled'] || platform_family == 'debian'
else
notifies :run, 'execute[freshclam]', :delayed
end
end
Expand Down

0 comments on commit abfb600

Please sign in to comment.