aboutsummaryrefslogtreecommitdiff
path: root/manifests/polipo/debian.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-08 17:34:13 +0200
committerintrigeri <intrigeri@boum.org>2012-06-08 17:34:13 +0200
commitc59fe7465bedc1157ee9e314938fdc10c4158cf5 (patch)
tree1627a3be9f810c614c430d1003d68a74ed7a524d /manifests/polipo/debian.pp
parentfae18b4cb919297eedfb7103e5d06ab76f93abff (diff)
downloadpuppet-tor-c59fe7465bedc1157ee9e314938fdc10c4158cf5.tar.gz
puppet-tor-c59fe7465bedc1157ee9e314938fdc10c4158cf5.tar.bz2
Factor out Polipo into base and Debian -specific classes.
Diffstat (limited to 'manifests/polipo/debian.pp')
-rw-r--r--manifests/polipo/debian.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/polipo/debian.pp b/manifests/polipo/debian.pp
new file mode 100644
index 0000000..46897dd
--- /dev/null
+++ b/manifests/polipo/debian.pp
@@ -0,0 +1,12 @@
+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.cron",
+ }
+}