tor-formula/tor/install.sls

17 lines
309 B
Plaintext
Raw Normal View History

2019-03-27 14:50:46 +01:00
{% from "tor/map.jinja" import map with context %}
include:
- tor.repo
install_tor:
pkg.installed:
- pkgs: {{ map.pkgs }}
- require:
- pkgrepo: install_tor_repo
service.running:
- name: {{ map.service }}
- restart: True
- enable: True
- require:
- pkg: install_tor