|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if grains['os_family']=="Debian" %} |
|
|
{% if grains['os_family']=="Debian" %} |
|
|
|
|
|
|
|
|
{% if salt['file.file_exists' ]('/etc/apache2/conf-available/security.conf') %} |
|
|
|
|
|
{{ security_config('/etc/apache2/conf-available/security.conf') }} |
|
|
{{ security_config('/etc/apache2/conf-available/security.conf') }} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
- onlyif: test -f '/etc/apache2/conf-available/security.conf' |
|
|
|
|
|
|
|
|
{% elif grains['os_family']=="FreeBSD" %} |
|
|
{% elif grains['os_family']=="FreeBSD" %} |
|
|
{{ security_config(apache.confdir+'/security.conf') }} |
|
|
{{ security_config(apache.confdir+'/security.conf') }} |