add platform logic for pkg install
This commit is contained in:
parent
916b4ace9b
commit
a287922545
@ -1,7 +1,10 @@
|
|||||||
apache2:
|
apache2:
|
||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
pkg:
|
pkg:
|
||||||
- installed
|
- installed
|
||||||
|
{% endif %}
|
||||||
service:
|
service:
|
||||||
- running
|
- running
|
||||||
|
- endable: True
|
||||||
- require:
|
- require:
|
||||||
- pkg: apache2
|
- pkg: apache2
|
||||||
|
Loading…
Reference in New Issue
Block a user