From 0a000c06d40c6acdc443de790364032c429e1176 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 3 Dec 2010 12:10:10 +0100 Subject: [PATCH] Cannot ensure a package is installed more than once --- modules/rsyncd-log/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/rsyncd-log/manifests/init.pp b/modules/rsyncd-log/manifests/init.pp index ae461d866..ca3c4f7c8 100644 --- a/modules/rsyncd-log/manifests/init.pp +++ b/modules/rsyncd-log/manifests/init.pp @@ -1,9 +1,8 @@ class rsyncd-log { - package { "logrotate": ensure => installed; } - file { "/etc/logrotate.d/dsa-rsyncd": source => "puppet:///modules/rsyncd-log/logrotate.d-dsa-rsyncd", + require => Package["logrotate"], ; "/var/log/rsyncd": ensure => directory, -- 2.20.1