Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating metadata, versions and documentation for bootstrap, for 0.8.…

…x release of Chef
  • Loading branch information...
commit e018340101a68fc41b30b36ff48a64ab2e4b1487 1 parent 106eced
@jtimberman jtimberman authored
Showing with 5,876 additions and 5,697 deletions.
  1. +40 −50 activemq/metadata.json
  2. +479 −505 apache2/metadata.json
  3. +31 −39 apparmor/metadata.json
  4. +36 −50 apt/metadata.json
  5. +31 −39 boost/metadata.json
  6. +1 −1  bootstrap/README.rdoc
  7. +2 −2 bootstrap/attributes/bootstrap.rb
  8. +73 −76 bootstrap/metadata.json
  9. +1 −1  bootstrap/metadata.rb
  10. +2 −6 bootstrap/recipes/client.rb
  11. +37 −45 build-essential/metadata.json
  12. +50 −58 capistrano/metadata.json
  13. +8 −4 chef/README.rdoc
  14. +2 −2 chef/attributes/chef.rb
  15. +238 −242 chef/metadata.json
  16. +3 −3 chef/metadata.rb
  17. +24 −0 chef/recipes/delete_validation.rb
  18. +1 −0  couchdb/attributes/couchdb.rb
  19. +52 −57 couchdb/metadata.json
  20. +1 −1  couchdb/metadata.rb
  21. +1 −1  couchdb/recipes/source.rb
  22. +40 −47 django/metadata.json
  23. +138 −135 djbdns/metadata.json
  24. +37 −44 drbd/metadata.json
  25. +43 −50 dynomite/metadata.json
  26. +40 −48 emacs/metadata.json
  27. +34 −42 erlang/metadata.json
  28. +34 −42 fail2ban/metadata.json
  29. +84 −83 gems/metadata.json
  30. +41 −51 git/metadata.json
  31. +41 −49 glassfish/metadata.json
  32. +40 −47 god/metadata.json
  33. +37 −60 hadoop/metadata.json
  34. +34 −42 haproxy/metadata.json
  35. +37 −44 heartbeat/metadata.json
  36. +43 −55 imagemagick/metadata.json
  37. +41 −0 instiki/metadata.json
  38. +40 −48 iptables/metadata.json
  39. +34 −42 java/metadata.json
  40. +169 −144 jira/metadata.json
  41. +31 −39 keepalived/metadata.json
  42. +37 −48 kickstart/metadata.json
  43. +40 −48 logrotate/metadata.json
  44. +43 −50 logwatch/metadata.json
  45. +40 −48 lvm/metadata.json
  46. +34 −42 man/metadata.json
  47. +57 −58 maradns/metadata.json
  48. +70 −67 memcached/metadata.json
  49. +34 −42 mercurial/metadata.json
  50. +35 −0 munin/metadata.json
  51. +199 −169 mysql/metadata.json
  52. +35 −0 nagios/metadata.json
  53. +227 −186 nginx/metadata.json
  54. +43 −50 nscd/metadata.json
  55. +88 −83 ntp/metadata.json
  56. +240 −207 openldap/metadata.json
  57. +43 −51 openssh/metadata.json
  58. +29 −0 openssl/metadata.json
  59. +103 −95 openvpn/metadata.json
  60. +57 −58 packages/metadata.json
  61. +83 −84 passenger_apache2/metadata.json
  62. +40 −58 passenger_enterprise/metadata.json
  63. +40 −48 perl/metadata.json
  64. +51 −100 php/metadata.json
  65. +217 −185 postfix/metadata.json
  66. +51 −61 postgresql/metadata.json
  67. +34 −42 python/metadata.json
  68. +59 −63 quick_start/metadata.json
  69. +43 −55 rabbitmq_chef/metadata.json
  70. +1 −1  rabbitmq_chef/metadata.rb
  71. +122 −110 radiant/metadata.json
  72. +93 −87 rails/metadata.json
  73. +34 −44 rails_enterprise/metadata.json
  74. +49 −56 redmine/metadata.json
  75. +83 −81 resolver/metadata.json
  76. +43 −51 rsync/metadata.json
  77. +81 −82 rsyslog/metadata.json
  78. +43 −51 ruby/metadata.json
  79. +34 −44 ruby_enterprise/metadata.json
  80. +30 −0 rubygems/metadata.json
  81. +79 −74 runit/metadata.json
  82. +1 −1  runit/metadata.rb
  83. +43 −51 screen/metadata.json
  84. +87 −80 solr/metadata.json
  85. +34 −42 sqlite/metadata.json
  86. +44 −52 ssh_known_hosts/metadata.json
  87. +40 −47 stompserver/metadata.json
  88. +43 −51 subversion/metadata.json
  89. +90 −85 sudo/metadata.json
  90. +34 −41 teamspeak/metadata.json
  91. +43 −50 thrift/metadata.json
  92. +50 −54 tomcat6/metadata.json
  93. +34 −41 ubuntu/metadata.json
  94. +35 −0 unicorn/metadata.json
  95. +34 −42 varnish/metadata.json
  96. +187 −0 wordpress/metadata.json
  97. +34 −45 xfs/metadata.json
  98. +47 −0 xml/metadata.json
  99. +47 −0 zlib/metadata.json
  100. +34 −42 zsh/metadata.json
