Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 line
342B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=sls
  3. {#- Get the `tplroot` from `tpldir` #}
  4. {%- set tplroot = tpldir.split('/')[0] %}
  5. {%- from tplroot ~ "/map.jinja" import apache with context %}
  6. apache-service-clean-service-dead:
  7. service.dead:
  8. - name: {{ apache.service.name }}
  9. - enable: False
  10. file.absent:
  11. - name: /var/lock/subsys/httpd