Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package.master
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
- apache.register_site | - apache.register_site | ||||
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | |||||
mod-fcgid: | mod-fcgid: | ||||
pkg.installed: | pkg.installed: |
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
a2enmod proxy: | a2enmod proxy: |
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
- apache.mod_proxy | - apache.mod_proxy | ||||
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
mod-php5: | mod-php5: |
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
a2enmod rewrite: | a2enmod rewrite: |
{% if grains['os_family']=="Debian" %} | {% if grains['os_family']=="Debian" %} | ||||
include: | include: | ||||
- apt | |||||
- apache | - apache | ||||
a2enmod vhost_alias: | a2enmod vhost_alias: |