mumble-server-formula/mumble-server/init.sls
2015-03-27 00:19:28 -04:00

15 lines
382 B
Plaintext

{% from "mumbleserver/map.jinja" import mumbleserver with context %}
mumbleserver:
{% if mumbleserver.server is defined %}
pkg.installed:
- name: {{ mumbleserver.server }}
{% endif %}
service.running:
- enable: True
- name: {{ mumbleserver.service }}
{% if mumbleserver.server is defined %}
- require:
- pkg: {{ mumbleserver.server }}
{% endif %}