From: Peter Palfrader Date: Fri, 3 Dec 2010 11:10:10 +0000 (+0100) Subject: Cannot ensure a package is installed more than once X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0a000c06d40c6acdc443de790364032c429e1176;p=mirror%2Fdsa-puppet.git Cannot ensure a package is installed more than once --- 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,