apache-formula/apache/osfamilymap.yaml
2021-08-29 00:18:10 +01:00

222 lines
5.3 KiB
YAML

# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables using grains['os_family'] based logic.
# You just need to add the key:values for an `os_family` that differ
# from `defaults.yaml` + `osarch.yaml`.
# Only add an `os_family` which is/will be supported by the formula.
#
# If you do not need to provide defaults via the `os_family` grain,
# you will need to provide at least an empty dict in this file, e.g.
# osfamilymap: {}
---
Debian:
pkg:
name: apache2
deps:
- libapache2-mod-security2
- libapache2-mod-geoip
# libapache2-mod-fcgid
# libapache2-mod-upload-progress
service:
name: apache2
user: www-data
group: www-data
config: /etc/apache2/apache2.conf
portsfile: /etc/apache2/ports.conf
mod_wsgi: libapache2-mod-wsgi
mod_php5: libapache2-mod-php5
mod_perl2: libapache2-mod-perl2
mod_fcgid: libapache2-mod-fcgid
mod_upload_progress: libapache2-mod-upload-progress
mod_pagespeed: mod-pagespeed-stable
# yamllint disable-line rule:line-length
mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
mod_xsendfile: libapache2-mod-xsendfile
mod_fastcgi: libapache2-mod-fastcgi
mod_geoip: libapache2-mod-geoip
mod_geoip_database: geoip-database
vhostdir: /etc/apache2/sites-available
confdir: /etc/apache2/conf-available
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: default
default_site_ssl: default-ssl
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /srv
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/sites-enabled
RedHat:
pkg:
name: httpd
deps:
- mod_ssl
- mod_security
- mod_geoip
- GeoIP
service:
name: httpd
user: apache
group: apache
config: /etc/httpd/conf/httpd.conf
mod_ssl_pkg: mod_ssl
mod_wsgi: mod_wsgi
conf_mod_wsgi: /etc/httpd/conf.d/wsgi.conf
mod_php5: php
mod_fcgid: mod_fcgid
# yamllint disable-line rule:line-length
mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
mod_geoip: mod_geoip
mod_geoip_database: GeoIP
vhostdir: /etc/httpd/vhosts.d
confdir: /etc/httpd/conf.d
modulesdir: /usr/lib64/httpd/modules
confext: .conf
default_site: default
default_site_ssl: default-ssl
logdir: /var/log/httpd
logrotatedir: /etc/logrotate.d/httpd
wwwdir: /var/www
default_charset: UTF-8
use_require: false
moddir: /etc/httpd/conf.modules.d
sitesdir: /etc/httpd/sites-enabled
Suse:
pkg:
name: apache2
deps:
- apache2-mod_security2
service:
name: apache2
user: wwwrun
group: wwwrun
config: /etc/apache2/httpd.conf
portsfile: /etc/apache2/ports.conf
mod_wsgi: apache2-mod_wsgi
mod_php5: apache2-mod_php5
mod_fcgid: apache2-mod_fcgid
mod_perl2: apache2-mod_perl
mod_upload_progress: apache2-mod_upload_progress
mod_pagespeed: apache2-mod_pagespeed
mod_geoip: apache2-mod_geoip
mod_geoip_database: GeoIP-data
vhostdir: /etc/apache2/vhosts.d
confdir: /etc/apache2/conf.d
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: vhost.template
default_site_ssl: vhost-ssl.template
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /srv/www
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/vhosts.d
Gentoo:
pkg:
name: www-servers/apache
service:
name: apache2
user: apache
group: apache
config: /etc/apache2/httpd.conf
mod_wsgi: www-apache/mod_wsgi
mod_fcgid: www-apache/mod_fcgid
vhostdir: /etc/apache2/vhosts.d
confdir: /etc/conf.d/apache2
modulesdir: /usr/lib64/apache2/modules
confext: .conf
default_site: default
default_site_ssl: default-ssl
logdir: /var/log/apache2
logrotatedir: /etc/logrotate.d/apache2
wwwdir: /var/www
moddir: /etc/apache2/mods-enabled
sitesdir: /etc/apache2/sites-enabled
Arch:
pkg:
name: apache
deps:
- geoip
- libxml2
service:
name: httpd
service_state: skip
user: http
group: http
config: /etc/httpd/conf/httpd.conf
mod_wsgi: mod_wsgi
mod_security:
package: libmodsecurity
mod_geoip: null
mod_geoip_database: geoip-database
vhostdir: /etc/httpd/conf/vhosts
confdir: /etc/httpd/conf/extra
davlockdbdir: /etc/httpd/var/DavLock
modulesdir: /usr/lib/httpd/modules
confext: .conf
logdir: /var/log/httpd
logrotatedir: /etc/logrotate.d/httpd
wwwdir: /srv/http
default_site: default
default_site_ssl: default-ssl
moddir: /etc/httpd/conf.modules.d
sitesdir: /etc/httpd/sites-enabled
Alpine: {}
FreeBSD:
pkg:
name: apache24
rootgroup: wheel
service:
name: apache24
user: www
group: www
config: /usr/local/etc/apache24/httpd.conf
portsfile: /usr/local/etc/apache24/ports.conf
mod_php5: mod_php56
mod_perl2: ap24-mod_perl2
mod_wsgi: ap24-mod_wsgi3
vhostdir: /usr/local/etc/apache24/Includes
confdir: /usr/local/etc/apache24/extra
modulesdir: /usr/local/etc/apache24/modules.d
global_document_root: /usr/local/www/apache24/data
confext: ''
default_site: default
default_site_ssl: default-ssl
moddir: /usr/local/etc/apache24/modules.d
logdir: /var/log/
logrotatedir: /usr/local/etc/logrotate.d/apache2
wwwdir: /usr/local/www/apache24/
OpenBSD:
rootgroup: wheel
Solaris: {}
Windows:
pkg:
name: apache-httpd
service:
name: apache
MacOS: {}