paulbsd-salt/states/tor/torrc.j2
2020-07-10 00:58:55 +02:00

8 lines
336 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{% from "tor/map.jinja" import tor with context %}
ORPort {{ tor.config.exit_port }}
SocksPort {{ tor.config.client_host }}:{{ tor.config.client_port }}
ExitPolicy {{ tor.config.exit_policy }}
Nickname {{ tor.config.nickname }}
ContactInfo {{ tor.config.syscontact }}