From a3ec351b70a30787e3bd17737b09b14a5df60175 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Tue, 7 Feb 2023 18:21:32 +0100 Subject: [PATCH] Add onion-router role Signed-off-by: Georg Pfuetzenreuter --- pillar/role/onion-router.sls | 5 +++++ salt/role/onion-router.sls | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 pillar/role/onion-router.sls create mode 100644 salt/role/onion-router.sls 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