apache-formula/apache/init.sls

20 lines
327 B
Plaintext

{% from "apache/map.jinja" import apache with context %}
apache:
pkg:
- installed
- name: {{ apache.server }}
service:
- running
- name: {{ apache.service }}
- enable: True
apache-reload:
cmd.wait:
- name: service apache2 reload
apache-restart:
cmd.wait:
- name: service apache2 restart