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.
|
- {% set pkg = salt['grains.filter_by']({
- 'Debian': {'name': 'apache2'},
- 'RedHat': {'name': 'httpd'},
- }) %}
-
- apache:
- pkg:
- - installed
- - name: {{ pkg.name }}
- service:
- - running
- - name: {{ pkg.name }}
- - enable: True
|