diff options
author | intrigeri <intrigeri@boum.org> | 2012-06-19 04:02:13 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-06-19 05:22:44 +0200 |
commit | ebee9da1b3883461b18f9aae86663002195e94e7 (patch) | |
tree | 7dd3b80c12fcf03e2a74a4eb8890aec8b4dfd241 /manifests | |
parent | f12bf2ae954aeabb0c75d52801158238931ca0ae (diff) | |
download | puppet-tor-ebee9da1b3883461b18f9aae86663002195e94e7.tar.gz puppet-tor-ebee9da1b3883461b18f9aae86663002195e94e7.tar.bz2 |
Add support for TransPort and TransListenAddress.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/daemon.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp index ac8529c..0778bce 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -204,5 +204,18 @@ class tor::daemon inherits tor { } } + # Transparent proxy definition + define transparent( $port = 0, + $listen_addresses = [], + $ensure = present ) { + + concatenated_file_part { "09.transparent.${name}": + dir => $tor::daemon::snippet_dir, + content => template('tor/torrc.transparent.erb'), + owner => 'debian-tor', group => 'debian-tor', mode => 0644, + ensure => $ensure, + } + } + } |