]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Changing declaration of tor::daemon class
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Jan 2013 21:13:50 +0000 (19:13 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Jan 2013 21:13:50 +0000 (19:13 -0200)
manifests/site.pp

index d686518494d4736551cf7ca48f0c3d86466f47ff..732559cafe8ae1209cef2556b4c822812ce5fc6a 100644 (file)
@@ -28,8 +28,8 @@ define apache::site($ensure = present, $docroot = false, $redirect = false,
 
   if $hidden_service == true {
     # Make sure that the tor daemon is included
-    if !defined('::tor::daemon') {
-      class { '::tor::daemon': }
+    if !defined('tor::daemon') {
+      class { 'tor::daemon': }
     }
 
     # It's important to use a subdir from the tor datadir