tor-formula/tor/torsocks.sls
Georg Pfuetzenreuter 500cc24176
Move torsocks to separate state
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-05 18:24:50 +01:00

20 lines
388 B
Plaintext

{% from "tor/map.jinja" import map with context %}
deploy_tor_torsocks:
file.managed:
- name: {{ map.config_torsocks }}
- source: salt://{{ slspath }}/files/ini.jinja
- user: root
- group: root
- mode: 644
- template: jinja
- defaults:
config: {{ map.torsocks }}
- require:
- pkg: install_tor
- watch_in:
- service: install_tor