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

apache2: apache2:
pkg:
{% if grains['os_family'] == 'Debian' %}
pkg:
- installed - installed
service:
{% endif %}
service:
- running - running
- endable: True
- require: - require:
- pkg: apache2
- pkg: apache2

Loading…
Cancel
Save