View
90 activemq/metadata.json
@@ -1,51 +1,41 @@
{
- "dependencies": {
- "java": [
-
- ],
- "runit": [
-
- ]
- },
- "maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
-
- },
- "description": "Installs activemq and sets it up as a runit service",
- "recipes": {
- "activemq": ""
- },
- "providing": {
- "activemq": [
-
- ]
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "debian": [
-
- ]
- },
- "version": "0.2.0",
- "name": "activemq",
- "replacing": {
-
- },
- "groupings": {
-
- },
- "long_description": "= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\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",
- "attributes": {
-
- },
- "recommendations": {
-
- },
- "license": "Apache 2.0",
- "maintainer": "Opscode, Inc.",
- "suggestions": {
-
- }
-}
+ "dependencies": {
+ "java": [
+
+ ],
+ "runit": [
+
+ ]
+ },
+ "replacing": {
+ },
+ "description": "Installs activemq and sets it up as a runit service",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ],
+ "debian": [
+
+ ]
+ },
+ "version": "0.2.0",
+ "recommendations": {
+ },
+ "name": "activemq",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "= DESCRIPTION:\n\nInstalls activemq and sets up a runit service.\n\n= REQUIREMENTS:\n\nTested on Ubuntu 9.04.\n\nOpscode cookbooks:\n\n* java\n* runit\n\n= ATTRIBUTES:\n\n* activemq[:mirror] - download URL up to the apache/activemq/apache-activemq directory.\n* activemq[:version] - version to install.\n\n= USAGE:\n\nInclude the default recipe on systems where you want to run activemq. At this time the cookbook doesn't use any custom configuration for activemq.\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\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": {
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
984 apache2/metadata.json
@@ -1,523 +1,497 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "apache2::mod_python": "Apache module 'python'",
- "apache2::mod_authn_file": "Apache module 'authn_file'",
- "apache2::mod_dir": "Apache module 'dir' with config file",
- "apache2::mod_php5": "Apache module 'php5'",
- "apache2::mod_proxy_balancer": "Apache module 'proxy_balancer'",
- "apache2::mod_dav": "Apache module 'dav'",
- "apache2::mod_authz_groupfile": "Apache module 'authz_groupfile'",
- "apache2::mod_auth_basic": "Apache module 'auth_basic'",
- "apache2::mod_setenvif": "Apache module 'setenvif' with config file",
- "apache2::mod_authz_user": "Apache module 'authz_user'",
- "apache2::mod_deflate": "Apache module 'deflate' with config file",
- "apache2::mod_ssl": "Apache module 'ssl' with config file, adds port 443 to listen_ports",
- "apache2::mod_negotiation": "Apache module 'negotiation' with config file",
- "apache2::mod_dav_svn": "Apache module 'dav_svn'",
- "apache2::mod_authz_host": "Apache module 'authz_host'",
- "apache2::mod_rewrite": "Apache module 'rewrite'",
- "apache2::mod_cgi": "Apache module 'cgi'",
- "apache2::mod_fcgid": "Apache module 'fcgid', package on ubuntu\/debian, rhel\/centos, compile source on suse; with config file",
- "apache2::mod_auth_digest": "Apache module 'auth_digest'",
- "apache2::mod_env": "Apache module 'env'",
- "apache2::mod_headers": "Apache module 'headers'",
- "apache2::mod_autoindex": "Apache module 'autoindex' with config file",
- "apache2::mod_authnz_ldap": "Apache module 'authnz_ldap'",
- "apache2::mod_proxy_connect": "Apache module 'proxy_connect'",
- "apache2::mod_proxy": "Apache module 'proxy' with config file",
- "apache2": "Main Apache configuration",
- "apache2::mod_alias": "Apache module 'alias' with config file",
- "apache2::mod_status": "Apache module 'status' with config file",
- "apache2::mod_ldap": "Apache module 'ldap'",
- "apache2::mod_authz_default": "Apache module 'authz_default'",
- "apache2::mod_log_config": "Apache module 'log_config'",
- "apache2::mod_expires": "Apache module 'expires'",
- "apache2::god_monitor": "",
- "apache2::mod_proxy_http": "Apache module 'proxy_http'",
- "apache2::mod_auth_openid": "Apache module 'authopenid'",
- "apache2::mod_mime": "Apache module 'mime' with config file",
- "apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'",
- "apache2": ""
- },
- "suggestions": {
-
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "centos": [
-
- ],
- "debian": [
-
- ],
- "redhat": [
-
- ]
- },
- "version": "0.10.0",
- "name": "apache2",
- "conflicting": {
-
- },
- "attributes": {
- "apache\/traceenable": {
- "default": "On",
- "type": "string",
- "multiple_values": false,
- "description": "Determine behavior of TRACE requests",
- "display_name": "Apache Trace Enable",
- "recipes": [
-
- ],
- "required": false
+ "dependencies": {
},
- "apache\/timeout": {
- "default": "300",
- "type": "string",
- "multiple_values": false,
- "description": "Connection timeout value",
- "display_name": "Apache Timeout",
- "recipes": [
-
- ],
- "required": false
+ "replacing": {
},
- "apache\/icondir": {
- "default": "\/usr\/share\/apache2\/icons",
- "type": "string",
- "multiple_values": false,
- "description": "Directory location for icons",
- "display_name": "Apache Icondir",
- "recipes": [
-
- ],
- "required": false
+ "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions",
+ "groupings": {
},
- "apache\/user": {
- "default": "www-data",
- "type": "string",
- "multiple_values": false,
- "description": "User Apache runs as",
- "display_name": "Apache User",
- "recipes": [
+ "platforms": {
+ "ubuntu": [
],
- "required": false
- },
- "apache\/worker\/threadsperchild": {
- "default": "64",
- "type": "string",
- "multiple_values": false,
- "description": "Constant number of worker threads in each server process",
- "display_name": "Apache Worker MPM ThreadsPerChild",
- "recipes": [
+ "centos": [
],
- "required": false
- },
- "apache\/worker\/maxclients": {
- "default": "1024",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of simultaneous connections",
- "display_name": "Apache Worker MPM MaxClients",
- "recipes": [
+ "debian": [
],
- "required": false
- },
- "apache\/worker": {
- "type": "hash",
- "multiple_values": false,
- "description": "Hash of Apache prefork tuning attributes.",
- "display_name": "Apache Worker",
- "recipes": [
+ "redhat": [
- ],
- "required": false
+ ]
},
- "apache\/contact": {
- "default": "ops@example.com",
- "type": "string",
- "multiple_values": false,
- "description": "Email address of webmaster",
- "display_name": "Apache Contact",
- "recipes": [
-
- ],
- "required": false
+ "version": "0.10.0",
+ "recommendations": {
},
- "apache\/prefork\/startservers": {
- "default": "16",
- "type": "string",
- "multiple_values": false,
- "description": "Number of MPM servers to start",
- "display_name": "Apache Prefork MPM StartServers",
- "recipes": [
-
- ],
- "required": false
+ "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'",
+ "apache2::mod_proxy_balancer": "Apache module 'proxy_balancer'",
+ "apache2::mod_php5": "Apache module 'php5'",
+ "apache2::mod_dir": "Apache module 'dir' with config file",
+ "apache2::mod_setenvif": "Apache module 'setenvif' with config file",
+ "apache2::mod_dav": "Apache module 'dav'",
+ "apache2::mod_authz_groupfile": "Apache module 'authz_groupfile'",
+ "apache2::mod_auth_basic": "Apache module 'auth_basic'",
+ "apache2::mod_deflate": "Apache module 'deflate' with config file",
+ "apache2::mod_authz_user": "Apache module 'authz_user'",
+ "apache2::mod_ssl": "Apache module 'ssl' with config file, adds port 443 to listen_ports",
+ "apache2::mod_rewrite": "Apache module 'rewrite'",
+ "apache2::mod_negotiation": "Apache module 'negotiation' with config file",
+ "apache2::mod_fcgid": "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file",
+ "apache2::mod_dav_svn": "Apache module 'dav_svn'",
+ "apache2::mod_cgi": "Apache module 'cgi'",
+ "apache2::mod_authz_host": "Apache module 'authz_host'",
+ "apache2::mod_auth_digest": "Apache module 'auth_digest'",
+ "apache2::mod_headers": "Apache module 'headers'",
+ "apache2::mod_env": "Apache module 'env'",
+ "apache2::mod_proxy_connect": "Apache module 'proxy_connect'",
+ "apache2::mod_proxy": "Apache module 'proxy' with config file",
+ "apache2::mod_autoindex": "Apache module 'autoindex' with config file",
+ "apache2::mod_authnz_ldap": "Apache module 'authnz_ldap'",
+ "apache2::mod_status": "Apache module 'status' with config file",
+ "apache2::mod_proxy_http": "Apache module 'proxy_http'",
+ "apache2::mod_log_config": "Apache module 'log_config'",
+ "apache2::mod_ldap": "Apache module 'ldap'",
+ "apache2::mod_expires": "Apache module 'expires'",
+ "apache2::mod_authz_default": "Apache module 'authz_default'",
+ "apache2::mod_alias": "Apache module 'alias' with config file",
+ "apache2": "Main Apache configuration",
+ "apache2::mod_auth_openid": "Apache module 'authopenid'",
+ "apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'",
+ "apache2::mod_mime": "Apache module 'mime' with config file"
},
- "apache\/prefork\/minspareservers": {
- "default": "16",
- "type": "string",
- "multiple_values": false,
- "description": "Minimum number of spare server processes",
- "display_name": "Apache Prefork MPM MinSpareServers",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/allowed_openids": {
- "default": "",
- "type": "string",
- "multiple_values": false,
- "description": "Array of OpenIDs allowed to authenticate",
- "display_name": "Apache Allowed OpenIDs",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/keepalivetimeout": {
- "default": "5",
- "type": "string",
- "multiple_values": false,
- "description": "Time to wait for requests on persistent connection",
- "display_name": "Apache Keepalive Timeout",
- "recipes": [
-
- ],
- "required": false
+ "suggestions": {
},
- "apache\/keepaliverequests": {
- "default": "100",
- "type": "string",
- "multiple_values": false,
- "description": "Number of requests allowed on a persistent connection",
- "display_name": "Apache Keepalive Requests",
- "recipes": [
-
- ],
- "required": false
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ "apache/traceenable": {
+ "calculated": false,
+ "default": "On",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Determine behavior of TRACE requests",
+ "display_name": "Apache Trace Enable",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/timeout": {
+ "calculated": false,
+ "default": "300",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Connection timeout value",
+ "display_name": "Apache Timeout",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/icondir": {
+ "calculated": false,
+ "default": "/usr/share/apache2/icons",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Directory location for icons",
+ "display_name": "Apache Icondir",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/user": {
+ "calculated": false,
+ "default": "www-data",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "User Apache runs as",
+ "display_name": "Apache User",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/threadsperchild": {
+ "calculated": false,
+ "default": "64",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Constant number of worker threads in each server process",
+ "display_name": "Apache Worker MPM ThreadsPerChild",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/maxclients": {
+ "calculated": false,
+ "default": "1024",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of simultaneous connections",
+ "display_name": "Apache Worker MPM MaxClients",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker": {
+ "calculated": false,
+ "type": "hash",
+ "choice": [
+
+ ],
+ "description": "Hash of Apache prefork tuning attributes.",
+ "display_name": "Apache Worker",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/contact": {
+ "calculated": false,
+ "default": "ops@example.com",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Email address of webmaster",
+ "display_name": "Apache Contact",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/startservers": {
+ "calculated": false,
+ "default": "16",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Number of MPM servers to start",
+ "display_name": "Apache Prefork MPM StartServers",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/minspareservers": {
+ "calculated": false,
+ "default": "16",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Minimum number of spare server processes",
+ "display_name": "Apache Prefork MPM MinSpareServers",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/allowed_openids": {
+ "calculated": false,
+ "default": "",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Array of OpenIDs allowed to authenticate",
+ "display_name": "Apache Allowed OpenIDs",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/keepalivetimeout": {
+ "calculated": false,
+ "default": "5",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Time to wait for requests on persistent connection",
+ "display_name": "Apache Keepalive Timeout",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/keepaliverequests": {
+ "calculated": false,
+ "default": "100",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Number of requests allowed on a persistent connection",
+ "display_name": "Apache Keepalive Requests",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/maxrequestsperchild": {
+ "calculated": false,
+ "default": "0",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of request a child process will handle",
+ "display_name": "Apache Worker MPM MaxRequestsPerChild",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/listen_ports": {
+ "calculated": false,
+ "default": [
+ "80",
+ "443"
+ ],
+ "type": "array",
+ "choice": [
+
+ ],
+ "description": "Ports that Apache should listen on",
+ "display_name": "Apache Listen Ports",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/dir": {
+ "calculated": false,
+ "default": "/etc/apache2",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Location for Apache configuration",
+ "display_name": "Apache Directory",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/maxsparethreads": {
+ "calculated": false,
+ "default": "192",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of spare worker threads",
+ "display_name": "Apache Worker MPM MaxSpareThreads",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/maxrequestsperchild": {
+ "calculated": false,
+ "default": "10000",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of request a child process will handle",
+ "display_name": "Apache Prefork MPM MaxRequestsPerChild",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/serverlimit": {
+ "calculated": false,
+ "default": "400",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Upper limit on configurable server processes",
+ "display_name": "Apache Prefork MPM ServerLimit",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/binary": {
+ "calculated": false,
+ "default": "/usr/sbin/apache2",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Apache server daemon program",
+ "display_name": "Apache Binary",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/maxspareservers": {
+ "calculated": false,
+ "default": "32",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of spare server processes",
+ "display_name": "Apache Prefork MPM MaxSpareServers",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/keepalive": {
+ "calculated": false,
+ "default": "On",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "HTTP persistent connections",
+ "display_name": "Apache Keepalive",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache": {
+ "calculated": false,
+ "type": "hash",
+ "choice": [
+
+ ],
+ "description": "Hash of Apache attributes",
+ "display_name": "Apache Hash",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/startservers": {
+ "calculated": false,
+ "default": "4",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Initial number of server processes to start",
+ "display_name": "Apache Worker MPM StartServers",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork/maxclients": {
+ "calculated": false,
+ "default": "400",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Maximum number of simultaneous connections",
+ "display_name": "Apache Prefork MPM MaxClients",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/prefork": {
+ "calculated": false,
+ "type": "hash",
+ "choice": [
+
+ ],
+ "description": "Hash of Apache prefork tuning attributes.",
+ "display_name": "Apache Prefork",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/servertokens": {
+ "calculated": false,
+ "default": "Prod",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Server response header",
+ "display_name": "Apache Server Tokens",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/worker/minsparethreads": {
+ "calculated": false,
+ "default": "64",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Minimum number of spare worker threads",
+ "display_name": "Apache Worker MPM MinSpareThreads",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/serversignature": {
+ "calculated": false,
+ "default": "On",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Configure footer on server-generated documents",
+ "display_name": "Apache Server Signature",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ },
+ "apache/log_dir": {
+ "calculated": false,
+ "default": "/etc/apache2",
+ "type": "string",
+ "choice": [
+
+ ],
+ "description": "Location for Apache logs",
+ "display_name": "Apache Log Directory",
+ "recipes": [
+
+ ],
+ "required": "optional"
+ }
},
- "apache\/worker\/maxrequestsperchild": {
- "default": "0",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of request a child process will handle",
- "display_name": "Apache Worker MPM MaxRequestsPerChild",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/listen_ports": {
- "default": [
- "80",
- "443"
- ],
- "type": "array",
- "multiple_values": false,
- "description": "Ports that Apache should listen on",
- "display_name": "Apache Listen Ports",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/dir": {
- "default": "\/etc\/apache2",
- "type": "string",
- "multiple_values": false,
- "description": "Location for Apache configuration",
- "display_name": "Apache Directory",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/worker\/maxsparethreads": {
- "default": "192",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of spare worker threads",
- "display_name": "Apache Worker MPM MaxSpareThreads",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/prefork\/maxrequestsperchild": {
- "default": "10000",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of request a child process will handle",
- "display_name": "Apache Prefork MPM MaxRequestsPerChild",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/prefork\/serverlimit": {
- "default": "400",
- "type": "string",
- "multiple_values": false,
- "description": "Upper limit on configurable server processes",
- "display_name": "Apache Prefork MPM ServerLimit",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/binary": {
- "default": "\/usr\/sbin\/apache2",
- "type": "string",
- "multiple_values": false,
- "description": "Apache server daemon program",
- "display_name": "Apache Binary",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/prefork\/maxspareservers": {
- "default": "32",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of spare server processes",
- "display_name": "Apache Prefork MPM MaxSpareServers",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/keepalive": {
- "default": "On",
- "type": "string",
- "multiple_values": false,
- "description": "HTTP persistent connections",
- "display_name": "Apache Keepalive",
- "recipes": [
-
- ],
- "required": false
- },
- "apache": {
- "type": "hash",
- "multiple_values": false,
- "description": "Hash of Apache attributes",
- "display_name": "Apache Hash",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/worker\/startservers": {
- "default": "4",
- "type": "string",
- "multiple_values": false,
- "description": "Initial number of server processes to start",
- "display_name": "Apache Worker MPM StartServers",
- "recipes": [
-
- ],
- "required": false
+ "conflicting": {
},
- "apache\/prefork\/maxclients": {
- "default": "400",
- "type": "string",
- "multiple_values": false,
- "description": "Maximum number of simultaneous connections",
- "display_name": "Apache Prefork MPM MaxClients",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/prefork": {
- "type": "hash",
- "multiple_values": false,
- "description": "Hash of Apache prefork tuning attributes.",
- "display_name": "Apache Prefork",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/servertokens": {
- "default": "Prod",
- "type": "string",
- "multiple_values": false,
- "description": "Server response header",
- "display_name": "Apache Server Tokens",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/worker\/minsparethreads": {
- "default": "64",
- "type": "string",
- "multiple_values": false,
- "description": "Minimum number of spare worker threads",
- "display_name": "Apache Worker MPM MinSpareThreads",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/serversignature": {
- "default": "On",
- "type": "string",
- "multiple_values": false,
- "description": "Configure footer on server-generated documents",
- "display_name": "Apache Server Signature",
- "recipes": [
-
- ],
- "required": false
- },
- "apache\/log_dir": {
- "default": "\/etc\/apache2",
- "type": "string",
- "multiple_values": false,
- "description": "Location for Apache logs",
- "display_name": "Apache Log Directory",
- "recipes": [
-
- ],
- "required": false
+ "license": "Apache 2.0",
+ "providing": {
}
- },
- "providing": {
- "apache2::mod_python": [
-
- ],
- "apache2::mod_authn_file": [
-
- ],
- "apache2::mod_dir": [
-
- ],
- "apache2::mod_php5": [
-
- ],
- "apache2::mod_proxy_balancer": [
-
- ],
- "apache2::mod_dav": [
-
- ],
- "apache2::mod_authz_groupfile": [
-
- ],
- "apache2::mod_auth_basic": [
-
- ],
- "apache2::mod_setenvif": [
-
- ],
- "apache2::mod_authz_user": [
-
- ],
- "apache2::mod_deflate": [
-
- ],
- "apache2::mod_ssl": [
-
- ],
- "apache2::mod_negotiation": [
-
- ],
- "apache2::mod_dav_svn": [
-
- ],
- "apache2::mod_authz_host": [
-
- ],
- "apache2::mod_rewrite": [
-
- ],
- "apache2::mod_cgi": [
-
- ],
- "apache2::mod_fcgid": [
-
- ],
- "apache2::mod_auth_digest": [
-
- ],
- "apache2::mod_env": [
-
- ],
- "apache2::mod_headers": [
-
- ],
- "apache2::mod_autoindex": [
-
- ],
- "apache2::mod_authnz_ldap": [
-
- ],
- "apache2::mod_proxy_connect": [
-
- ],
- "apache2::mod_proxy": [
-
- ],
- "apache2::mod_alias": [
-
- ],
- "apache2::mod_status": [
-
- ],
- "apache2::mod_ldap": [
-
- ],
- "apache2::mod_authz_default": [
-
- ],
- "apache2::mod_log_config": [
-
- ],
- "apache2": [
-
- ],
- "apache2::mod_expires": [
-
- ],
- "apache2::god_monitor": [
-
- ],
- "apache2::mod_proxy_http": [
-
- ],
- "apache2::mod_auth_openid": [
-
- ],
- "apache2::mod_mime": [
-
- ],
- "apache2::mod_proxy_ajp": [
-
- ]
- },
- "license": "Apache 2.0",
- "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",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ }
View
70 apparmor/metadata.json
@@ -1,40 +1,32 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Disables apparmor service on Ubuntu",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "apparmor": ""
- },
- "suggestions": {
-
- },
- "platforms": {
- "ubuntu": [
-
- ]
- },
- "version": "0.7.0",
- "name": "apparmor",
- "conflicting": {
-
- },
- "attributes": {
-
- },
- "providing": {
- "apparmor": [
-
- ]
- },
- "license": "Apache 2.0",
- "long_description": "",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Disables apparmor service on Ubuntu",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ]
+ },
+ "version": "0.8.0",
+ "recommendations": {
+ },
+ "name": "apparmor",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "",
+ "recipes": {
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
86 apt/metadata.json
@@ -1,51 +1,37 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Configures apt and apt services",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "apt::proxy": "Set up an APT proxy",
- "apt": "",
- "apt::cacher": "Set up an APT cache"
- },
- "suggestions": {
-
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "debian": [
-
- ]
- },
- "version": "0.8.0",
- "name": "apt",
- "conflicting": {
-
- },
- "attributes": {
-
- },
- "providing": {
- "apt::proxy": [
-
- ],
- "apt": [
-
- ],
- "apt::cacher": [
-
- ]
- },
- "license": "Apache 2.0",
- "long_description": "",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Configures apt and apt services",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ],
+ "debian": [
+
+ ]
+ },
+ "version": "0.8.0",
+ "recommendations": {
+ },
+ "name": "apt",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "",
+ "recipes": {
+ "apt::proxy": "Set up an APT proxy",
+ "apt::cacher": "Set up an APT cache"
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
70 boost/metadata.json
@@ -1,40 +1,32 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Installs libboost",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "boost": ""
- },
- "suggestions": {
-
- },
- "platforms": {
- "ubuntu": [
-
- ]
- },
- "version": "0.1.0",
- "name": "boost",
- "conflicting": {
-
- },
- "attributes": {
-
- },
- "providing": {
- "boost": [
-
- ]
- },
- "license": "Apache 2.0",
- "long_description": "= DESCRIPTION:\n\nInstalls boost, mainly to support Thrift.\n\n= REQUIREMENTS:\n\nPlatform: Ubuntu 9.04. Not tested on any others at this time.\n\n= USAGE:\n\nInclude this recipe to install boost development packages.\n\n include_recipe \"boost\"\n\nMerely installs the libboost-dev package which should grab a bunch of dependencies and get the right thing.\n\n= LICENSE and AUTHOR:\n\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",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Installs libboost",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ]
+ },
+ "version": "0.1.0",
+ "recommendations": {
+ },
+ "name": "boost",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "= DESCRIPTION:\n\nInstalls boost, mainly to support Thrift.\n\n= REQUIREMENTS:\n\nPlatform: Ubuntu 9.04. Not tested on any others at this time.\n\n= USAGE:\n\nInclude this recipe to install boost development packages.\n\n include_recipe \"boost\"\n\nMerely installs the libboost-dev package which should grab a bunch of dependencies and get the right thing.\n\n= LICENSE and AUTHOR:\n\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": {
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
2  bootstrap/README.rdoc
@@ -4,7 +4,7 @@ This cookbook configures a Chef client or server installed via RubyGems. If Chef
= REQUIREMENTS:
-This cookbook requires Chef installed from RubyGems. Chef v0.8.0+.
+This cookbook requires Chef installed from RubyGems. Chef v0.8.x+.
== Platform:
View
4 bootstrap/attributes/bootstrap.rb
@@ -32,8 +32,8 @@
set_unless[:bootstrap][:chef][:webui_admin_password] = secure_password
set_unless[:bootstrap][:chef][:validation_client_name] = "chef-validator"
-set_unless[:bootstrap][:chef][:server_version] = "0.8.0"
-set_unless[:bootstrap][:chef][:client_version] = "0.8.0"
+set_unless[:bootstrap][:chef][:server_version] = "0.8.2"
+set_unless[:bootstrap][:chef][:client_version] = "0.8.2"
set_unless[:bootstrap][:chef][:client_interval] = "1800"
set_unless[:bootstrap][:chef][:client_splay] = "20"
set_unless[:bootstrap][:chef][:log_dir] = "/var/log/chef"
View
149 bootstrap/metadata.json
@@ -1,77 +1,74 @@
{
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "suggestions": {
-
- },
- "conflicting": {
-
- },
- "license": "Apache 2.0",
- "attributes": {
-
- },
- "providing": {
- "bootstrap": [
-
- ],
- "bootstrap::client": [
-
- ],
- "bootstrap::server": [
-
- ]
- },
- "dependencies": {
- "runit": [
-
- ],
- "couchdb": [
-
- ],
- "apache2": [
-
- ],
- "rabbitmq": [
-
- ]
- },
- "long_description": "= WARNING, YES, RLY!!\nThis is an alpha (or pre-alpha even) version of a bootstrap for Chef 0.8.0, which is also in a alpha release. Unless you're ready to solve perplexing bugs and deal with general alpha-release issues, stick to the GA 0.7.x series.\n\nSince gems for Chef 0.8 are not available from the regular sources, start by cloning chef 0.8 from github and running '[sudo] rake install' then add this bootstrap to chef-solo's json and run chef-solo.\n\nAlso, the below information is for the 0.7.x series; some of it is wrong.\n= DESCRIPTION:\n\nThis cookbook bootstraps a Chef client or server when Chef is installed via RubyGems. If installing Chef from OS distribution packages, please see the 'chef' cookbook. \n\n= REQUIREMENTS:\n\nThis cookbook requires Chef installed from RubyGems. Chef v0.7.10, for attribute syntax.\n\n== Platform:\n\nServer bootstrap is tested on Ubuntu 9.10, 9.04, 8.10 and 8.04, Debian 5.0.\n\nClient bootstrap is tested on the above, plus CentOS 5.3, Fedora 10, OpenBSD 4.6, FreeBSD 7.1 and Gentoo. OpenSolaris 11 is also tested, but there's a bug in Ohai that requires some manual intervention (OHAI-122).\n\n== Cookbooks:\n\nOpscode cookbooks, http://github.com/opscode/cookbooks:\n\nBoth clients and servers:\n\n* runit\n\nServers only:\n\n* couchdb\n* stompserver\n\nThe couchdb and stompserver recipes may be somewhat naive depending on the platform. You should view them online at the github repository to see if your platform is supported. If not, you'll need to manually install them, and remove the \"include_recipe\" statements from the bootstrap::server recipe.\n\n= ATTRIBUTES:\n\nAttributes are under 'bootstrap[:chef]' - eg: 'bootstrap[:chef][:client_version]'. You may wish to change some of these locations to customize for your environment. For the bootstrap process this is done with a JSON data file passed to chef-solo.\n\n== url_type\n\nSet up the URLs the client should connect to with this. Default is 'http', which tells the client to connect to 'http://server:4000'. If you set up your chef-server to use an SSL front-end, set this to 'https' and the URLs will be 'https://server/'. \n\n== init_style\n\nSpecifies the init style to use. Default 'runit'. Other possible values 'init', 'bsd', any other string will be treated as unknown.\n\nIf your platform doesn't have a 'runit' package or if the cookbook doesn't detect it, but you stil want to use runit, set init_style to 'none' and install runit separately.\n\n== path\n\nThis is the base location where chef will store its associated data. Default '/srv/chef' for RubyGems installed systems. The location preference varies by platform. The default is a filesystem hiearchy standard suggestion[1]. Some other locations you may consider, by platform:\n\nDebian and Red Hat based Linux distros (Ubuntu, CentOS, Fedora, etc):\n\n* /var/lib/chef\n\nAny BSD and Gentoo:\n\n* /var/chef\n\n== run_path\n\nLocation for pidfiles on systems using init scripts. Default '/var/run/chef'.\n\nIf init_style is 'init', this is used, and should match what the init script itself uses for the PID files.\n\n== cache_path\n\nLocation where the client will cache cookbooks and other data. Default is 'cache' underneath the bootstrap[:chef][:path] location. Some Linux distributions might prefer /var/cache/chef instead.\n\n== serve_path\n\nUsed by the Chef server as the base location to \"serve\" cookbooks, roles and other assets. Default is /srv/chef.\n\n== server_version, client_version\n\nSet the version of the Gems to install. This can be used to upgrade Chef automatically[0]. The chef gems are not managed by the Opscode Chef cookbook, however.\n\n== client_interval\n\nNumber of seconds to run chef-client periodically. Default '1800' (30 minutes).\n\n== client_splay\n\nSplay interval to randomly add to interval. Default '20'.\n\n== log_dir\n\nDirectory where logs are stored if logs are not sent to STDOUT. Systems using runit should send logs to STDOUT as runit manages log output. Default '/var/log/chef'.\n\n== client_log, indexer_log, server_log\n\nLocation of the client, indexer and server logs, respectively. Default 'STDOUT' on systems with runit, '/var/log/chef/{client,indexer,server}.log' on other systems.\n\n== server_fqdn\n\nFully qualified domain name of the server. Default is the current node's fqdn as detected by Ohai. For clients, set this to the hostname of your environment's Chef Server.\n\n== server_token\n\nThe validation_token used to automatically authorize chef-clients. Default is a random string generated every time chef-solo runs. Use chef-client -t 'validation_token' to automatically validate the client.\n\n[0] http://blog.opscode.com/2009/08/cool-chef-tricks-upgrade-chef-with-chef.html\n[1] http://www.pathname.com/fhs/\n\n= USAGE:\n\nOpscode stores this cookbook and some others (see the requirements above) on S3. Use chef-solo:\n\n sudo chef-solo -j chef.json -c solo.rb -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz\n\nYou set the attributes through the chef.json file, and tell Solo where to put them with solo.rb.\n\n== Clients:\n\nCommon attributes you may wish to adjust for the client:\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"server_port\": \"4000\",\n \"path\": \"/srv/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::client\"\n}\n\n== Servers:\n\n= Note server_port is a new attribute, you don't have to set it... but if you do, your clients need to know where it goes.\n\nCommon attributes you may wish to adjust for the server:\n\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"path\": \"/srv/chef\",\n \"server_port\": \"4000\",\n \"serve_path\": \"/srv/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::server\"\n}\n\nNote that the server recipe includes the client recipe as well, since we recommend managing the chef-server with Chef.\n\nFor more information on usage and next steps, please see the Chef wiki.\n\n http://wiki.opscode.com/display/chef/Home\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman <joshua@opscode.com>\nAuthor:: Joshua Sierles <joshua@37signals.com>\n\nCopyright 2008-2009, Opscode, Inc\nCopyright 2009, 37signals\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\n",
- "recipes": {
- "bootstrap::client": "",
- "bootstrap::server": "",
- "bootstrap": ""
- },
- "replacing": {
-
- },
- "platforms": {
- "openbsd": [
-
- ],
- "debian": [
-
- ],
- "fedora": [
-
- ],
- "centos": [
-
- ],
- "freebsd": [
-
- ],
- "ubuntu": [
-
- ],
- "redhat": [
-
- ]
- },
- "description": "Configures RubyGems-installed Chef",
- "name": "bootstrap",
- "version": "0.1.0",
- "maintainer": "Opscode, Inc."
-}
+ "dependencies": {
+ "zlib": [
+
+ ],
+ "xml": [
+
+ ],
+ "java": [
+
+ ],
+ "runit": [
+
+ ],
+ "couchdb": [
+
+ ],
+ "openssl": [
+
+ ],
+ "rabbitmq_chef": [
+
+ ],
+ "apache2": [
+
+ ]
+ },
+ "replacing": {
+ },
+ "description": "Configures RubyGems-installed Chef",
+ "groupings": {
+ },
+ "platforms": {
+ "freebsd": [
+
+ ],
+ "ubuntu": [
+
+ ],
+ "openbsd": [
+
+ ],
+ "fedora": [
+
+ ],
+ "centos": [
+
+ ],
+ "redhat": [
+
+ ],
+ "debian": [
+
+ ]
+ },
+ "version": "0.9.0",
+ "recommendations": {
+ },
+ "name": "bootstrap",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "= DESCRIPTION:\n\nThis cookbook configures a Chef client or server installed via RubyGems. If Chef was installed from OS packages, please use the \"chef\" cookbook to configure Chef itself.\n\n= REQUIREMENTS:\n\nThis cookbook requires Chef installed from RubyGems. Chef v0.8.x+.\n\n== Platform:\n\nServer bootstrap is tested on Ubuntu 9.10, 9.04, 8.10 and 8.04, Debian 5.0.\n\nClient bootstrap is tested on the above, plus CentOS 5.3, Fedora 10, OpenBSD 4.6, FreeBSD 7.1 and Gentoo. OpenSolaris 11 is also tested, but there's a bug in Ohai that requires some manual intervention (OHAI-122).\n\n== Cookbooks:\n\nOpscode cookbooks, http://github.com/opscode/cookbooks:\n\nBoth clients and servers:\n\n* runit\n\nServers only:\n\n* couchdb\n* rabbitmq_chef\n* openssl\n* zlib\n* xml\n* java\n\nThe couchdb and rabbitmq_chef recipes may be naive depending on the platform. The contents can be reviewed in the opscode/cookbooks repository to check if a particular platform is supported. If not, manual installation and modifications to the recipes will be required.\n\n= ATTRIBUTES:\n\nCookbook attributes are namespaced 'bootstrap[:chef]' - eg: 'bootstrap[:chef][:client_version]'. You may wish to change some of these locations to customize for your environment. For the bootstrap process this is done with a JSON data file passed to chef-solo.\n\n== umask\n\nSets the umask for files created by the server process.\n\n== url_type\n\nSet up the URLs the client should connect to with this. Default is 'http', which tells the client to connect to 'http://server:4000'. If you want to set up your chef-server to use an SSL front-end, set this to 'https' and the URLs will be 'https://server/'. The bootstrap::server recipe does not support an SSL front-end configuration, see chef::server_proxy for an example.\n\n== init_style\n\nSpecifies the init style to use. Default 'runit'. Other possible values 'init', 'bsd', any other string will be treated as unknown.\n\nIf your platform doesn't have a 'runit' package or if the cookbook doesn't detect it, but you stil want to use runit, set init_style to 'none' and install runit separately.\n\n== path\n\nThis is the base location where chef will store its associated data. Default '/srv/chef' for RubyGems installed systems. The location preference varies by platform. The default is a filesystem hiearchy standard suggestion[0]. Some other locations you may consider, by platform:\n\nDebian and Red Hat based Linux distros (Ubuntu, CentOS, Fedora, etc):\n\n* /var/lib/chef\n\nAny BSD and Gentoo:\n\n* /var/chef\n\n== run_path\n\nLocation for pidfiles on systems using init scripts. Default '/var/run/chef'.\n\nIf init_style is 'init', this is used, and should match what the init script itself uses for the PID files.\n\n== cache_path\n\nLocation where the client will cache cookbooks and other data. Default is 'cache' underneath the bootstrap[:chef][:path] location. Some Linux distributions might prefer /var/cache/chef instead.\n\n== serve_path\n\nUsed by the Chef server as the base location to \"serve\" cookbooks, roles and other assets. Default is /srv/chef.\n\n== server_port\n\nPort for the chef-server API process. Default is 4000.\n\n== webui_port\n\nPort for the chef-server-webui process. Default is 4040.\n\n== webui_enabled\n\nWhether the web user interface should be installed and enabled. Default is 'false'. In Chef versions prior to 0.8 the webui provided the API, but 0.8 split them apart so now the webui is optional. See the Chef wiki [1] for major changes in 0.8.\n\n== webui_admin_password\n\nSet a random, secure default password for the webui user. See /etc/chef/server.rb when the chef-solo run completes for the value of web_ui_admin_default_password to log into the webui. This password is generated with the openssl cookbook, though can be set with JSON.\n\n== server_version, client_version\n\nSet the version of the Gems to install. This can be used to upgrade Chef automatically[2]. The chef gems are not managed by the Opscode Chef cookbook, however.\n\n== client_interval\n\nNumber of seconds to run chef-client periodically. Default '1800' (30 minutes).\n\n== client_splay\n\nSplay interval to randomly add to interval. Default '20'.\n\n== log_dir\n\nDirectory where logs are stored if logs are not sent to STDOUT. Systems using runit should send logs to STDOUT as runit manages log output. Default '/var/log/chef'. Runit's logs are in /etc/sv/SERVICE_NAME/log/main/current, where SERVICE_NAME is the name of the service, e.g., 'chef-client', 'chef-server', 'chef-solr' etc. See the recipes for the runit_services that get set up.\n\n== client_log, indexer_log, server_log\n\nLocation of the client, indexer and server logs, respectively. Default 'STDOUT' on systems with runit, '/var/log/chef/{client,indexer,server}.log' on other systems.\n\n== server_fqdn\n\nFully qualified domain name of the server. Default is the current node's fqdn as detected by Ohai. For clients, set this to the hostname of your environment's Chef Server.\n\n== server_token\n\nThe validation_token used to automatically authorize chef-clients. Default is a random string generated every time chef-solo runs. Use chef-client -t 'validation_token' to automatically validate the client.\n\n[0] http://www.pathname.com/fhs/\n[1] http://wiki.opscode.com/display/chef/Release+Notes\n[2] http://blog.opscode.com/2009/08/cool-chef-tricks-upgrade-chef-with-chef.html\n\n= USAGE:\n\nOpscode stores this cookbook and some others (see the requirements above) on S3. Use chef-solo:\n\n sudo chef-solo -j chef.json -c solo.rb -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz\n\nYou set the attributes through the chef.json file, and tell Solo where to put them with solo.rb.\n\n== Clients:\n\nCommon attributes you may wish to adjust for the client:\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"server_port\": \"4000\",\n \"path\": \"/srv/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::client\"\n}\n\n== Servers:\n\n= Note server_port is a new attribute, you don't have to set it... but if you do, your clients need to know where it goes.\n\nCommon attributes you may wish to adjust for the server:\n\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"path\": \"/srv/chef\",\n \"server_port\": \"4000\",\n \"serve_path\": \"/srv/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::server\"\n}\n\nNote that the server recipe includes the client recipe as well, since we recommend managing the chef-server with Chef.\n\nFor more information on usage and next steps, please see the Chef wiki.\n\n http://wiki.opscode.com/display/chef/Home\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman <joshua@opscode.com>\nAuthor:: Joshua Sierles <joshua@37signals.com>\n\nCopyright 2008-2009, Opscode, Inc\nCopyright 2009, 37signals\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\n",
+ "recipes": {
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
2  bootstrap/metadata.rb
@@ -3,7 +3,7 @@
license "Apache 2.0"
description "Configures RubyGems-installed Chef"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
-version "0.4"
+version "0.9"
%w{ ubuntu debian redhat centos fedora freebsd openbsd }.each do |os|
supports os
View
8 bootstrap/recipes/client.rb
@@ -17,18 +17,14 @@
# limitations under the License.
#
-CHEF_08_GEMS_RELEASED = false
-
root_group = value_for_platform(
"openbsd" => { "default" => "wheel" },
"freebsd" => { "default" => "wheel" },
"default" => "root"
)
-if CHEF_08_GEMS_RELEASED
- gem_package "chef" do
- version node[:bootstrap][:chef][:client_version]
- end
+gem_package "chef" do
+ version node[:bootstrap][:chef][:client_version]
end
case node[:bootstrap][:chef][:init_style]
View
82 build-essential/metadata.json
@@ -1,46 +1,38 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Installs C compiler \/ build tools",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "build-essential": ""
- },
- "suggestions": {
-
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "centos": [
-
- ],
- "debian": [
-
- ]
- },
- "version": "0.7.0",
- "name": "build-essential",
- "conflicting": {
-
- },
- "attributes": {
-
- },
- "providing": {
- "build-essential": [
-
- ]
- },
- "license": "Apache 2.0",
- "long_description": "",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Installs C compiler / build tools",
+ "groupings": {
+ },
+ "platforms": {
+ "ubuntu": [
+
+ ],
+ "centos": [
+
+ ],
+ "debian": [
+
+ ]
+ },
+ "version": "0.7.0",
+ "recommendations": {
+ },
+ "name": "build-essential",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "",
+ "recipes": {
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
108 capistrano/metadata.json
@@ -1,59 +1,51 @@
{
- "maintainer": "Opscode, Inc.",
- "description": "Installs Capistrano gem and provides a define to set up deployment for an application",
- "recommendations": {
-
- },
- "maintainer_email": "cookbooks@opscode.com",
- "recipes": {
- "capistrano": "",
- "capistrano": "Installs Capistrano gem"
- },
- "suggestions": {
-
- },
- "platforms": {
- "freebsd": [
-
- ],
- "ubuntu": [
-
- ],
- "openbsd": [
-
- ],
- "fedora": [
-
- ],
- "centos": [
-
- ],
- "redhat": [
-
- ],
- "debian": [
-
- ]
- },
- "version": "0.7.0",
- "name": "capistrano",
- "conflicting": {
-
- },
- "attributes": {
-
- },
- "providing": {
- "capistrano": [
-
- ]
- },
- "license": "Apache 2.0",
- "long_description": "",
- "replacing": {
-
- },
- "dependencies": {
-
- }
-}
+ "dependencies": {
+ },
+ "replacing": {
+ },
+ "description": "Installs Capistrano gem and provides a define to set up deployment for an application",
+ "groupings": {
+ },
+ "platforms": {
+ "freebsd": [
+
+ ],
+ "ubuntu": [
+
+ ],
+ "openbsd": [
+
+ ],
+ "fedora": [
+
+ ],
+ "centos": [
+
+ ],
+ "redhat": [
+
+ ],
+ "debian": [
+
+ ]
+ },
+ "version": "0.7.0",
+ "recommendations": {
+ },
+ "name": "capistrano",
+ "maintainer": "Opscode, Inc.",
+ "long_description": "",
+ "recipes": {
+ "capistrano": "Installs Capistrano gem"
+ },
+ "suggestions": {
+ },
+ "maintainer_email": "cookbooks@opscode.com",
+ "attributes": {
+ },
+ "conflicting": {
+ },
+ "license": "Apache 2.0",
+ "providing": {
+ }
+ }
View
12 chef/README.rdoc
@@ -1,5 +1,7 @@
= IMPORTANT CHANGES:
+New recipe: chef::delete_validation, to delete the validation certificate when the Chef Client runs and has registered itself with the 0.8.x server.
+
First be aware of important changes in this version from previous versions.
== General:
@@ -18,9 +20,9 @@ The client service is not managed at all. It is assumed to be set up via init sc
The stompserver and couchdb cookbooks are not included by default. See below under Cookbooks requirements.
-The default server recipe (chef::server) sets up two Merb Mongrel workers for the webui/api (port 4000) and openid (port 4001).
+The default server recipe (chef::server) sets up one Merb worker for the webui/api (port 4000).
-The default server recipe (chef::server), creates but does not manage the chef-indexer and chef-server services, and configures both from /etc/chef/server.rb. Some package installation methods (e.g., Debian) have a separate config file for chef-indexer.
+The default server recipe (chef::server), creates but does not manage the chef-solr-indexer and chef-server services, and configures both from /etc/chef/server.rb. Some package installation methods (e.g., Debian) have a separate config file for chef-solr-indexer.
The chef::server_proxy recipe sets up an Apache proxy vhost to provide SSL in front of the chef-server running as a Merb application.
@@ -30,7 +32,7 @@ Use this cookbook to configure a chef client to connect to your preferred chef-s
= REQUIREMENTS:
-Chef v0.7.10, for attribute 'default' syntax.
+Chef v0.8.x.
== Platform:
@@ -167,6 +169,8 @@ When using chef::server only, clients can use the default value for url_type (ht
== Server Proxy (chef::server_proxy)
+* This recipe needs to be updated for Chef 0.8 !! *
+
If you would like to set up an SSL front end for your server, use the chef::server_proxy recipe.
When using this recipe, clients should have the url_type attribute set to "https".
@@ -180,7 +184,7 @@ The recipe itself will set up the Apache proxy:
* Create the SSL certificate based on the server_ssl_req attribute.
* Set up and enable virtual hosts on ports 443 and 444 in the site config "chef_server.conf".
-The proxy will send requests from port 443 to the Mongrel running on port 4000 (webui/api) and requests on port 444 to the Mongrel on port 4001 (openid). Be sure to adjust any firewall rules or security group settings appropriately for these ports (4000, 4001, 443, 444).
+The proxy will send requests from port 443 to the worker running on port 4000 (api) and requests on port 444 to the worker on port 4040 (webui). Be sure to adjust any firewall rules or security group settings appropriately for these ports (4000, 4001, 443, 444).
=== SSL Certificates
View
4 chef/attributes/chef.rb
@@ -36,8 +36,8 @@
set_unless[:chef][:serve_path] = "/srv/chef"
end
-set_unless[:chef][:server_version] = "0.8.0"
-set_unless[:chef][:client_version] = "0.8.0"
+set_unless[:chef][:server_version] = "0.8.2"
+set_unless[:chef][:client_version] = "0.8.2"
set_unless[:chef][:client_interval] = "1800"
set_unless[:chef][:client_splay] = "20"
set_unless[:chef][:log_dir] = "/var/log/chef"
View
480 chef/metadata.json
@@ -1,276 +1,272 @@
{
- "dependencies": {
- "passenger_apache2": [
-
- ],
- "stompserver": [
-
- ],
- "packages": [
-
- ],
- "runit": [
-
- ],
- "couchdb": [
-
- ],
- "apache2": [
-
- ]
- },
- "maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
-
- },
- "description": "Installs and configures chef client and server",
- "recipes": {
- "chef::server": "Configures a chef-server as a passenger application",
- "chef::server_proxy": "",
- "chef::client": "Sets up a client to talk to a chef-server",
- "chef": ""
- },
- "providing": {
- "chef::server": [
-
- ],
- "chef::server_proxy": [
-
- ],
- "chef": [
-
- ],
- "chef::client": [
-
- ]
- },
- "platforms": {
- "ubuntu": [
-
- ],
- "rhel": [
-
- ],
- "centos": [
-
- ],
- "debian": [
-
- ]
- },
- "version": "0.13.0",
- "name": "chef",
- "replacing": {
-
- },
- "groupings": {
-
- },
- "long_description": "= IMPORTANT CHANGES:\n\nFirst be aware of important changes in this version from previous versions.\n\n== General:\n\nThe attributes have been consolidated into one file, chef.rb, rather than split amongst chef.rb, client.rb, indexer.rb and server.rb.\n\n== Client:\n\nThis cookbook no longer manages the chef package version, it manages /etc/chef/client.rb, reloads the configuration using the new ruby_block resource if the template changes.\n\nThe client service is not managed at all. It is assumed to be set up via init script or runit from package installation or bootstrap.\n\n== Server:\n\n*This cookbook no longer configures a Chef Server under Passenger by default.* \n\nThe stompserver and couchdb cookbooks are not included by default. See below under Cookbooks requirements.\n\nThe default server recipe (chef::server) sets up two Merb Mongrel workers for the webui/api (port 4000) and openid (port 4001).\n\nThe default server recipe (chef::server), creates but does not manage the chef-indexer and chef-server services, and configures both from /etc/chef/server.rb. Some package installation methods (e.g., Debian) have a separate config file for chef-indexer.\n\nThe chef::server_proxy recipe sets up an Apache proxy vhost to provide SSL in front of the chef-server running as a Merb application.\n\n= DESCRIPTION:\n\nUse this cookbook to configure a chef client to connect to your preferred chef-server, or config a chef-server.\n\n= REQUIREMENTS:\n\nChef v0.7.10, for attribute 'default' syntax.\n\n== Platform:\n\nServer is tested on Ubuntu 9.10, 9.04, 8.10 and 8.04, Debian 5.0.\n\nClient is tested on the above, plus CentOS 5.3, Fedora 10, OpenBSD 4.6, FreeBSD 7.1 and Gentoo.\n\n== Cookbooks:\n\nClient: \n\nrunit is suggested for RubyGem installations. Clients do not require any other cookbooks.\n\nServer:\n\ncouchdb and stompserver are suggested for RubyGem installations. On systems where Chef and dependencies were installed from platform packages, CouchDB and Stompserver should be installed and configured sufficiently. Localised configuration requires additional changes to the server recipe and may require changes when using the Opscode recipes.\n\nServer using server_proxy:\n\n* apache2 (opscode/cookbooks)\n\n= ATTRIBUTES:\n\n*A note about paths:* We try to stick with generally accepted FHS guidelines for path locations, but you might need to adjust these for your platform. See the filesystem hierarchy documentation for your operating system if you're not sure.\n\n=== url_type\n\nSet up the URLs the client should connect to with this. Default is 'http', which tells the client to connect to 'http://server:4000'. If you set up your chef-server to use an SSL front-end for example with chef::server_proxy, set this to 'https' and the URLs will be 'https://server/'. \n\n=== init_style\n\nSpecifies the init style to use. Default 'runit'. Other possible values 'init', 'bsd', any other string will be treated as unknown.\n\nIf your platform doesn't have a 'runit' package or if the cookbook doesn't detect it, but you stil want to use runit, set init_style to 'none' and install runit separately.\n\n=== path\n\nThis is the base location where chef will store its associated data. Default '/srv/chef' for RubyGems installed systems. The location preference varies by platform. The default is a filesystem hiearchy standard suggestion[1]. Some other locations you may consider, by platform:\n\nDebian and Red Hat based Linux distros (Ubuntu, CentOS, Fedora, etc):\n\n* /var/lib/chef\n\nAny BSD and Gentoo:\n\n* /var/chef\n\n=== run_path\n\nLocation for pidfiles on systems using init scripts. Default '/var/run/chef'.\n\nIf init_style is 'init', this is used, and should match what the init script itself uses for the PID files.\n\n=== cache_path\n\nLocation where the client will cache cookbooks and other data. Default is 'cache' underneath the bootstrap[:chef][:path] location. Linux distributions might prefer /var/cache/chef instead.\n\n=== serve_path\n\nUsed by the Chef server as the base location to \"serve\" cookbooks, roles and other assets. Default is /srv/chef.\n\n=== server_version, client_version\n\nSet the version Chef. This is now unused in the chef cookbook for any specific configuration but you can optionally override the opscode recipe with one that manages the specific version of Chef installed. Default is the latest Chef release. Informational messages may be printed using the veresion, though.\n\n=== client_interval\n\nNumber of seconds to run chef-client periodically. Default '1800' (30 minutes).\n\n=== client_splay\n\nSplay interval to randomly add to interval. Default '20'.\n\n=== log_dir\n\nDirectory where logs are stored if logs are not sent to STDOUT. Systems using runit should send logs to STDOUT as runit manages log output. Default STDOUT when init_style is 'runit', otherwise the default is '/var/log/chef'.\n\n=== client_log, indexer_log, server_log\n\nLocation of the client, indexer and server logs, respectively. Default 'STDOUT' on systems with runit, '/var/log/chef/{client,indexer,server}.log' on other systems.\n\n=== server_fqdn\n\nFully qualified domain name of the server. Default is 'chef.domain' where domain is detected by Ohai. You should configure a DNS entry for your Chef Server.\n\nOn servers, this specifies the URLs the server expects, plus it is used in the server_ssl_req as the canonical name (CN) and in server_proxy for the vhost name.\n\nOn clients, this specifies the URLs the client uses to connect to the server.\n\n=== server_token\n\nThe validation_token used to automatically authorize chef-clients. Default is a random string generated every time chef-solo runs, and can be stored as a node attribute on the server. Use chef-client -t 'validation_token' to automatically validate the client.\n\n=== server_ssl_req\n\nUsed by the server_proxy recipe, this attribute can be used to set up a self-signed SSL certificate automatically using openssl. Fields:\n\n* C: country (two letter code)\n* ST: state/province\n* L: locality or city\n* O: organization\n* OU: organizational unit\n* CN: canonical name, usually the fully qualified domain name of the server (FQDN)\n* emailAddress: contact email address\n\n= USAGE:\n\nThis cookbook is primarily designed to configure a Chef client or server with the /etc/chef/ configuration files. Server services should be restarted when the config file changes. The running client configuration will get reloaded from the template if it changes.\n\nThe primary usage would be to set up a JSON file used with chef-client -j to set the run_list and attributes. The settings could alternately be put in a role, as well. When the JSON is used, node will have the run_list and attributes saved in the Chef Server it connected to.\n\nExample JSON to set up a client:\n\n {\n \"chef\": {\n \"url_type\": \"https\",\n \"init_style\": \"init\",\n \"server_fqdn\": \"chef.example.com\"\n },\n \"recipes\": \"chef::client\"\n }\n\nThis will tell the client to use the https style URLs (see chef::client below), that we'll have init scripts set up, and to connect to the server \"chef.example.com\"\n\n=== Passenger Not Used:\n\nAs mentioned above, Passenger is no longer used as the default. Use the server_proxy recipe to create an SSL front-end.\n\n== Server Default (chef::server)\n\nBy default, the server is setup to run as a standard Merb application with the Mongrel adapter, using the package installation or the bootstrap cookbook. The chef::server recipe is used to maintain the configuration.\n\nWhen using chef::server only, clients can use the default value for url_type (http).\n\n== Server Proxy (chef::server_proxy)\n\nIf you would like to set up an SSL front end for your server, use the chef::server_proxy recipe.\n\nWhen using this recipe, clients should have the url_type attribute set to \"https\".\n\nYou will need to edit the server_ssl_request attribute so the certificate is generated correctly.\n\nThe recipe itself will set up the Apache proxy:\n\n* Add port 444 to the listen_ports (Apache's ports.conf), required for OpenID.\n* Enable Apache modules proxy proxy_http proxy_balancer ssl rewrite headers\n* Create the SSL certificate based on the server_ssl_req attribute.\n* Set up and enable virtual hosts on ports 443 and 444 in the site config \"chef_server.conf\".\n\nThe proxy will send requests from port 443 to the Mongrel running on port 4000 (webui/api) and requests on port 444 to the Mongrel on port 4001 (openid). Be sure to adjust any firewall rules or security group settings appropriately for these ports (4000, 4001, 443, 444).\n\n=== SSL Certificates\n\nThe server_proxy recipe will generate a self-signed PEM certificate on the first run. If you use opscode's chef-repo, use rake to generate your own site-specific certificate if you wish. You can also use a purchased certificate to replace the one generated through this cookbook, but it must be named by the fully qualified domain name as used in the server_fqdn attribute.\n\n== Client Default (chef::client)\n\nIf your Chef Server's fully qualified domain name is not \"chef.domain\" where domain is the node attribute detected by ohai, then you'll need to specify the server_fqdn attribute for your clients. \n\nYou may want to adjust the path attributes as described above.\n\nMake sure you specify the correct url_type for your Chef Server. This will create the URLs in the client config file as so:\n\nhttp:: http://chef.domain:4000/\n\nhttps:: https://chef.domain/\n\n(the openid_url will be :4001 and :444 respectively.)\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman <joshua@opscode.com>\nAuthor:: Joshua Sierles <joshua@37signals.com>\n\nCopyright 2008-2009, Opscode, Inc\nCopyright 2009, 37signals\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",
- "attributes": {
- "chef/server_ssl_req": {
- "default": "/C=US/ST=Several/L=Locality/O=Example/OU=Operations/CN=chef_server_fqdn/emailAddress=ops@domain",
- "calculated": false,
- "type": "string",
- "choice": [
+ "dependencies": {
+ "zlib": [
],
- "description": "Data to pass for creating the SSL certificate",
- "display_name": "Chef Server SSL Request",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/server_path": {
- "default": "gem_dir/gems/chef-server-chef_server_version",
- "calculated": false,
- "type": "string",
- "choice": [
+ "xml": [
],
- "description": "Location of the Chef Server assets",
- "display_name": "Chef Server Path",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/run_path": {
- "default": "/var/run/chef",
- "calculated": false,
- "type": "string",
- "choice": [
+ "java": [
],
- "description": "Filesystem location for Chef 'run' files",
- "display_name": "Chef Run Path",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/client_log": {
- "default": "STDOUT",
- "calculated": false,
- "type": "string",
- "choice": [
+ "runit": [
],
- "description": "Location of the chef client log",
- "display_name": "Chef Client Log",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/path": {
- "default": "/srv/chef",
- "calculated": false,
- "type": "string",
- "choice": [
+ "couchdb": [
],
- "description": "Filesystem location for Chef files",
- "display_name": "Chef Path",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/server_log": {
- "default": "/var/log/chef/server.log",
- "calculated": false,
- "type": "string",
- "choice": [
+ "openssl": [
],
- "description": "Location of the Chef server log",
- "display_name": "Chef Server Log",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/client_splay": {
- "default": "20",
- "calculated": false,
- "type": "string",
- "choice": [
+ "rabbitmq_chef": [
],
- "description": "Random number of seconds to add to interval",
- "display_name": "Chef Client Splay ",
- "required": "optional",
- "recipes": [
+ "apache2": [
]
},
- "chef/client_version": {
- "default": "0.7.10",
- "calculated": false,
- "type": "string",
- "choice": [
-
- ],
- "description": "Set the version of the client gem to install",
- "display_name": "Chef Client Version",
- "required": "optional",
- "recipes": [
-
- ]
+ "replacing": {
},
- "chef/server_fqdn": {
- "default": "hostname.domain",
- "calculated": false,
- "type": "string",
- "choice": [
-
- ],
- "description": "FQDN of the Chef server for Apache vhost and SSL certificate and clients",
- "display_name": "Chef Server Fully Qualified Domain Name",
- "required": "optional",
- "recipes": [
-
- ]
+ "description": "Installs and configures chef client and server",
+ "groupings": {
},
- "chef/server_version": {
- "default": "0.7.10",
- "calculated": false,
- "type": "string",
- "choice": [
+ "platforms": {
+ "freebsd": [
],
- "description": "Set the version of the server and server-slice gems to install",
- "display_name": "Chef Server Version",
- "required": "optional",
- "recipes": [
-
- ]
- },
- "chef/indexer_log": {
- "default": "/var/log/chef/indexer.log",
- "calculated": false,
- "type": "string",
- "choice": [
+ "ubuntu": [
],
- "description": "Location of the chef-indexer log",
- "display_name": "Chef Indexer Log ",
- "required": "optional",
- "recipes": [
-
- ]