Georg Pfuetzenreuter
f6e9063626
After the original fork I tried to keep minimal Debian support, but it became clear that I will never test and maintain it - removing the relevant bits makes more sense than keeping possibly dead code. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
27 lines
594 B
Plaintext
27 lines
594 B
Plaintext
{% from "tor/map.jinja" import map with context %}
|
|
|
|
install_torsocks:
|
|
pkg.installed:
|
|
- name: torsocks
|
|
service.running:
|
|
- name: {{ map.service_torsocks }}
|
|
- restart: True
|
|
- enable: True
|
|
- require:
|
|
- pkg: install_torsocks
|
|
|
|
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_torsocks
|
|
- watch_in:
|
|
- service: install_torsocks
|