summaryrefslogtreecommitdiff
path: root/puppet/modules/clamav/manifests/unofficial_sigs.pp
blob: 2d849585e59eb7878a3b29fc63e339c38b1b5cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class clamav::unofficial_sigs {

  package { 'clamav-unofficial-sigs':
    ensure => installed
  }

  ensure_packages(['wget', 'gnupg', 'socat', 'rsync', 'curl'])

  file {
    '/var/log/clamav-unofficial-sigs.log':
      ensure  => file,
      owner   => clamav,
      group   => clamav,
      require => Package['clamav-unofficial-sigs'];

    '/etc/clamav-unofficial-sigs.conf.d/01-leap.conf':
      source  => 'puppet:///modules/clamav/01-leap.conf',
      mode    => '0755',
      owner   => root,
      group   => root,
      require => Package['clamav-unofficial-sigs'];
    }
}