mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
add platform logic for pkg install
This commit is contained in:
parent
916b4ace9b
commit
a287922545
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
|||
apache2:
|
||||
pkg:
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
pkg:
|
||||
- installed
|
||||
service:
|
||||
{% endif %}
|
||||
service:
|
||||
- running
|
||||
- endable: True
|
||||
- require:
|
||||
- pkg: apache2
|
||||
- pkg: apache2
|
||||
|
|
Loading…
Add table
Reference in a new issue