aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon/directory.pp
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-03-12 03:17:34 +0200
committerirregulator <irregulator@riseup.net>2014-03-12 03:17:34 +0200
commit44f62cacdfe5f27dc34c46a1f4b2918a651d12c9 (patch)
tree08af1f91b003daf8a62444ed8fb386fbd32f8ad7 /manifests/daemon/directory.pp
parentdcb6e748864e7dfd3c14f4f2aba4c9120f12b78a (diff)
downloadpuppet-tor-44f62cacdfe5f27dc34c46a1f4b2918a651d12c9.tar.gz
puppet-tor-44f62cacdfe5f27dc34c46a1f4b2918a651d12c9.tar.bz2
DirPortFrontPage should serve the 'tor-exit-notice' static page
rather than tor's man page.
Diffstat (limited to 'manifests/daemon/directory.pp')
-rw-r--r--manifests/daemon/directory.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/daemon/directory.pp b/manifests/daemon/directory.pp
index b71b6e6..d877a86 100644
--- a/manifests/daemon/directory.pp
+++ b/manifests/daemon/directory.pp
@@ -2,7 +2,7 @@
define tor::daemon::directory (
$port = 0,
$listen_addresses = [],
- $port_front_page = '/etc/tor/tor.html',
+ $port_front_page = '/etc/tor/tor-exit-notice.html',
$ensure = present ) {
concat::fragment { '06.directory':
@@ -15,9 +15,9 @@ define tor::daemon::directory (
target => $tor::daemon::config_file,
}
- file { '/etc/tor/tor.html':
+ file { '/etc/tor/tor-exit-notice.html':
ensure => $ensure,
- source => 'puppet:///modules/tor/tor.html',
+ source => 'puppet:///modules/tor/tor-exit-notice.html',
require => File['/etc/tor'],
owner => 'debian-tor',
group => 'debian-tor',