]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Changing the way the tor::daemon class is declared
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Jan 2013 22:07:03 +0000 (20:07 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 27 Jan 2013 22:07:03 +0000 (20:07 -0200)
manifests/site.pp

index 6e2fd1f6aac212c8fcca62dc7fe3eb297a79b3e1..65c9f83bcb21a74264b6f89f23ab866fb7c28add 100644 (file)
@@ -26,7 +26,7 @@ define apache::site($ensure = present, $docroot = false, $redirect = false,
     default => $mpm_group,
   }
 
-  if $hidden_service == true and defined('::tor::daemon') {
+  if $hidden_service == true and defined('tor::daemon') {
     tor::daemon::hidden_service { $title:
       ports    => [ "80 127.0.0.1:80" ],
       data_dir => "${tor::daemon::data_dir}/hidden",