Merge pull request #4 from doublerr/master

add platform logic for pkg install
This commit is contained in:
Thomas S Hatch 2013-07-27 13:01:47 -07:00
commit eafd1e0a32

View File

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