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 }}