13 lines
235 B
Plaintext
13 lines
235 B
Plaintext
---
|
|
{%- from "tor/map.jinja" import tor with context %}
|
|
tor-service:
|
|
{%- if tor.enabled %}
|
|
service.running:
|
|
{%- else %}
|
|
service.dead:
|
|
{%- endif %}
|
|
- name: tor
|
|
- enable: {{ tor.enabled }}
|
|
- require:
|
|
- pkg: tor-pkg
|