aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-28 16:17:45 +0200
committermh <mh@immerda.ch>2011-10-28 16:18:32 +0200
commit4eae3d127eee35a5fdad29283b05c76eca0451ac (patch)
tree049e68d8b7b98d2b2e13072b1903c7335dcd2b7c
parent73d8e9e66fcbcb4bc539bb8dab37a89c3d033351 (diff)
downloadpuppet-tor-4eae3d127eee35a5fdad29283b05c76eca0451ac.tar.gz
puppet-tor-4eae3d127eee35a5fdad29283b05c76eca0451ac.tar.bz2
no need to manage that directory as it comes via package
-rw-r--r--manifests/init.pp10
1 files changed, 1 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e1b1e72..954b804 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -10,14 +10,6 @@ class tor {
service { "polipo":
ensure => running,
- require => Package["polipo"],
- }
-
- file { "/etc/polipo":
- ensure => directory,
- owner => root,
- group => root,
- mode => 0755,
}
file { "/etc/polipo/config":
@@ -26,8 +18,8 @@ class tor {
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: