From e4e892e5ab62adf65fc259ee990ae301d9ef0a06 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Mar 2023 00:06:23 +0100 Subject: [PATCH] updated tor state --- states/tor/config.sls | 2 +- states/tor/{ => templates}/torrc.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename states/tor/{ => templates}/torrc.j2 (88%) diff --git a/states/tor/config.sls b/states/tor/config.sls index d0f77d3..efe9c0a 100644 --- a/states/tor/config.sls +++ b/states/tor/config.sls @@ -3,7 +3,7 @@ tor-config: file.managed: - name: /etc/tor/torrc - - source: salt://tor/torrc.j2 + - source: salt://tor/templates/torrc.j2 - user: root - group: root - mode: "0660" diff --git a/states/tor/torrc.j2 b/states/tor/templates/torrc.j2 similarity index 88% rename from states/tor/torrc.j2 rename to states/tor/templates/torrc.j2 index 3a985c4..4de1ed0 100644 --- a/states/tor/torrc.j2 +++ b/states/tor/templates/torrc.j2 @@ -6,4 +6,4 @@ 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 }} \ No newline at end of file +ContactInfo {{ tor.config.syscontact }}