paulbsd-salt/states/tor/config.sls

15 lines
302 B
Plaintext
Raw Normal View History

2022-12-26 10:15:34 +01:00
---
{%- 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