Browse Source

Merge pull request #4 from doublerr/master

add platform logic for pkg install
tags/v0.37.4
Thomas S Hatch 11 years ago
parent
commit
eafd1e0a32
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