diff options
author | irregulator <irregulator@riseup.net> | 2014-03-12 03:17:34 +0200 |
---|---|---|
committer | irregulator <irregulator@riseup.net> | 2014-03-12 03:17:34 +0200 |
commit | 44f62cacdfe5f27dc34c46a1f4b2918a651d12c9 (patch) | |
tree | 08af1f91b003daf8a62444ed8fb386fbd32f8ad7 /manifests/daemon | |
parent | dcb6e748864e7dfd3c14f4f2aba4c9120f12b78a (diff) | |
download | puppet-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')
-rw-r--r-- | manifests/daemon/directory.pp | 6 |
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', |