summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-07 18:21:32 +0100
committerGeorg Pfuetzenreuter2023-02-07 18:21:32 +0100
commita3ec351b70a30787e3bd17737b09b14a5df60175 (patch)
tree4974f5ec7c37d57d475a2134c31831a3a22a9cae
parent687473b9197bd4c29da6ec703cc646823ff62697 (diff)
downloadsalt-a3ec351b70a30787e3bd17737b09b14a5df60175.tar.gz
salt-a3ec351b70a30787e3bd17737b09b14a5df60175.tar.bz2
salt-a3ec351b70a30787e3bd17737b09b14a5df60175.zip
Add onion-router role
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
-rw-r--r--pillar/role/onion-router.sls5
-rw-r--r--salt/role/onion-router.sls2
2 files changed, 7 insertions, 0 deletions
diff --git a/pillar/role/onion-router.sls b/pillar/role/onion-router.sls
new file mode 100644
index 0000000..a50c802
--- /dev/null
+++ b/pillar/role/onion-router.sls
@@ -0,0 +1,5 @@
+{%- if grains['kernel'] == 'Linux' %}
+tor:
+ torrc:
+ Sandbox: 1
+{%- endif %}
diff --git a/salt/role/onion-router.sls b/salt/role/onion-router.sls
new file mode 100644
index 0000000..376a69e
--- /dev/null
+++ b/salt/role/onion-router.sls
@@ -0,0 +1,2 @@
+include:
+ - tor