mumble-server-formula/mumble-server/init.sls

15 lines
383 B
Plaintext
Raw Permalink Normal View History

2015-03-27 05:49:48 +01:00
{% from "mumble-server/map.jinja" import mumbleserver with context %}
2015-03-27 05:19:28 +01:00
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 %}