Added basic formula to install Apache

This commit is contained in:
Seth House 2013-08-13 15:03:16 -06:00
parent 0e86fb8c9d
commit 053c3443d7

13
apache/init.sls Normal file
View File

@ -0,0 +1,13 @@
{% set pkg = salt['grains.filter_by']({
'Debian': {'name': 'apache2'},
'RedHat': {'name': 'httpd'},
}) %}
apache:
pkg:
- installed
- name: {{ pkg.name }}
service:
- running
- name: {{ pkg.name }}
- enable: True