Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merge refactoring of the bootstrap->chef cookbooks

  • Loading branch information...
commit e0702602f566260cdf528f7c56c9848a60c8981a 2 parents 7b370c0 + 38ddadd
@jtimberman jtimberman authored
Showing with 60 additions and 60 deletions.
  1. +60 −60 metadata.json
View
120 metadata.json
@@ -1,4 +1,31 @@
{
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ],
+ "centos": [
+
+ ],
+ "debian": [
+
+ ],
+ "redhat": [
+
+ ]
+ },
+ "version": "0.10.0",
+ "recommendations": {
+ },
+ "name": "apache2",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "= DESCRIPTION:\n\nComplete Debian/Ubuntu style Apache2 configuration.\n\n= REQUIREMENTS:\n\nDebian or Ubuntu preferred.\n\nRed Hat/CentOS and Fedora can be used but will be converted to a Debian/Ubuntu style Apache as it's far easier to manage with chef. \n\n= ATTRIBUTES:\n\nThe file attributes/apache.rb contains the following attribute types:\n\n* platform specific locations and settings.\n* general settings\n* prefork attributes\n* worker attributes\n\nGeneral settings and prefork/worker attributes are tunable.\n\n= USAGE:\n\nInclude the apache2 recipe to install Apache2 and get 'sane' default settings. Configuration is modularized through Apache vhost sites a la Debian style configuration.\n\nFor Red Hat, CentOS and Fedora you should first disable selinux as it's not supported (yet), then remove the stock httpd and all it's dependencies prior to attempting to use this recipe. Many packages in these distributions drop conflicting configs into conf.d, all of which haven't been accounted for yet. Starting from scratch will also make it far easier to debug.\n\n== Defines:\n\n* apache_module: sets up an Apache module.\n* apache_conf: sets up a config file for an apache module.\n* apache_site: sets up a vhost site. The conf file must be available.\n* web_app: copies the template for a web app and enables it as a site via apache_site.\n\n== Web Apps:\n\nVarious applications that can be set up with Apache as the front end, such as PHP, Django, Rails and others can use the web_app define to set up the template and the Apache site. The define is kind of dumb, so the template needs have the application implementation settings, since we don't know what your app is or what is needed from Apache.\n\nWe only prototype one parameter for the web_app define, \"template\". This is used to specify the name of the template to use in the current cookbook. When you use web_app, you can set up any parameters you want to use in your template. They will get passed to the template through the params hash. For example, the sample web_app.conf.erb template in this cookbook makes use of these.\n\n* docroot\n* server_name\n* server_aliases\n\nThese are available as @params[:docroot], @params[:server_name], @params[:server_aliases] within the template. \n\nIf 'cookbook' and 'template' are not specified, the current cookbook's templates/default/web_app.conf.erb will be used. If this template is not suitable for your application, copy it to your cookbook and customize as needed.\n\n== God Monitor:\n\nThere's a new recipe, apache2::god_monitor. You will need to make sure to include the 'god' recipe before using the apache2::god_monitor recipe in your cookbook.\n\n== OpenID Auth\n\nInstalls the mod_auth_openid module from source. Specify an array of OpenIDs that are allowed to authenticate with the attribute apache[:allowed_openids]. Use the following in a vhost to protect with OpenID authentication:\n\n AuthOpenIDEnabled On\n AuthOpenIDDBLocation /var/cache/apache2/mod_auth_openid.db\n AuthOpenIDUserProgram /usr/local/bin/mod_auth_openid.rb\n\nChange the DBLocation as appropriate for your platform. You'll need to change the file in the recipe to match. The UserProgram is optional if you don't want to limit access by certain OpenIDs.\n\n= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nCopyright:: 2009, Opscode, Inc\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",
"recipes": {
"apache2::mod_python": "Apache module 'python'",
"apache2::mod_authn_file": "Apache module 'authn_file'",
@@ -37,10 +64,13 @@
"apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'",
"apache2::mod_mime": "Apache module 'mime' with config file"
},
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
"attributes": {
"apache/traceenable": {
- "default": "On",
"calculated": false,
+ "default": "On",
"type": "string",
"choice": [
@@ -53,8 +83,8 @@
"required": "optional"
},
"apache/timeout": {
- "default": "300",
"calculated": false,
+ "default": "300",
"type": "string",
"choice": [
@@ -67,8 +97,8 @@
"required": "optional"
},
"apache/icondir": {
- "default": "/usr/share/apache2/icons",
"calculated": false,
+ "default": "/usr/share/apache2/icons",
"type": "string",
"choice": [
@@ -81,8 +111,8 @@
"required": "optional"
},
"apache/user": {
- "default": "www-data",
"calculated": false,
+ "default": "www-data",
"type": "string",
"choice": [
@@ -95,8 +125,8 @@
"required": "optional"
},
"apache/worker/threadsperchild": {
- "default": "64",
"calculated": false,
+ "default": "64",
"type": "string",
"choice": [
@@ -109,8 +139,8 @@
"required": "optional"
},
"apache/worker/maxclients": {
- "default": "1024",
"calculated": false,
+ "default": "1024",
"type": "string",
"choice": [
@@ -136,8 +166,8 @@
"required": "optional"
},
"apache/contact": {
- "default": "ops@example.com",
"calculated": false,
+ "default": "ops@example.com",
"type": "string",
"choice": [
@@ -150,8 +180,8 @@
"required": "optional"
},
"apache/prefork/startservers": {
- "default": "16",
"calculated": false,
+ "default": "16",
"type": "string",
"choice": [
@@ -164,8 +194,8 @@
"required": "optional"
},
"apache/prefork/minspareservers": {
- "default": "16",
"calculated": false,
+ "default": "16",
"type": "string",
"choice": [
@@ -178,8 +208,8 @@
"required": "optional"
},
"apache/allowed_openids": {
- "default": "",
"calculated": false,
+ "default": "",
"type": "string",
"choice": [
@@ -192,8 +222,8 @@
"required": "optional"
},
"apache/keepalivetimeout": {
- "default": "5",
"calculated": false,
+ "default": "5",
"type": "string",
"choice": [
@@ -206,8 +236,8 @@
"required": "optional"
},
"apache/keepaliverequests": {
- "default": "100",
"calculated": false,
+ "default": "100",
"type": "string",
"choice": [
@@ -220,8 +250,8 @@
"required": "optional"
},
"apache/worker/maxrequestsperchild": {
- "default": "0",
"calculated": false,
+ "default": "0",
"type": "string",
"choice": [
@@ -234,11 +264,11 @@
"required": "optional"
},
"apache/listen_ports": {
+ "calculated": false,
"default": [
"80",
"443"
],
- "calculated": false,
"type": "array",
"choice": [
@@ -251,8 +281,8 @@
"required": "optional"
},
"apache/dir": {
- "default": "/etc/apache2",
"calculated": false,
+ "default": "/etc/apache2",
"type": "string",
"choice": [
@@ -265,8 +295,8 @@
"required": "optional"
},
"apache/worker/maxsparethreads": {
- "default": "192",
"calculated": false,
+ "default": "192",
"type": "string",
"choice": [
@@ -279,8 +309,8 @@
"required": "optional"
},
"apache/prefork/maxrequestsperchild": {
- "default": "10000",
"calculated": false,
+ "default": "10000",
"type": "string",
"choice": [
@@ -293,8 +323,8 @@
"required": "optional"
},
"apache/prefork/serverlimit": {
- "default": "400",
"calculated": false,
+ "default": "400",
"type": "string",
"choice": [
@@ -307,8 +337,8 @@
"required": "optional"
},
"apache/binary": {
- "default": "/usr/sbin/apache2",
"calculated": false,
+ "default": "/usr/sbin/apache2",
"type": "string",
"choice": [
@@ -321,8 +351,8 @@
"required": "optional"
},
"apache/prefork/maxspareservers": {
- "default": "32",
"calculated": false,
+ "default": "32",
"type": "string",
"choice": [
@@ -335,8 +365,8 @@
"required": "optional"
},
"apache/keepalive": {
- "default": "On",
"calculated": false,
+ "default": "On",
"type": "string",
"choice": [
@@ -362,8 +392,8 @@
"required": "optional"
},
"apache/worker/startservers": {
- "default": "4",
"calculated": false,
+ "default": "4",
"type": "string",
"choice": [
@@ -376,8 +406,8 @@
"required": "optional"
},
"apache/prefork/maxclients": {
- "default": "400",
"calculated": false,
+ "default": "400",
"type": "string",
"choice": [
@@ -403,8 +433,8 @@
"required": "optional"
},
"apache/servertokens": {
- "default": "Prod",
"calculated": false,
+ "default": "Prod",
"type": "string",
"choice": [
@@ -417,8 +447,8 @@
"required": "optional"
},
"apache/worker/minsparethreads": {
- "default": "64",
"calculated": false,
+ "default": "64",
"type": "string",
"choice": [
@@ -431,8 +461,8 @@
"required": "optional"
},
"apache/serversignature": {
- "default": "On",
"calculated": false,
+ "default": "On",
"type": "string",
"choice": [
@@ -445,8 +475,8 @@
"required": "optional"
},
"apache/log_dir": {
- "default": "/etc/apache2",
"calculated": false,
+ "default": "/etc/apache2",
"type": "string",
"choice": [
@@ -459,39 +489,9 @@
"required": "optional"
}
},
- "providing": {
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "centos": [
-
- ],
- "debian": [
-
- ],
- "redhat": [
-
- ]
- },
- "dependencies": {
- },
- "replacing": {
- },
- "version": "0.11.0",
- "name": "apache2",
- "groupings": {
- },
- "long_description": "= DESCRIPTION:\n\nComplete Debian/Ubuntu style Apache2 configuration.\n\n= REQUIREMENTS:\n\nDebian or Ubuntu preferred.\n\nRed Hat/CentOS and Fedora can be used but will be converted to a Debian/Ubuntu style Apache as it's far easier to manage with chef. \n\n= ATTRIBUTES:\n\nThe file attributes/apache.rb contains the following attribute types:\n\n* platform specific locations and settings.\n* general settings\n* prefork attributes\n* worker attributes\n\nGeneral settings and prefork/worker attributes are tunable.\n\n= USAGE:\n\nInclude the apache2 recipe to install Apache2 and get 'sane' default settings. Configuration is modularized through Apache vhost sites a la Debian style configuration.\n\nFor Red Hat, CentOS and Fedora you should first disable selinux as it's not supported (yet), then remove the stock httpd and all it's dependencies prior to attempting to use this recipe. Many packages in these distributions drop conflicting configs into conf.d, all of which haven't been accounted for yet. Starting from scratch will also make it far easier to debug.\n\n== Defines:\n\n* apache_module: sets up an Apache module.\n* apache_conf: sets up a config file for an apache module.\n* apache_site: sets up a vhost site. The conf file must be available.\n* web_app: copies the template for a web app and enables it as a site via apache_site.\n\n== Web Apps:\n\nVarious applications that can be set up with Apache as the front end, such as PHP, Django, Rails and others can use the web_app define to set up the template and the Apache site. The define is kind of dumb, so the template needs have the application implementation settings, since we don't know what your app is or what is needed from Apache.\n\nWe only prototype one parameter for the web_app define, \"template\". This is used to specify the name of the template to use in the current cookbook. When you use web_app, you can set up any parameters you want to use in your template. They will get passed to the template through the params hash. For example, the sample web_app.conf.erb template in this cookbook makes use of these.\n\n* docroot\n* server_name\n* server_aliases\n\nThese are available as @params[:docroot], @params[:server_name], @params[:server_aliases] within the template. \n\nIf 'cookbook' and 'template' are not specified, the current cookbook's templates/default/web_app.conf.erb will be used. If this template is not suitable for your application, copy it to your cookbook and customize as needed.\n\n== God Monitor:\n\nThere's a new recipe, apache2::god_monitor. You will need to make sure to include the 'god' recipe before using the apache2::god_monitor recipe in your cookbook.\n\n== OpenID Auth\n\nInstalls the mod_auth_openid module from source. Specify an array of OpenIDs that are allowed to authenticate with the attribute apache[:allowed_openids]. Use the following in a vhost to protect with OpenID authentication:\n\n AuthOpenIDEnabled On\n AuthOpenIDDBLocation /var/cache/apache2/mod_auth_openid.db\n AuthOpenIDUserProgram /usr/local/bin/mod_auth_openid.rb\n\nChange the DBLocation as appropriate for your platform. You'll need to change the file in the recipe to match. The UserProgram is optional if you don't want to limit access by certain OpenIDs.\n\n= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nCopyright:: 2009, Opscode, Inc\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",
- "recommendations": {
- },
- "license": "Apache 2.0",
- "maintainer": "Opscode, Inc.",
- "suggestions": {
- },
- "maintainer_email": "cookbooks@opscode.com",
"conflicting": {
},
- "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
+ "license": "Apache 2.0",
+ "providing": {
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.