add platform logic for pkg install

This commit is contained in:
Ryan Richard 2013-07-27 19:59:10 +00:00
parent 916b4ace9b
commit a287922545

View File

@ -1,7 +1,10 @@
apache2:
pkg:
{% if grains['os_family'] == 'Debian' %}
pkg:
- installed
service:
{% endif %}
service:
- running
- endable: True
- require:
- pkg: apache2
- pkg: apache2