Browse Source

Merge pull request #68 from msciciel/msciciel

RedHat fixes: change default vhostdir to redhat official
tags/v0.37.4
puneet kandhari 9 years ago
parent
commit
25179778ed
3 changed files with 9 additions and 1 deletions
  1. +7
    -0
      apache/config.sls
  2. +1
    -0
      apache/files/RedHat/apache.config.jinja
  3. +1
    -1
      apache/map.jinja

+ 7
- 0
apache/config.sls View File

@@ -13,6 +13,13 @@ include:
- watch_in:
- service: apache

{{ apache.vhostdir }}:
file.directory:
- require:
- pkg: apache
- watch_in:
- service: apache

{% if grains['os_family']=="Debian" %}
/etc/apache2/envvars:
file.managed:

+ 1
- 0
apache/files/RedHat/apache.config.jinja View File

@@ -354,3 +354,4 @@ EnableSendfile on
#
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf
IncludeOptional vhosts.d/*.conf

+ 1
- 1
apache/map.jinja View File

@@ -25,7 +25,7 @@
'mod_wsgi': 'mod_wsgi',
'mod_php5': 'php',

'vhostdir': '/etc/httpd/conf.d',
'vhostdir': '/etc/httpd/vhosts.d',
'confdir': '/etc/httpd/conf.d',
'confext': '.conf',
'default_site': 'default',

Loading…
Cancel
Save