aboutsummaryrefslogtreecommitdiff
path: root/manifests/polipo/debian.pp
blob: 5ca6922f51e4f1393f7c4e3d11c2fa2f4519714d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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',
  }
}