fast_food 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +73 -0
  5. data/Rakefile +8 -0
  6. data/chef/.chef/bootstrap/chef-solo.erb +27 -0
  7. data/chef/.chef/knife.rb +8 -0
  8. data/chef/.gitignore +1 -0
  9. data/chef/README +3 -0
  10. data/chef/cookbooks/README +1 -0
  11. data/chef/cookbooks/apache2/.gitignore +1 -0
  12. data/chef/cookbooks/apache2/CHANGELOG.md +81 -0
  13. data/chef/cookbooks/apache2/CONTRIBUTING +29 -0
  14. data/chef/cookbooks/apache2/Gemfile +10 -0
  15. data/chef/cookbooks/apache2/LICENSE +201 -0
  16. data/chef/cookbooks/apache2/README.md +373 -0
  17. data/chef/cookbooks/apache2/attributes/default.rb +149 -0
  18. data/chef/cookbooks/apache2/attributes/mod_auth_openid.rb +32 -0
  19. data/chef/cookbooks/apache2/definitions/apache_conf.rb +26 -0
  20. data/chef/cookbooks/apache2/definitions/apache_module.rb +53 -0
  21. data/chef/cookbooks/apache2/definitions/apache_site.rb +43 -0
  22. data/chef/cookbooks/apache2/definitions/web_app.rb +49 -0
  23. data/chef/cookbooks/apache2/files/default/apache2_module_conf_generate.pl +41 -0
  24. data/chef/cookbooks/apache2/files/default/tests/minitest/default_test.rb +64 -0
  25. data/chef/cookbooks/apache2/files/default/tests/minitest/helpers.rb +36 -0
  26. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_auth_openid_test.rb +25 -0
  27. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_dav_svn_test.rb +16 -0
  28. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_perl_test.rb +22 -0
  29. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_php5_test.rb +19 -0
  30. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_python_test.rb +14 -0
  31. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb +19 -0
  32. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_wsgi_test.rb +14 -0
  33. data/chef/cookbooks/apache2/files/default/tests/minitest/mod_xsendfile_test.rb +14 -0
  34. data/chef/cookbooks/apache2/files/default/tests/minitest/modules_test.rb +19 -0
  35. data/chef/cookbooks/apache2/metadata.json +511 -0
  36. data/chef/cookbooks/apache2/metadata.rb +205 -0
  37. data/chef/cookbooks/apache2/recipes/default.rb +221 -0
  38. data/chef/cookbooks/apache2/recipes/god_monitor.rb +33 -0
  39. data/chef/cookbooks/apache2/recipes/mod_alias.rb +22 -0
  40. data/chef/cookbooks/apache2/recipes/mod_apreq2.rb +45 -0
  41. data/chef/cookbooks/apache2/recipes/mod_auth_basic.rb +20 -0
  42. data/chef/cookbooks/apache2/recipes/mod_auth_digest.rb +20 -0
  43. data/chef/cookbooks/apache2/recipes/mod_auth_openid.rb +113 -0
  44. data/chef/cookbooks/apache2/recipes/mod_authn_file.rb +20 -0
  45. data/chef/cookbooks/apache2/recipes/mod_authnz_ldap.rb +20 -0
  46. data/chef/cookbooks/apache2/recipes/mod_authz_default.rb +20 -0
  47. data/chef/cookbooks/apache2/recipes/mod_authz_groupfile.rb +20 -0
  48. data/chef/cookbooks/apache2/recipes/mod_authz_host.rb +20 -0
  49. data/chef/cookbooks/apache2/recipes/mod_authz_user.rb +20 -0
  50. data/chef/cookbooks/apache2/recipes/mod_autoindex.rb +22 -0
  51. data/chef/cookbooks/apache2/recipes/mod_cgi.rb +20 -0
  52. data/chef/cookbooks/apache2/recipes/mod_dav.rb +20 -0
  53. data/chef/cookbooks/apache2/recipes/mod_dav_fs.rb +20 -0
  54. data/chef/cookbooks/apache2/recipes/mod_dav_svn.rb +29 -0
  55. data/chef/cookbooks/apache2/recipes/mod_deflate.rb +22 -0
  56. data/chef/cookbooks/apache2/recipes/mod_dir.rb +22 -0
  57. data/chef/cookbooks/apache2/recipes/mod_env.rb +20 -0
  58. data/chef/cookbooks/apache2/recipes/mod_expires.rb +20 -0
  59. data/chef/cookbooks/apache2/recipes/mod_fastcgi.rb +26 -0
  60. data/chef/cookbooks/apache2/recipes/mod_fcgid.rb +53 -0
  61. data/chef/cookbooks/apache2/recipes/mod_headers.rb +20 -0
  62. data/chef/cookbooks/apache2/recipes/mod_ldap.rb +20 -0
  63. data/chef/cookbooks/apache2/recipes/mod_log_config.rb +24 -0
  64. data/chef/cookbooks/apache2/recipes/mod_logio.rb +24 -0
  65. data/chef/cookbooks/apache2/recipes/mod_mime.rb +22 -0
  66. data/chef/cookbooks/apache2/recipes/mod_negotiation.rb +22 -0
  67. data/chef/cookbooks/apache2/recipes/mod_perl.rb +39 -0
  68. data/chef/cookbooks/apache2/recipes/mod_php5.rb +99 -0
  69. data/chef/cookbooks/apache2/recipes/mod_proxy.rb +22 -0
  70. data/chef/cookbooks/apache2/recipes/mod_proxy_ajp.rb +21 -0
  71. data/chef/cookbooks/apache2/recipes/mod_proxy_balancer.rb +20 -0
  72. data/chef/cookbooks/apache2/recipes/mod_proxy_connect.rb +20 -0
  73. data/chef/cookbooks/apache2/recipes/mod_proxy_http.rb +20 -0
  74. data/chef/cookbooks/apache2/recipes/mod_python.rb +32 -0
  75. data/chef/cookbooks/apache2/recipes/mod_rewrite.rb +20 -0
  76. data/chef/cookbooks/apache2/recipes/mod_setenvif.rb +22 -0
  77. data/chef/cookbooks/apache2/recipes/mod_ssl.rb +43 -0
  78. data/chef/cookbooks/apache2/recipes/mod_status.rb +22 -0
  79. data/chef/cookbooks/apache2/recipes/mod_wsgi.rb +27 -0
  80. data/chef/cookbooks/apache2/recipes/mod_xsendfile.rb +27 -0
  81. data/chef/cookbooks/apache2/templates/default/a2dismod.erb +22 -0
  82. data/chef/cookbooks/apache2/templates/default/a2dissite.erb +29 -0
  83. data/chef/cookbooks/apache2/templates/default/a2enmod.erb +37 -0
  84. data/chef/cookbooks/apache2/templates/default/a2ensite.erb +38 -0
  85. data/chef/cookbooks/apache2/templates/default/apache2.conf.erb +237 -0
  86. data/chef/cookbooks/apache2/templates/default/apache2.god.erb +19 -0
  87. data/chef/cookbooks/apache2/templates/default/charset.erb +6 -0
  88. data/chef/cookbooks/apache2/templates/default/default-site.erb +57 -0
  89. data/chef/cookbooks/apache2/templates/default/mods/README +2 -0
  90. data/chef/cookbooks/apache2/templates/default/mods/alias.conf.erb +24 -0
  91. data/chef/cookbooks/apache2/templates/default/mods/authopenid.load.erb +1 -0
  92. data/chef/cookbooks/apache2/templates/default/mods/autoindex.conf.erb +101 -0
  93. data/chef/cookbooks/apache2/templates/default/mods/deflate.conf.erb +16 -0
  94. data/chef/cookbooks/apache2/templates/default/mods/dir.conf.erb +5 -0
  95. data/chef/cookbooks/apache2/templates/default/mods/fastcgi.conf.erb +5 -0
  96. data/chef/cookbooks/apache2/templates/default/mods/fcgid.conf.erb +10 -0
  97. data/chef/cookbooks/apache2/templates/default/mods/mime.conf.erb +198 -0
  98. data/chef/cookbooks/apache2/templates/default/mods/negotiation.conf.erb +18 -0
  99. data/chef/cookbooks/apache2/templates/default/mods/php5.conf.erb +16 -0
  100. data/chef/cookbooks/apache2/templates/default/mods/proxy.conf.erb +19 -0
  101. data/chef/cookbooks/apache2/templates/default/mods/setenvif.conf.erb +28 -0
  102. data/chef/cookbooks/apache2/templates/default/mods/ssl.conf.erb +76 -0
  103. data/chef/cookbooks/apache2/templates/default/mods/status.conf.erb +26 -0
  104. data/chef/cookbooks/apache2/templates/default/port_apache.erb +2 -0
  105. data/chef/cookbooks/apache2/templates/default/ports.conf.erb +6 -0
  106. data/chef/cookbooks/apache2/templates/default/security.erb +50 -0
  107. data/chef/cookbooks/apache2/templates/default/web_app.conf.erb +43 -0
  108. data/chef/cookbooks/build-essential/.gitignore +4 -0
  109. data/chef/cookbooks/build-essential/CHANGELOG.md +31 -0
  110. data/chef/cookbooks/build-essential/CONTRIBUTING +29 -0
  111. data/chef/cookbooks/build-essential/Gemfile +3 -0
  112. data/chef/cookbooks/build-essential/LICENSE +201 -0
  113. data/chef/cookbooks/build-essential/README.md +129 -0
  114. data/chef/cookbooks/build-essential/attributes/default.rb +33 -0
  115. data/chef/cookbooks/build-essential/metadata.json +41 -0
  116. data/chef/cookbooks/build-essential/metadata.rb +14 -0
  117. data/chef/cookbooks/build-essential/recipes/default.rb +92 -0
  118. data/chef/cookbooks/database/.gitignore +1 -0
  119. data/chef/cookbooks/database/CHANGELOG.md +46 -0
  120. data/chef/cookbooks/database/CONTRIBUTING +29 -0
  121. data/chef/cookbooks/database/LICENSE +201 -0
  122. data/chef/cookbooks/database/README.md +468 -0
  123. data/chef/cookbooks/database/libraries/provider_database_mysql.rb +103 -0
  124. data/chef/cookbooks/database/libraries/provider_database_mysql_user.rb +76 -0
  125. data/chef/cookbooks/database/libraries/provider_database_postgresql.rb +131 -0
  126. data/chef/cookbooks/database/libraries/provider_database_postgresql_user.rb +83 -0
  127. data/chef/cookbooks/database/libraries/provider_database_sql_server.rb +109 -0
  128. data/chef/cookbooks/database/libraries/provider_database_sql_server_user.rb +106 -0
  129. data/chef/cookbooks/database/libraries/resource_database.rb +119 -0
  130. data/chef/cookbooks/database/libraries/resource_database_user.rb +90 -0
  131. data/chef/cookbooks/database/libraries/resource_mysql_database.rb +34 -0
  132. data/chef/cookbooks/database/libraries/resource_mysql_database_user.rb +34 -0
  133. data/chef/cookbooks/database/libraries/resource_postgresql_database.rb +35 -0
  134. data/chef/cookbooks/database/libraries/resource_postgresql_database_user.rb +35 -0
  135. data/chef/cookbooks/database/libraries/resource_sql_server_database.rb +34 -0
  136. data/chef/cookbooks/database/libraries/resource_sql_server_database_user.rb +34 -0
  137. data/chef/cookbooks/database/metadata.json +45 -0
  138. data/chef/cookbooks/database/metadata.rb +22 -0
  139. data/chef/cookbooks/database/recipes/default.rb +20 -0
  140. data/chef/cookbooks/database/recipes/ebs_backup.rb +89 -0
  141. data/chef/cookbooks/database/recipes/ebs_volume.rb +204 -0
  142. data/chef/cookbooks/database/recipes/master.rb +78 -0
  143. data/chef/cookbooks/database/recipes/mysql.rb +20 -0
  144. data/chef/cookbooks/database/recipes/postgresql.rb +20 -0
  145. data/chef/cookbooks/database/recipes/snapshot.rb +62 -0
  146. data/chef/cookbooks/database/templates/default/app_grants.sql.erb +8 -0
  147. data/chef/cookbooks/database/templates/default/aws_config.erb +3 -0
  148. data/chef/cookbooks/database/templates/default/chef-solo-database-snapshot.cron.erb +6 -0
  149. data/chef/cookbooks/database/templates/default/chef-solo-database-snapshot.json.erb +1 -0
  150. data/chef/cookbooks/database/templates/default/chef-solo-database-snapshot.rb.erb +6 -0
  151. data/chef/cookbooks/database/templates/default/ebs-backup-cron.erb +2 -0
  152. data/chef/cookbooks/database/templates/default/ebs-db-backup.sh.erb +8 -0
  153. data/chef/cookbooks/database/templates/default/ebs-db-restore.sh.erb +10 -0
  154. data/chef/cookbooks/database/templates/default/s3cfg.erb +27 -0
  155. data/chef/cookbooks/fast_food/recipes/default.rb +24 -0
  156. data/chef/cookbooks/fast_food/recipes/site.rb +7 -0
  157. data/chef/cookbooks/fast_food/templates/default/web_app.conf.erb +43 -0
  158. data/chef/cookbooks/git/CHANGELOG.md +49 -0
  159. data/chef/cookbooks/git/CONTRIBUTING +29 -0
  160. data/chef/cookbooks/git/LICENSE +201 -0
  161. data/chef/cookbooks/git/README.md +115 -0
  162. data/chef/cookbooks/git/attributes/default.rb +37 -0
  163. data/chef/cookbooks/git/metadata.json +48 -0
  164. data/chef/cookbooks/git/metadata.rb +20 -0
  165. data/chef/cookbooks/git/recipes/default.rb +46 -0
  166. data/chef/cookbooks/git/recipes/server.rb +38 -0
  167. data/chef/cookbooks/git/recipes/source.rb +48 -0
  168. data/chef/cookbooks/git/recipes/windows.rb +32 -0
  169. data/chef/cookbooks/git/templates/default/sv-git-daemon-log-run.erb +2 -0
  170. data/chef/cookbooks/git/templates/default/sv-git-daemon-run.erb +3 -0
  171. data/chef/cookbooks/imagemagick/README.md +57 -0
  172. data/chef/cookbooks/imagemagick/metadata.json +37 -0
  173. data/chef/cookbooks/imagemagick/metadata.rb +14 -0
  174. data/chef/cookbooks/imagemagick/recipes/default.rb +25 -0
  175. data/chef/cookbooks/imagemagick/recipes/devel.rb +32 -0
  176. data/chef/cookbooks/imagemagick/recipes/rmagick.rb +22 -0
  177. data/chef/cookbooks/mysql/.gitignore +5 -0
  178. data/chef/cookbooks/mysql/CHANGELOG.md +125 -0
  179. data/chef/cookbooks/mysql/CONTRIBUTING +29 -0
  180. data/chef/cookbooks/mysql/Gemfile +8 -0
  181. data/chef/cookbooks/mysql/LICENSE +201 -0
  182. data/chef/cookbooks/mysql/README.md +227 -0
  183. data/chef/cookbooks/mysql/attributes/client.rb +50 -0
  184. data/chef/cookbooks/mysql/attributes/server.rb +240 -0
  185. data/chef/cookbooks/mysql/files/default/tests/minitest/server_test.rb +36 -0
  186. data/chef/cookbooks/mysql/files/default/tests/minitest/support/helpers.rb +11 -0
  187. data/chef/cookbooks/mysql/libraries/helpers.rb +33 -0
  188. data/chef/cookbooks/mysql/metadata.json +418 -0
  189. data/chef/cookbooks/mysql/metadata.rb +140 -0
  190. data/chef/cookbooks/mysql/recipes/client.rb +59 -0
  191. data/chef/cookbooks/mysql/recipes/default.rb +20 -0
  192. data/chef/cookbooks/mysql/recipes/ruby.rb +36 -0
  193. data/chef/cookbooks/mysql/recipes/server.rb +221 -0
  194. data/chef/cookbooks/mysql/recipes/server_ec2.rb +51 -0
  195. data/chef/cookbooks/mysql/templates/default/debian.cnf.erb +12 -0
  196. data/chef/cookbooks/mysql/templates/default/grants.sql.erb +15 -0
  197. data/chef/cookbooks/mysql/templates/default/my.cnf.erb +312 -0
  198. data/chef/cookbooks/mysql/templates/default/mysql-server.seed.erb +10 -0
  199. data/chef/cookbooks/mysql/templates/default/port_mysql.erb +3 -0
  200. data/chef/cookbooks/mysql/templates/windows/my.cnf.erb +61 -0
  201. data/chef/cookbooks/openssl/README.md +37 -0
  202. data/chef/cookbooks/openssl/libraries/secure_password.rb +37 -0
  203. data/chef/cookbooks/openssl/metadata.json +30 -0
  204. data/chef/cookbooks/openssl/metadata.rb +8 -0
  205. data/chef/cookbooks/openssl/recipes/default.rb +19 -0
  206. data/chef/cookbooks/passenger_apache2/.gitignore +4 -0
  207. data/chef/cookbooks/passenger_apache2/CHANGELOG.md +29 -0
  208. data/chef/cookbooks/passenger_apache2/CONTRIBUTING +29 -0
  209. data/chef/cookbooks/passenger_apache2/Gemfile +3 -0
  210. data/chef/cookbooks/passenger_apache2/LICENSE +201 -0
  211. data/chef/cookbooks/passenger_apache2/README.md +77 -0
  212. data/chef/cookbooks/passenger_apache2/attributes/default.rb +5 -0
  213. data/chef/cookbooks/passenger_apache2/metadata.json +38 -0
  214. data/chef/cookbooks/passenger_apache2/metadata.rb +17 -0
  215. data/chef/cookbooks/passenger_apache2/recipes/default.rb +60 -0
  216. data/chef/cookbooks/passenger_apache2/recipes/mod_rails.rb +47 -0
  217. data/chef/cookbooks/passenger_apache2/templates/default/passenger.conf.erb +3 -0
  218. data/chef/cookbooks/passenger_apache2/templates/default/passenger.load.erb +1 -0
  219. data/chef/cookbooks/passenger_apache2/templates/default/passenger_web_app.conf.erb +32 -0
  220. data/chef/cookbooks/passenger_apache2/templates/default/web_app.conf.erb +32 -0
  221. data/chef/roles/apache2.rb +12 -0
  222. data/chef/roles/mysql.rb +18 -0
  223. data/chef/solo.rb +5 -0
  224. data/config/deploy/centos.sh +17 -0
  225. data/config/deploy/production.rb +3 -0
  226. data/config/deploy/ubuntu.sh +10 -0
  227. data/config/deploy.rb +99 -0
  228. data/config/deployment.yml +6 -0
  229. data/fast_food.gemspec +26 -0
  230. data/lib/fast_food/railtie.rb +9 -0
  231. data/lib/fast_food/version.rb +3 -0
  232. data/lib/fast_food.rb +5 -0
  233. data/lib/tasks/fast_food.rake +100 -0
  234. data/spec/lib/fast_food_spec.rb +0 -0
  235. data/spec/spec_helper.rb +1 -0
  236. metadata +349 -0
