Saltstack Official Apache Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

220 行
5.2KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. #
  4. # Setup variables using grains['os_family'] based logic.
  5. # You just need to add the key:values for an `os_family` that differ
  6. # from `defaults.yaml` + `osarch.yaml`.
  7. # Only add an `os_family` which is/will be supported by the formula.
  8. #
  9. # If you do not need to provide defaults via the `os_family` grain,
  10. # you will need to provide at least an empty dict in this file, e.g.
  11. # osfamilymap: {}
  12. ---
  13. Debian:
  14. pkg:
  15. name: apache2
  16. deps:
  17. - libapache2-mod-security2
  18. - libapache2-mod-geoip
  19. # libapache2-mod-fcgid
  20. # libapache2-mod-upload-progress
  21. service:
  22. name: apache2
  23. user: www-data
  24. group: www-data
  25. config: /etc/apache2/apache2.conf
  26. portsfile: /etc/apache2/ports.conf
  27. mod_wsgi: libapache2-mod-wsgi
  28. mod_php5: libapache2-mod-php5
  29. mod_perl2: libapache2-mod-perl2
  30. mod_fcgid: libapache2-mod-fcgid
  31. mod_upload_progress: libapache2-mod-upload-progress
  32. mod_pagespeed: mod-pagespeed-stable
  33. # yamllint disable-line rule:line-length
  34. mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
  35. mod_xsendfile: libapache2-mod-xsendfile
  36. mod_fastcgi: libapache2-mod-fastcgi
  37. mod_geoip: libapache2-mod-geoip
  38. mod_geoip_database: geoip-database
  39. vhostdir: /etc/apache2/sites-available
  40. confdir: /etc/apache2/conf-available
  41. modulesdir: /usr/lib64/apache2/modules
  42. confext: .conf
  43. default_site: default
  44. default_site_ssl: default-ssl
  45. logdir: /var/log/apache2
  46. logrotatedir: /etc/logrotate.d/apache2
  47. wwwdir: /srv
  48. moddir: /etc/apache2/mods-available
  49. sitesdir: /etc/apache2/sites-enabled
  50. RedHat:
  51. pkg:
  52. name: httpd
  53. deps:
  54. - mod_ssl
  55. - mod_security
  56. - mod_geoip
  57. - GeoIP
  58. service:
  59. name: httpd
  60. user: apache
  61. group: apache
  62. config: /etc/httpd/conf/httpd.conf
  63. mod_ssl_pkg: mod_ssl
  64. mod_wsgi: mod_wsgi
  65. conf_mod_wsgi: /etc/httpd/conf.d/wsgi.conf
  66. mod_php5: php
  67. mod_fcgid: mod_fcgid
  68. # yamllint disable-line rule:line-length
  69. mod_pagespeed_source: https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
  70. mod_geoip: mod_geoip
  71. mod_geoip_database: GeoIP
  72. vhostdir: /etc/httpd/vhosts.d
  73. confdir: /etc/httpd/conf.d
  74. modulesdir: /usr/lib64/httpd/modules
  75. confext: .conf
  76. default_site: default
  77. default_site_ssl: default-ssl
  78. logdir: /var/log/httpd
  79. logrotatedir: /etc/logrotate.d/httpd
  80. wwwdir: /var/www
  81. default_charset: UTF-8
  82. use_require: false
  83. moddir: /etc/httpd/conf.modules.d
  84. sitesdir: /etc/httpd/sites-enabled
  85. Suse:
  86. pkg:
  87. name: apache2
  88. deps:
  89. - apache2-mod_security2
  90. service:
  91. name: apache2
  92. user: wwwrun
  93. group: wwwrun
  94. config: /etc/apache2/httpd.conf
  95. portsfile: /etc/apache2/ports.conf
  96. mod_wsgi: apache2-mod_wsgi
  97. mod_php5: apache2-mod_php5
  98. mod_fcgid: apache2-mod_fcgid
  99. mod_perl2: apache2-mod_perl
  100. mod_upload_progress: apache2-mod_upload_progress
  101. mod_pagespeed: apache2-mod_pagespeed
  102. mod_geoip: apache2-mod_geoip
  103. mod_geoip_database: GeoIP-data
  104. vhostdir: /etc/apache2/sites-available
  105. confdir: /etc/apache2/conf.d
  106. modulesdir: /usr/lib64/apache2/modules
  107. confext: .conf
  108. default_site: vhost.template
  109. default_site_ssl: vhost-ssl.template
  110. logdir: /var/log/apache2
  111. logrotatedir: /etc/logrotate.d/apache2
  112. wwwdir: /srv/www
  113. moddir: /etc/apache2/mods-enabled
  114. sitesdir: /etc/apache2/sites-enabled
  115. Gentoo:
  116. pkg:
  117. name: www-servers/apache
  118. service:
  119. name: apache2
  120. user: apache
  121. group: apache
  122. config: /etc/apache2/httpd.conf
  123. mod_wsgi: www-apache/mod_wsgi
  124. mod_fcgid: www-apache/mod_fcgid
  125. vhostdir: /etc/apache2/vhosts.d
  126. confdir: /etc/conf.d/apache2
  127. modulesdir: /usr/lib64/apache2/modules
  128. confext: .conf
  129. default_site: default
  130. default_site_ssl: default-ssl
  131. logdir: /var/log/apache2
  132. logrotatedir: /etc/logrotate.d/apache2
  133. wwwdir: /var/www
  134. moddir: /etc/apache2/mods-enabled
  135. sitesdir: /etc/apache2/sites-enabled
  136. Arch:
  137. pkg:
  138. name: apache
  139. deps:
  140. - geoip
  141. - libxml2
  142. service:
  143. name: httpd
  144. service_state: skip
  145. user: http
  146. group: http
  147. config: /etc/httpd/conf/httpd.conf
  148. mod_wsgi: mod_wsgi
  149. mod_security:
  150. package: libmodsecurity
  151. mod_geoip: null
  152. mod_geoip_database: geoip-database
  153. vhostdir: /etc/httpd/conf/vhosts
  154. confdir: /etc/httpd/conf/extra
  155. davlockdbdir: /etc/httpd/var/DavLock
  156. modulesdir: /usr/lib/httpd/modules
  157. confext: .conf
  158. logdir: /var/log/httpd
  159. logrotatedir: /etc/logrotate.d/httpd
  160. wwwdir: /srv/http
  161. default_site: default
  162. default_site_ssl: default-ssl
  163. moddir: /etc/httpd/conf.modules.d
  164. sitesdir: /etc/httpd/sites-enabled
  165. Alpine: {}
  166. FreeBSD:
  167. pkg:
  168. name: apache24
  169. rootgroup: wheel
  170. service:
  171. name: apache24
  172. user: www
  173. group: www
  174. config: /usr/local/etc/apache24/httpd.conf
  175. portsfile: /usr/local/etc/apache24/ports.conf
  176. mod_php5: mod_php56
  177. mod_perl2: ap24-mod_perl2
  178. mod_wsgi: ap24-mod_wsgi3
  179. vhostdir: /usr/local/etc/apache24/Includes
  180. confdir: /usr/local/etc/apache24/extra
  181. modulesdir: /usr/local/etc/apache24/modules.d
  182. global_document_root: /usr/local/www/apache24/data
  183. confext: ''
  184. default_site: default
  185. default_site_ssl: default-ssl
  186. logdir: /var/log/
  187. wwwdir: /usr/local/www/apache24/
  188. OpenBSD:
  189. rootgroup: wheel
  190. Solaris: {}
  191. Windows:
  192. pkg:
  193. name: apache-httpd
  194. service:
  195. name: apache
  196. MacOS: {}