summaryrefslogtreecommitdiff
path: root/puppet/modules/clamav/manifests/freshclam.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/clamav/manifests/freshclam.pp')
-rw-r--r--puppet/modules/clamav/manifests/freshclam.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/puppet/modules/clamav/manifests/freshclam.pp b/puppet/modules/clamav/manifests/freshclam.pp
index b9827ede..80c822a4 100644
--- a/puppet/modules/clamav/manifests/freshclam.pp
+++ b/puppet/modules/clamav/manifests/freshclam.pp
@@ -8,14 +8,16 @@ class clamav::freshclam {
enable => true,
name => clamav-freshclam,
pattern => '/usr/bin/freshclam',
- hasrestart => true;
+ hasrestart => true,
+ require => Package['clamav-freshclam'];
}
file_line {
'freshclam_notify':
- path => '/etc/clamav/freshclam.conf',
- line => 'NotifyClamd /etc/clamav/clamd.conf',
- notify => Service[freshclam];
+ path => '/etc/clamav/freshclam.conf',
+ line => 'NotifyClamd /etc/clamav/clamd.conf',
+ require => Package['clamav-freshclam'],
+ notify => Service['freshclam'];
}
}