summaryrefslogtreecommitdiff
path: root/puppet/modules/clamav
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2015-10-15 17:12:48 -0400
committervarac <varacanero@zeromail.org>2015-10-17 13:16:38 +0200
commit2443311119a618e544f0f701c4a596690a3fcd05 (patch)
tree691642630e34eea230c8b009b1f120b8abc3017a /puppet/modules/clamav
parent81763f22e0e5515fa2a3b9c8a65050692bb1cf74 (diff)
switch to ensure_packages to avoid puppet duplicate package definitions (#7530)
Change-Id: I398b929fc96cf64e46075266ace0d8d1145b3aac
Diffstat (limited to 'puppet/modules/clamav')
-rw-r--r--puppet/modules/clamav/manifests/unofficial_sigs.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/clamav/manifests/unofficial_sigs.pp b/puppet/modules/clamav/manifests/unofficial_sigs.pp
index 316154d3..2d849585 100644
--- a/puppet/modules/clamav/manifests/unofficial_sigs.pp
+++ b/puppet/modules/clamav/manifests/unofficial_sigs.pp
@@ -1,10 +1,11 @@
class clamav::unofficial_sigs {
- package { [ 'clamav-unofficial-sigs', 'wget', 'gnupg',
- 'socat', 'rsync', 'curl' ]:
+ package { 'clamav-unofficial-sigs':
ensure => installed
}
+ ensure_packages(['wget', 'gnupg', 'socat', 'rsync', 'curl'])
+
file {
'/var/log/clamav-unofficial-sigs.log':
ensure => file,