Browse Source

add platform logic for pkg install

tags/v0.37.4
Ryan Richard 11 years ago
parent
commit
a287922545
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      apache/init.sls

+ 6
- 3
apache/init.sls 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

Loading…
Cancel
Save