mumble-server-formula/mumble-server/init.sls
2015-03-27 00:49:48 -04:00

15 lines
383 B
Plaintext

{% from "mumble-server/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 %}