Merge pull request #4 from doublerr/master
add platform logic for pkg install
This commit is contained in:
commit
eafd1e0a32
@ -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…
Reference in New Issue
Block a user