Browse Source

add platform logic for pkg install

master
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