]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
decouple things a bit, so we can move it to a own class
authormh <mh@immerda.ch>
Fri, 28 Oct 2011 14:34:46 +0000 (16:34 +0200)
committermh <mh@immerda.ch>
Fri, 28 Oct 2011 14:34:46 +0000 (16:34 +0200)
manifests/init.pp

index 8796a73cc72640d5a6e98e4b84940b9fa2fc02f0..77896d663d3438ed274b2c039617d4a5c27c18cd 100644 (file)
@@ -5,7 +5,7 @@ class tor {
 
   service { "tor":
     ensure  => running,
-    require => [ Package['tor'], Service["polipo"] ],
+    require => Package['tor'],
   }
 
   service { "polipo":
@@ -20,6 +20,7 @@ class tor {
     source  => "puppet:///modules/tor/polipo.conf",
     require => Package["polipo"],
     notify  => Service["polipo"],
+    before  => Service["tor"],
   }
 
   # TODO: restore file to original state after the following bug is solved: