21 lines
494 B
Plaintext
Raw Normal View History

{% from "apache/map.jinja" import apache with context %}
2013-08-13 15:03:16 -06:00
apache:
2014-09-25 11:48:36 -05:00
pkg.installed:
2013-08-22 21:14:28 -06:00
- name: {{ apache.server }}
2014-09-25 11:48:36 -05:00
service.running:
2013-08-22 21:14:28 -06:00
- name: {{ apache.service }}
2013-08-13 15:03:16 -06:00
- enable: True
# The following states are inert by default and can be used by other states to
# trigger a restart or reload as needed.
apache-reload:
2014-09-25 11:48:36 -05:00
module.wait:
- name: service.reload
- m_name: {{ apache.service }}
apache-restart:
2014-09-25 11:48:36 -05:00
module.wait:
- name: service.restart
2014-03-04 11:13:26 -08:00
- m_name: {{ apache.service }}