From 20645332c66e39d59770de3c0abb6dd18eb690b1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Jan 2013 11:26:16 -0200 Subject: Setting hasstatus and pattern for tor::polipo::debian --- manifests/polipo/debian.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests/polipo') diff --git a/manifests/polipo/debian.pp b/manifests/polipo/debian.pp index e39f603..5ca6922 100644 --- a/manifests/polipo/debian.pp +++ b/manifests/polipo/debian.pp @@ -10,4 +10,9 @@ class tor::polipo::debian inherits tor::polipo::base { require => Package['polipo'], source => 'puppet:///modules/tor/polipo/polipo.cron', } + + Service['polipo'] { + hasstatus => false, + pattern => '/usr/bin/polipo', + } } -- cgit v1.2.3 From 19a44ce97f59633002d844e2b37f2b26b2f1cfbc Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 30 Aug 2014 16:37:58 +0200 Subject: bug is fixed --- manifests/polipo/debian.pp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'manifests/polipo') diff --git a/manifests/polipo/debian.pp b/manifests/polipo/debian.pp index 5ca6922..607b361 100644 --- a/manifests/polipo/debian.pp +++ b/manifests/polipo/debian.pp @@ -1,16 +1,5 @@ # manage polipo on debian class tor::polipo::debian inherits tor::polipo::base { - # TODO: restore file to original state after the following bug is solved: - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580434 - file { '/etc/cron.daily/polipo': - ensure => present, - owner => root, - group => root, - mode => '0755', - require => Package['polipo'], - source => 'puppet:///modules/tor/polipo/polipo.cron', - } - Service['polipo'] { hasstatus => false, pattern => '/usr/bin/polipo', -- cgit v1.2.3