From: intrigeri Date: Wed, 11 Apr 2012 13:09:42 +0000 (+0200) Subject: Don't manage /etc/polipo: it's shipped by the polipo package. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1840bee0fc2162c63adcaec15e2c027f78020a9a;p=puppet-tor.git Don't manage /etc/polipo: it's shipped by the polipo package. --- diff --git a/manifests/polipo.pp b/manifests/polipo.pp index 4a3d146..a23ff0b 100644 --- a/manifests/polipo.pp +++ b/manifests/polipo.pp @@ -9,21 +9,14 @@ class tor::polipo inherits tor { require => [ Package["polipo"], Service["tor"] ], } - file { "/etc/polipo": - ensure => directory, - owner => root, - group => root, - mode => 0755, - } - file { "/etc/polipo/config": ensure => present, owner => root, group => root, mode => 0644, source => "puppet:///modules/tor/polipo.conf", + require => Package["polipo"], notify => Service["polipo"], - require => File["/etc/polipo"], } # TODO: restore file to original state after the following bug is solved: