diff --git a/apache/init.sls b/apache/init.sls index 1089ab2..72e8de2 100644 --- a/apache/init.sls +++ b/apache/init.sls @@ -1,7 +1,10 @@ apache2: - pkg: +{% if grains['os_family'] == 'Debian' %} + pkg: - installed - service: +{% endif %} + service: - running + - endable: True - require: - - pkg: apache2 + - pkg: apache2