@@ -0,0 +1,511 @@
1
+ {
2
+ "name": "apache2",
3
+ "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions",
4
+ "long_description": "Description\n===========\n\nThis cookbook provides a complete Debian/Ubuntu style Apache HTTPD configuration. Non-Debian based distributions such as Red Hat/CentOS, ArchLinux and others supported by this cookbook will have a configuration that mimics Debian/Ubuntu style as it is easier to manage with Chef.\n\nDebian-style Apache configuration uses scripts to manage modules and sites (vhosts). The scripts are:\n\n* a2ensite\n* a2dissite\n* a2enmod\n* a2dismod\n\nThis cookbook ships with templates of these scripts for non Debian/Ubuntu platforms. The scripts are used in the __Definitions__ below.\n\nRequirements\n============\n\n## Cookbooks:\n\nThis cookbook doesn't have direct dependencies on other cookbooks. Depending on your OS configuration and security policy, you may need additional recipes or cookbooks for this cookbook's recipes to converge on the node. In particular, the following Operating System nuances may affect the behavior:\n\n* apt cache outdated\n* SELinux enabled\n* IPtables\n* Compile tools\n\nOn Ubuntu/Debian, use Opscode's `apt` cookbook to ensure the package cache is updated so Chef can install packages, or consider putting apt-get in your bootstrap process or [knife bootstrap template](http://wiki.opscode.com/display/chef/Knife+Bootstrap).\n\nOn RHEL, SELinux is enabled by default. The `selinux` cookbook contains a `permissive` recipe that can be used to set SELinux to \"Permissive\" state. Otherwise, additional recipes need to be created by the user to address SELinux permissions.\n\nThe easiest but **certainly not ideal way** to deal with IPtables is to flush all rules. Opscode does provide an `iptables` cookbook but is migrating from the approach used there to a more robust solution utilizing a general \"firewall\" LWRP that would have an \"iptables\" provider. Alternately, you can use ufw, with Opscode's `ufw` and `firewall` cookbooks to set up rules. See those cookbooks' READMEs for documentation.\n\nBuild/compile tools may not be installed on the system by default. Some recipes (e.g., `apache2::mod_auth_openid`) build the module from source. Use Opscode's `build-essential` cookbook to get essential build packages installed.\n\nOn ArchLinux, if you are using the `apache2::mod_auth_openid` recipe, you also need the `pacman` cookbook for the `pacman_aur` LWRP. Put `recipe[pacman]` on the node's expanded run list (on the node or in a role). This is not an explicit dependency because it is only required for this single recipe and platform; the pacman default recipe performs `pacman -Sy` to keep pacman's package cache updated.\n\nThe `apache2::god_monitor` recipe uses a definition from the `god` cookbook. Include `recipe[god]` in the node's expanded run list to ensure that the cookbook is downloaded.\n\n## Platforms:\n\n* Debian\n* Ubuntu\n* Red Hat/CentOS/Scientific Linux/Fedora (RHEL Family)\n* SUSE/OpenSUSE\n* ArchLinux\n* Amazon Linux AMI\n* FreeBSD\n\n### Notes for RHEL Family:\n\nOn Red Hat Enterprise Linux and derivatives, the EPEL repository may be necessary to install packages used in certain recipes. The `apache2::default` recipe, however, does not require any additional repositories. Opscode's `yum` cookbook contains a recipe to add the EPEL repository. See __Examples__ for more information.\n\n### Notes for FreeBSD:\n\nThe `apache2::mod_php5` recipe depends on the `freebsd` cookbook, which it uses to set the correct options for compiling the `php5` port from sources. You need to ensure the `freebsd` is in the expanded run list, or this recipe will fail. We don't set an explicit dependency because we feel the `freebsd` cookbook is something users would want on their nodes, and due to the generality of this cookbook we don't want additional specific dependencies.\n\nTests\n=====\n\nThis cookbook in the [source repository](https://github.com/opscode-cookbooks/apache2) contains minitest and cucumber tests. This is an initial proof of concept that will be fleshed out with more supporting infrastructure at a future time.\n\nAttributes\n==========\n\nThis cookbook uses many attributes, broken up into a few different kinds.\n\nPlatform specific\n-----------------\n\nIn order to support the broadest number of platforms, several attributes are determined based on the node's platform. See the attributes/default.rb file for default values in the case statement at the top of the file.\n\n* `node['apache']['dir']` - Location for the Apache configuration\n* `node['apache']['log_dir']` - Location for Apache logs\n* `node['apache']['user']` - User Apache runs as\n* `node['apache']['group']` - Group Apache runs as\n* `node['apache']['binary']` - Apache httpd server daemon\n* `node['apache']['icondir']` - Location for icons\n* `node['apache']['cache_dir']` - Location for cached files used by Apache itself or recipes\n* `node['apache']['pid_file']` - Location of the PID file for Apache httpd\n* `node['apache']['lib_dir']` - Location for shared libraries\n* `node['apache']['default_site_enabled']` - Default site enabled. Defaults to true on redhat-family platforms\n* `node['apache']['ext_status']` - if true, enables ExtendedStatus for `mod_status`\n\nGeneral settings\n----------------\n\nThese are general settings used in recipes and templates. Default values are noted.\n\n* `node['apache']['listen_ports']` - Ports that httpd should listen on. Default is an array of ports 80 and 443.\n* `node['apache']['contact']` - Value for ServerAdmin directive. Default \"ops@example.com\".\n* `node['apache']['timeout']` - Value for the Timeout directive. Default is 300.\n* `node['apache']['keepalive']` - Value for the KeepAlive directive. Default is On.\n* `node['apache']['keepaliverequests']` - Value for MaxKeepAliveRequests. Default is 100.\n* `node['apache']['keepalivetimeout']` - Value for the KeepAliveTimeout directive. Default is 5.\n* `node['apache']['default_modules']` - Array of module names. Can take \"mod_FOO\" or \"FOO\" as names, where FOO is the apache module, e.g. \"`mod_status`\" or \"`status`\".\n\nThe modules listed in `default_modules` will be included as recipes in `recipe[apache::default]`.\n\nPrefork attributes\n------------------\n\nPrefork attributes are used for tuning the Apache HTTPD prefork MPM configuration.\n\n* `node['apache']['prefork']['startservers']` - initial number of server processes to start. Default is 16.\n* `node['apache']['prefork']['minspareservers']` - minimum number of spare server processes. Default 16.\n* `node['apache']['prefork']['maxspareservers']` - maximum number of spare server processes. Default 32.\n* `node['apache']['prefork']['serverlimit']` - upper limit on configurable server processes. Default 400.\n* `node['apache']['prefork']['maxclients']` - Maximum number of simultaneous connections.\n* `node['apache']['prefork']['maxrequestsperchild']` - Maximum number of request a child process will handle. Default 10000.\n\nWorker attributes\n-----------------\n\nWorker attributes are used for tuning the Apache HTTPD worker MPM configuration.\n\n* `node['apache']['worker']['startservers']` - Initial number of server processes to start. Default 4\n* `node['apache']['worker']['maxclients']` - Maximum number of simultaneous connections. Default 1024.\n* `node['apache']['worker']['minsparethreads']` - Minimum number of spare worker threads. Default 64\n* `node['apache']['worker']['maxsparethreads']` - Maximum number of spare worker threads. Default 192.\n* `node['apache']['worker']['maxrequestsperchild']` - Maximum number of requests a child process will handle.\n\nmod\\_auth\\_openid attributes\n----------------------------\n\nThe following attributes are in the `attributes/mod_auth_openid.rb` file. Like all Chef attributes files, they are loaded as well, but they're logistically unrelated to the others, being specific to the `mod_auth_openid` recipe.\n\n* `node['apache']['mod_auth_openid']['checksum']` - sha256sum of the tarball containing the source.\n* `node['apache']['mod_auth_openid']['version']` - version of the `mod_auth_openid` to download.\n* `node['apache']['mod_auth_openid']['cache_dir']` - the cache directory is where the sqlite3 database is stored. It is separate so it can be managed as a directory resource.\n* `node['apache']['mod_auth_openid']['dblocation']` - filename of the sqlite3 database used for directive `AuthOpenIDDBLocation`, stored in the `cache_dir` by default.\n* `node['apache']['mod_auth_openid']['configure_flags']` - optional array of configure flags passed to the `./configure` step in the compilation of the module.\n\nRecipes\n=======\n\nMost of the recipes in the cookbook are for enabling Apache modules. Where additional configuration or behavior is used, it is documented below in more detail.\n\nThe following recipes merely enable the specified module: `mod_alias`, `mod_basic`, `mod_digest`, `mod_authn_file`, `mod_authnz_ldap`, `mod_authz_default`, `mod_authz_groupfile`, `mod_authz_host`, `mod_authz_user`, `mod_autoindex`, `mod_cgi`, `mod_dav_fs`, `mod_dav_svn`, `mod_deflate`, `mod_dir`, `mod_env`, `mod_expires`, `mod_headers`, `mod_ldap`, `mod_log_config`, `mod_mime`, `mod_negotiation`, `mod_proxy`, `mod_proxy_ajp`, `mod_proxy_balancer`, `mod_proxy_connect`, `mod_proxy_http`, `mod_python`, `mod_rewrite`, `mod_setenvif`, `mod_status`, `mod_wsgi`, `mod_xsendfile`.\n\nOn RHEL Family distributions, certain modules ship with a config file with the package. The recipes here may delete those configuration files to ensure they don't conflict with the settings from the cookbook, which will use per-module configuration in `/etc/httpd/mods-enabled`.\n\ndefault\n-------\n\nThe default recipe does a number of things to set up Apache HTTPd. It also includes a number of modules based on the attribute `node['apache']['default_modules']` as recipes.\n\nmod\\_auth\\_openid\n-----------------\n\n**Changed via COOK-915**\n\nThis recipe compiles the module from source. In addition to `build-essential`, some other packages are included for installation like the GNU C++ compiler and development headers.\n\nTo use the module in your own cookbooks to authenticate systems using OpenIDs, specify an array of OpenIDs that are allowed to authenticate with the attribute `node['apache']['allowed_openids']`. Use the following in a vhost to protect with OpenID authentication:\n\n AuthType OpenID\n require user <%= node['apache']['allowed_openids'].join(' ') %>\n AuthOpenIDDBLocation <%= node['apache']['mod_auth_openid']['dblocation'] %>\n\nChange the DBLocation with the attribute as required; this file is in a different location than previous versions, see below. It should be a sane default for most platforms, though, see `attributes/mod_auth_openid.rb`.\n\n### Changes from COOK-915:\n\n* `AuthType OpenID` instead of `AuthOpenIDEnabled On`.\n* `require user` instead of `AuthOpenIDUserProgram`.\n* A bug(?) in `mod_auth_openid` causes it to segfault when attempting to update the database file if the containing directory is not writable by the HTTPD process owner (e.g., www-data), even if the file is writable. In order to not interfere with other settings from the default recipe in this cookbook, the db file is moved.\n\nmod\\_fastcgi\n------------\n\nInstall the fastcgi package and enable the module.\n\nOnly work on Debian/Ubuntu\n\nmod\\_fcgid\n----------\n\nInstalls the fcgi package and enables the module. Requires EPEL on RHEL family.\n\nOn RHEL family, this recipe will delete the fcgid.conf and on version 6+, create the /var/run/httpd/mod_fcgid` directory, which prevents the emergency error:\n\n [emerg] (2)No such file or directory: mod_fcgid: Can't create shared memory for size XX bytes\n\nmod\\_php5\n--------\n\nSimply installs the appropriate package on Debian, Ubuntu and ArchLinux.\n\nOn Red Hat family distributions including Fedora, the php.conf that comes with the package is removed. On RHEL platforms less than v6, the `php53` package is used.\n\nmod\\_ssl\n--------\n\nBesides installing and enabling `mod_ssl`, this recipe will append port 443 to the `node['apache']['listen_ports']` attribute array and update the ports.conf.\n\ngod\\_monitor\n------------\n\nSets up a `god` monitor for Apache. External requirements are the `god` and `runit` cookbooks from Opscode. When using this recipe, include `recipe[god]` in the node's expanded run list to ensure the client downloads it; `god` depends on runit so that will also be downloaded.\n\nDefinitions\n===========\n\nThe cookbook provides a few definitions. At some point in the future these definitions may be refactored into lightweight resources and providers.\n\napache\\_conf\n------------\n\nSets up configuration file for an Apache module from a template. The template should be in the same cookbook where the definition is used. This is used by the `apache_module` definition and is not often used directly.\n\nThis will use a template resource to write the module's configuration file in the `mods-available` under the Apache configuration directory (`node['apache']['dir']`). This is a platform-dependent location. See __apache\\_module__.\n\n### Parameters:\n\n* `name` - Name of the template. When used from the `apache_module`, it will use the same name as the module.\n\n### Examples:\n\nCreate `#{node['apache']['dir']}/mods-available/alias.conf`.\n\n apache_conf \"alias\"\n\napache\\_module\n--------------\n\nEnable or disable an Apache module in `#{node['apache']['dir']}/mods-available` by calling `a2enmod` or `a2dismod` to manage the symbolic link in `#{node['apache']['dir']}/mods-enabled`. If the module has a configuration file, a template should be created in the cookbook where the definition is used. See __Examples__.\n\n### Parameters:\n\n* `name` - Name of the module enabled or disabled with the `a2enmod` or `a2dismod` scripts.\n* `enable` - Default true, which uses `a2enmod` to enable the module. If false, the module will be disabled with `a2dismod`.\n* `conf` - Default false. Set to true if the module has a config file, which will use `apache_conf` for the file.\n* `filename` - specify the full name of the file, e.g.\n\n### Examples:\n\nEnable the ssl module, which also has a configuration template in `templates/default/ssl.conf.erb`.\n\n apache_module \"ssl\" do\n conf true\n end\n\nEnable the php5 module, which has a different filename than the module default:\n\n apache_module \"php5\" do\n filename \"libphp5.so\"\n end\n\nDisable a module:\n\n apache_module \"disabled_module\" do\n enable false\n end\n\nSee the recipes directory for many more examples of `apache_module`.\n\napache\\_site\n------------\n\nEnable or disable a VirtualHost in `#{node['apache']['dir']}/sites-available` by calling a2ensite or a2dissite to manage the symbolic link in `#{node['apache']['dir']}/sites-enabled`.\n\nThe template for the site must be managed as a separate resource. To combine the template with enabling a site, see `web_app`.\n\n### Parameters:\n\n* `name` - Name of the site.\n* `enable` - Default true, which uses `a2ensite` to enable the site. If false, the site will be disabled with `a2dissite`.\n\nweb\\_app\n--------\n\nManage a template resource for a VirtualHost site, and enable it with `apache_site`. This is commonly done for managing web applications such as Ruby on Rails, PHP or Django, and the default behavior reflects that. However it is flexible.\n\nThis definition includes some recipes to make sure the system is configured to have Apache and some sane default modules:\n\n* `apache2`\n* `apache2::mod_rewrite`\n* `apache2::mod_deflate`\n* `apache2::mod_headers`\n\nIt will then configure the template (see __Parameters__ and __Examples__ below), and enable or disable the site per the `enable` parameter.\n\n### Parameters:\n\nCurrent parameters used by the definition:\n\n* `name` - The name of the site. The template will be written to `#{node['apache']['dir']}/sites-available/#{params['name']}.conf`\n* `cookbook` - Optional. Cookbook where the source template is. If this is not defined, Chef will use the named template in the cookbook where the definition is used.\n* `template` - Default `web_app.conf.erb`, source template file.\n* `enable` - Default true. Passed to the `apache_site` definition.\n\nAdditional parameters can be defined when the definition is called in a recipe, see __Examples__.\n\n### Examples:\n\nAll parameters are passed into the template. You can use whatever you like. The apache2 cookbook comes with a `web_app.conf.erb` template as an example. The following parameters are used in the template:\n\n* `server_name` - ServerName directive.\n* `server_aliases` - ServerAlias directive. Must be an array of aliases.\n* `docroot` - DocumentRoot directive.\n* `application_name` - Used in RewriteLog directive. Will be set to the `name` parameter.\n\nTo use the default web_app, for example:\n\n web_app \"my_site\" do\n server_name node['hostname']\n server_aliases [node['fqdn'], \"my-site.example.com\"]\n docroot \"/srv/www/my_site\"\n end\n\nThe parameters specified will be used as:\n\n* `@params[:server_name]`\n* `@params[:server_aliases]`\n* `@params[:docroot]`\n\nIn the template. When you write your own, the `@` is significant.\n\nFor more information about Definitions and parameters, see the [Chef Wiki](http://wiki.opscode.com/display/chef/Definitions)\n\nUsage\n=====\n\nUsing this cookbook is relatively straightforward. Add the desired recipes to the run list of a node, or create a role. Depending on your environment, you may have multiple roles that use different recipes from this cookbook. Adjust any attributes as desired. For example, to create a basic role for web servers that provide both HTTP and HTTPS:\n\n % cat roles/webserver.rb\n name \"webserver\"\n description \"Systems that serve HTTP and HTTPS\"\n run_list(\n \"recipe[apache2]\",\n \"recipe[apache2::mod_ssl]\"\n )\n default_attributes(\n \"apache2\" => {\n \"listen_ports\" => [\"80\", \"443\"]\n }\n )\n\nFor examples of using the definitions in your own recipes, see their respective sections above.\n\nLicense and Authors\n===================\n\nAuthor:: Adam Jacob <adam@opscode.com>\nAuthor:: Joshua Timberman <joshua@opscode.com>\nAuthor:: Bryan McLellan <bryanm@widemile.com>\nAuthor:: Dave Esposito <esposito@espolinux.corpnet.local>\nAuthor:: David Abdemoulaie <github@hobodave.com>\nAuthor:: Edmund Haselwanter <edmund@haselwanter.com>\nAuthor:: Eric Rochester <err8n@virginia.edu>\nAuthor:: Jim Browne <jbrowne@42lines.net>\nAuthor:: Matthew Kent <mkent@magoazul.com>\nAuthor:: Nathen Harvey <nharvey@customink.com>\nAuthor:: Ringo De Smet <ringo.de.smet@amplidata.com>\nAuthor:: Sean OMeara <someara@opscode.com>\nAuthor:: Seth Chisamore <schisamo@opscode.com>\nAuthor:: Gilles Devaux <gilles@peerpong.com>\n\nCopyright:: 2009-2011, Opscode, Inc\nCopyright:: 2011, Atriso\nCopyright:: 2011, CustomInk, LLC.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
5
+ "maintainer": "Opscode, Inc.",
6
+ "maintainer_email": "cookbooks@opscode.com",
7
+ "license": "Apache 2.0",
8
+ "platforms": {
9
+ "redhat": ">= 0.0.0",
10
+ "centos": ">= 0.0.0",
11
+ "scientific": ">= 0.0.0",
12
+ "fedora": ">= 0.0.0",
13
+ "debian": ">= 0.0.0",
14
+ "ubuntu": ">= 0.0.0",
15
+ "arch": ">= 0.0.0",
16
+ "freebsd": ">= 0.0.0",
17
+ "amazon": ">= 0.0.0"
18
+ },
19
+ "dependencies": {
20
+ },
21
+ "recommendations": {
22
+ },
23
+ "suggestions": {
24
+ },
25
+ "conflicting": {
26
+ },
27
+ "providing": {
28
+ },
29
+ "replacing": {
30
+ },
31
+ "attributes": {
32
+ "apache": {
33
+ "display_name": "Apache Hash",
34
+ "description": "Hash of Apache attributes",
35
+ "type": "hash",
36
+ "choice": [
37
+
38
+ ],
39
+ "calculated": false,
40
+ "required": "optional",
41
+ "recipes": [
42
+
43
+ ]
44
+ },
45
+ "apache/dir": {
46
+ "display_name": "Apache Directory",
47
+ "description": "Location for Apache configuration",
48
+ "default": "/etc/apache2",
49
+ "choice": [
50
+
51
+ ],
52
+ "calculated": false,
53
+ "type": "string",
54
+ "required": "optional",
55
+ "recipes": [
56
+
57
+ ]
58
+ },
59
+ "apache/log_dir": {
60
+ "display_name": "Apache Log Directory",
61
+ "description": "Location for Apache logs",
62
+ "default": "/etc/apache2",
63
+ "choice": [
64
+
65
+ ],
66
+ "calculated": false,
67
+ "type": "string",
68
+ "required": "optional",
69
+ "recipes": [
70
+
71
+ ]
72
+ },
73
+ "apache/user": {
74
+ "display_name": "Apache User",
75
+ "description": "User Apache runs as",
76
+ "default": "www-data",
77
+ "choice": [
78
+
79
+ ],
80
+ "calculated": false,
81
+ "type": "string",
82
+ "required": "optional",
83
+ "recipes": [
84
+
85
+ ]
86
+ },
87
+ "apache/binary": {
88
+ "display_name": "Apache Binary",
89
+ "description": "Apache server daemon program",
90
+ "default": "/usr/sbin/apache2",
91
+ "choice": [
92
+
93
+ ],
94
+ "calculated": false,
95
+ "type": "string",
96
+ "required": "optional",
97
+ "recipes": [
98
+
99
+ ]
100
+ },
101
+ "apache/icondir": {
102
+ "display_name": "Apache Icondir",
103
+ "description": "Directory location for icons",
104
+ "default": "/usr/share/apache2/icons",
105
+ "choice": [
106
+
107
+ ],
108
+ "calculated": false,
109
+ "type": "string",
110
+ "required": "optional",
111
+ "recipes": [
112
+
113
+ ]
114
+ },
115
+ "apache/listen_ports": {
116
+ "display_name": "Apache Listen Ports",
117
+ "description": "Ports that Apache should listen on",
118
+ "type": "array",
119
+ "default": [
120
+ "80",
121
+ "443"
122
+ ],
123
+ "choice": [
124
+
125
+ ],
126
+ "calculated": false,
127
+ "required": "optional",
128
+ "recipes": [
129
+
130
+ ]
131
+ },
132
+ "apache/contact": {
133
+ "display_name": "Apache Contact",
134
+ "description": "Email address of webmaster",
135
+ "default": "ops@example.com",
136
+ "choice": [
137
+
138
+ ],
139
+ "calculated": false,
140
+ "type": "string",
141
+ "required": "optional",
142
+ "recipes": [
143
+
144
+ ]
145
+ },
146
+ "apache/timeout": {
147
+ "display_name": "Apache Timeout",
148
+ "description": "Connection timeout value",
149
+ "default": "300",
150
+ "choice": [
151
+
152
+ ],
153
+ "calculated": false,
154
+ "type": "string",
155
+ "required": "optional",
156
+ "recipes": [
157
+
158
+ ]
159
+ },
160
+ "apache/keepalive": {
161
+ "display_name": "Apache Keepalive",
162
+ "description": "HTTP persistent connections",
163
+ "default": "On",
164
+ "choice": [
165
+
166
+ ],
167
+ "calculated": false,
168
+ "type": "string",
169
+ "required": "optional",
170
+ "recipes": [
171
+
172
+ ]
173
+ },
174
+ "apache/keepaliverequests": {
175
+ "display_name": "Apache Keepalive Requests",
176
+ "description": "Number of requests allowed on a persistent connection",
177
+ "default": "100",
178
+ "choice": [
179
+
180
+ ],
181
+ "calculated": false,
182
+ "type": "string",
183
+ "required": "optional",
184
+ "recipes": [
185
+
186
+ ]
187
+ },
188
+ "apache/keepalivetimeout": {
189
+ "display_name": "Apache Keepalive Timeout",
190
+ "description": "Time to wait for requests on persistent connection",
191
+ "default": "5",
192
+ "choice": [
193
+
194
+ ],
195
+ "calculated": false,
196
+ "type": "string",
197
+ "required": "optional",
198
+ "recipes": [
199
+
200
+ ]
201
+ },
202
+ "apache/servertokens": {
203
+ "display_name": "Apache Server Tokens",
204
+ "description": "Server response header",
205
+ "default": "Prod",
206
+ "choice": [
207
+
208
+ ],
209
+ "calculated": false,
210
+ "type": "string",
211
+ "required": "optional",
212
+ "recipes": [
213
+
214
+ ]
215
+ },
216
+ "apache/serversignature": {
217
+ "display_name": "Apache Server Signature",
218
+ "description": "Configure footer on server-generated documents",
219
+ "default": "On",
220
+ "choice": [
221
+
222
+ ],
223
+ "calculated": false,
224
+ "type": "string",
225
+ "required": "optional",
226
+ "recipes": [
227
+
228
+ ]
229
+ },
230
+ "apache/traceenable": {
231
+ "display_name": "Apache Trace Enable",
232
+ "description": "Determine behavior of TRACE requests",
233
+ "default": "On",
234
+ "choice": [
235
+
236
+ ],
237
+ "calculated": false,
238
+ "type": "string",
239
+ "required": "optional",
240
+ "recipes": [
241
+
242
+ ]
243
+ },
244
+ "apache/allowed_openids": {
245
+ "display_name": "Apache Allowed OpenIDs",
246
+ "description": "Array of OpenIDs allowed to authenticate",
247
+ "default": "",
248
+ "choice": [
249
+
250
+ ],
251
+ "calculated": false,
252
+ "type": "string",
253
+ "required": "optional",
254
+ "recipes": [
255
+
256
+ ]
257
+ },
258
+ "apache/prefork": {
259
+ "display_name": "Apache Prefork",
260
+ "description": "Hash of Apache prefork tuning attributes.",
261
+ "type": "hash",
262
+ "choice": [
263
+
264
+ ],
265
+ "calculated": false,
266
+ "required": "optional",
267
+ "recipes": [
268
+
269
+ ]
270
+ },
271
+ "apache/prefork/startservers": {
272
+ "display_name": "Apache Prefork MPM StartServers",
273
+ "description": "Number of MPM servers to start",
274
+ "default": "16",
275
+ "choice": [
276
+
277
+ ],
278
+ "calculated": false,
279
+ "type": "string",
280
+ "required": "optional",
281
+ "recipes": [
282
+
283
+ ]
284
+ },
285
+ "apache/prefork/minspareservers": {
286
+ "display_name": "Apache Prefork MPM MinSpareServers",
287
+ "description": "Minimum number of spare server processes",
288
+ "default": "16",
289
+ "choice": [
290
+
291
+ ],
292
+ "calculated": false,
293
+ "type": "string",
294
+ "required": "optional",
295
+ "recipes": [
296
+
297
+ ]
298
+ },
299
+ "apache/prefork/maxspareservers": {
300
+ "display_name": "Apache Prefork MPM MaxSpareServers",
301
+ "description": "Maximum number of spare server processes",
302
+ "default": "32",
303
+ "choice": [
304
+
305
+ ],
306
+ "calculated": false,
307
+ "type": "string",
308
+ "required": "optional",
309
+ "recipes": [
310
+
311
+ ]
312
+ },
313
+ "apache/prefork/serverlimit": {
314
+ "display_name": "Apache Prefork MPM ServerLimit",
315
+ "description": "Upper limit on configurable server processes",
316
+ "default": "400",
317
+ "choice": [
318
+
319
+ ],
320
+ "calculated": false,
321
+ "type": "string",
322
+ "required": "optional",
323
+ "recipes": [
324
+
325
+ ]
326
+ },
327
+ "apache/prefork/maxclients": {
328
+ "display_name": "Apache Prefork MPM MaxClients",
329
+ "description": "Maximum number of simultaneous connections",
330
+ "default": "400",
331
+ "choice": [
332
+
333
+ ],
334
+ "calculated": false,
335
+ "type": "string",
336
+ "required": "optional",
337
+ "recipes": [
338
+
339
+ ]
340
+ },
341
+ "apache/prefork/maxrequestsperchild": {
342
+ "display_name": "Apache Prefork MPM MaxRequestsPerChild",
343
+ "description": "Maximum number of request a child process will handle",
344
+ "default": "10000",
345
+ "choice": [
346
+
347
+ ],
348
+ "calculated": false,
349
+ "type": "string",
350
+ "required": "optional",
351
+ "recipes": [
352
+
353
+ ]
354
+ },
355
+ "apache/worker": {
356
+ "display_name": "Apache Worker",
357
+ "description": "Hash of Apache prefork tuning attributes.",
358
+ "type": "hash",
359
+ "choice": [
360
+
361
+ ],
362
+ "calculated": false,
363
+ "required": "optional",
364
+ "recipes": [
365
+
366
+ ]
367
+ },
368
+ "apache/worker/startservers": {
369
+ "display_name": "Apache Worker MPM StartServers",
370
+ "description": "Initial number of server processes to start",
371
+ "default": "4",
372
+ "choice": [
373
+
374
+ ],
375
+ "calculated": false,
376
+ "type": "string",
377
+ "required": "optional",
378
+ "recipes": [
379
+
380
+ ]
381
+ },
382
+ "apache/worker/maxclients": {
383
+ "display_name": "Apache Worker MPM MaxClients",
384
+ "description": "Maximum number of simultaneous connections",
385
+ "default": "1024",
386
+ "choice": [
387
+
388
+ ],
389
+ "calculated": false,
390
+ "type": "string",
391
+ "required": "optional",
392
+ "recipes": [
393
+
394
+ ]
395
+ },
396
+ "apache/worker/minsparethreads": {
397
+ "display_name": "Apache Worker MPM MinSpareThreads",
398
+ "description": "Minimum number of spare worker threads",
399
+ "default": "64",
400
+ "choice": [
401
+
402
+ ],
403
+ "calculated": false,
404
+ "type": "string",
405
+ "required": "optional",
406
+ "recipes": [
407
+
408
+ ]
409
+ },
410
+ "apache/worker/maxsparethreads": {
411
+ "display_name": "Apache Worker MPM MaxSpareThreads",
412
+ "description": "Maximum number of spare worker threads",
413
+ "default": "192",
414
+ "choice": [
415
+
416
+ ],
417
+ "calculated": false,
418
+ "type": "string",
419
+ "required": "optional",
420
+ "recipes": [
421
+
422
+ ]
423
+ },
424
+ "apache/worker/threadsperchild": {
425
+ "display_name": "Apache Worker MPM ThreadsPerChild",
426
+ "description": "Constant number of worker threads in each server process",
427
+ "default": "64",
428
+ "choice": [
429
+
430
+ ],
431
+ "calculated": false,
432
+ "type": "string",
433
+ "required": "optional",
434
+ "recipes": [
435
+
436
+ ]
437
+ },
438
+ "apache/worker/maxrequestsperchild": {
439
+ "display_name": "Apache Worker MPM MaxRequestsPerChild",
440
+ "description": "Maximum number of request a child process will handle",
441
+ "default": "0",
442
+ "choice": [
443
+
444
+ ],
445
+ "calculated": false,
446
+ "type": "string",
447
+ "required": "optional",
448
+ "recipes": [
449
+
450
+ ]
451
+ },
452
+ "apache/default_modules": {
453
+ "display_name": "Apache Default Modules",
454
+ "description": "Default modules to enable via recipes",
455
+ "default": "status alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex dir env mime negotiation setenvif",
456
+ "choice": [
457
+
458
+ ],
459
+ "calculated": false,
460
+ "type": "string",
461
+ "required": "optional",
462
+ "recipes": [
463
+
464
+ ]
465
+ }
466
+ },
467
+ "groupings": {
468
+ },
469
+ "recipes": {
470
+ "apache2": "Main Apache configuration",
471
+ "apache2::mod_alias": "Apache module 'alias' with config file",
472
+ "apache2::mod_apreq2": "Apache module 'apreq'",
473
+ "apache2::mod_auth_basic": "Apache module 'auth_basic'",
474
+ "apache2::mod_auth_digest": "Apache module 'auth_digest'",
475
+ "apache2::mod_auth_openid": "Apache module 'authopenid'",
476
+ "apache2::mod_authn_file": "Apache module 'authn_file'",
477
+ "apache2::mod_authnz_ldap": "Apache module 'authnz_ldap'",
478
+ "apache2::mod_authz_default": "Apache module 'authz_default'",
479
+ "apache2::mod_authz_groupfile": "Apache module 'authz_groupfile'",
480
+ "apache2::mod_authz_host": "Apache module 'authz_host'",
481
+ "apache2::mod_authz_user": "Apache module 'authz_user'",
482
+ "apache2::mod_autoindex": "Apache module 'autoindex' with config file",
483
+ "apache2::mod_cgi": "Apache module 'cgi'",
484
+ "apache2::mod_dav": "Apache module 'dav'",
485
+ "apache2::mod_dav_svn": "Apache module 'dav_svn'",
486
+ "apache2::mod_deflate": "Apache module 'deflate' with config file",
487
+ "apache2::mod_dir": "Apache module 'dir' with config file",
488
+ "apache2::mod_env": "Apache module 'env'",
489
+ "apache2::mod_expires": "Apache module 'expires'",
490
+ "apache2::mod_fcgid": "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file",
491
+ "apache2::mod_headers": "Apache module 'headers'",
492
+ "apache2::mod_ldap": "Apache module 'ldap'",
493
+ "apache2::mod_log_config": "Apache module 'log_config'",
494
+ "apache2::mod_mime": "Apache module 'mime' with config file",
495
+ "apache2::mod_negotiation": "Apache module 'negotiation' with config file",
496
+ "apache2::mod_perl": "Apache module 'perl'",
497
+ "apache2::mod_php5": "Apache module 'php5'",
498
+ "apache2::mod_proxy": "Apache module 'proxy' with config file",
499
+ "apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'",
500
+ "apache2::mod_proxy_balancer": "Apache module 'proxy_balancer'",
501
+ "apache2::mod_proxy_connect": "Apache module 'proxy_connect'",
502
+ "apache2::mod_proxy_http": "Apache module 'proxy_http'",
503
+ "apache2::mod_python": "Apache module 'python'",
504
+ "apache2::mod_rewrite": "Apache module 'rewrite'",
505
+ "apache2::mod_setenvif": "Apache module 'setenvif' with config file",
506
+ "apache2::mod_ssl": "Apache module 'ssl' with config file, adds port 443 to listen_ports",
507
+ "apache2::mod_status": "Apache module 'status' with config file",
508
+ "apache2::mod_xsendfile": "Apache module 'xsendfile'"
509
+ },
510
+ "version": "1.1.12"
511
+ }