Browse Source

SUSE: use different global.conf

sysconfig.d/global.conf is re-written by sysconfig on openSUSE
tags/v0.37.4
Bernhard M. Wiedemann 7 years ago
parent
commit
57690acd77
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      apache/config.sls
  2. +3
    -3
      apache/files/Suse/apache-2.4.config.jinja

+ 1
- 1
apache/config.sls View File

@@ -57,7 +57,7 @@ include:
{% endif %}

{% if grains['os_family']=="Suse" %}
/etc/apache2/sysconfig.d/global.conf:
/etc/apache2/global.conf:
file.managed:
- template: jinja
- source:

+ 3
- 3
apache/files/Suse/apache-2.4.config.jinja View File

@@ -27,7 +27,7 @@
# |-- sysconfig.d/loadmodule.conf . . . . . [*] load these modules
# |-- listen.conf . . . . . . . . . . . . . IP adresses / ports to listen on
# |-- mod_log_config.conf . . . . . . . . . define logging formats
# |-- sysconfig.d/global.conf . . . . . . . [*] server-wide general settings
# |-- global.conf . . . . . . . . . . . . . server-wide general settings
# |-- mod_status.conf . . . . . . . . . . . restrict access to mod_status (server monitoring)
# |-- mod_info.conf . . . . . . . . . . . . restrict access to mod_info
# |-- mod_usertrack.conf . . . . . . . . . defaults for cookie-based user tracking
@@ -121,8 +121,8 @@ Include /etc/apache2/listen.conf
# predefined logging formats
Include /etc/apache2/mod_log_config.conf

# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf
# global settings managed by salt
Include /etc/apache2/global.conf

# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf

Loading…
Cancel
Save