paulbsd-salt/states/tor/config.sls
Paul Lecuq 262c03d359
All checks were successful
continuous-integration/drone/push Build is passing
updated tor state
2022-12-26 10:15:34 +01:00

15 lines
302 B
Plaintext

---
{%- from "tor/map.jinja" import tor with context %}
tor-config:
file.managed:
- name: /etc/tor/torrc
- source: salt://tor/torrc.j2
- user: root
- group: root
- mode: "0660"
- template: jinja
- watch_in:
- service: tor-service
- require:
- pkg: tor-pkg