diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-27 20:12:36 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-27 20:12:36 -0200 |
commit | f42c5bd165e96593fd27f6ff94fdd506281a525e (patch) | |
tree | fb5d8d837c5e0210952645ea64cce318aee7dd24 /manifests | |
parent | 2826afa8463be70d1a27c7300c7a52dc8484987a (diff) | |
download | puppet-apache-f42c5bd165e96593fd27f6ff94fdd506281a525e.tar.gz puppet-apache-f42c5bd165e96593fd27f6ff94fdd506281a525e.tar.bz2 |
Introducing apache::site::hidden
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/site.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/site.pp b/manifests/site.pp index 65c9f83..a190550 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -26,7 +26,8 @@ define apache::site($ensure = present, $docroot = false, $redirect = false, default => $mpm_group, } - if $hidden_service == true and defined('tor::daemon') { + $hidde_enabled = hiera('apache::site::hidden', false) + if $hidden_service == true and $hidden_enabled == true { tor::daemon::hidden_service { $title: ports => [ "80 127.0.0.1:80" ], data_dir => "${tor::daemon::data_dir}/hidden", |