diff --git a/activemq/metadata.json b/activemq/metadata.json index 097740f82..cb233f933 100644 --- a/activemq/metadata.json +++ b/activemq/metadata.json @@ -1,40 +1,48 @@ { + "maintainer": "Opscode, Inc.", + "description": "Installs activemq and sets it up as a runit service", + "recommendations": { + + }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "activemq": "" }, - "conflicting": { - - }, - "description": "Installs\/Configures activemq", - "providing": { - "activemq": [ + "suggestions": { - ] }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n", "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, "version": "0.1.0", - "replacing": { + "name": "activemq", + "conflicting": { }, - "name": "activemq", "attributes": { }, - "maintainer": "Opscode, Inc.", - "recommendations": { + "providing": { + "activemq": [ + ] }, "license": "Apache 2.0", - "maintainer_email": "ops@example.com", - "suggestions": { + "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 ()\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", + "replacing": { }, "dependencies": { "java": [ + ], + "runit": [ + ] } } \ No newline at end of file diff --git a/activemq/metadata.rb b/activemq/metadata.rb index 9e99eddaa..7aa40341e 100644 --- a/activemq/metadata.rb +++ b/activemq/metadata.rb @@ -5,6 +5,10 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.1" +%w{ubuntu debian}.each do |os| + supports os +end + %w{java runit}.each do |cb| depends cb end diff --git a/apache2/metadata.json b/apache2/metadata.json index 1585a7856..ad20aee03 100644 --- a/apache2/metadata.json +++ b/apache2/metadata.json @@ -1,46 +1,52 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions", - "replacing": { + "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_authz_groupfile": "Apache module 'authz_groupfile'", "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": "", "apache2::mod_authz_user": "Apache module 'authz_user'", "apache2::mod_deflate": "Apache module 'deflate' with config file", - "apache2::mod_dav_svn": "Apache module 'dav_svn'", - "apache2::mod_negotiation": "Apache module 'negotiation' 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_auth_digest": "Apache module 'auth_digest'", "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_authnz_ldap": "Apache module 'authnz_ldap'", "apache2::mod_autoindex": "Apache module 'autoindex' with config file", - "apache2::mod_proxy": "Apache module 'proxy' 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_ldap": "Apache module 'ldap'", "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::god_monitor": "", "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::mod_proxy_ajp": "Apache module 'proxy_ajp'", + "apache2": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -56,13 +62,11 @@ ] }, - "maintainer": "Opscode, Inc.", - "version": "0.9.1", - "recommendations": { + "version": "0.10.0", + "name": "apache2", + "conflicting": { }, - "name": "apache2", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "apache\/traceenable": { "default": "On", @@ -70,10 +74,10 @@ "multiple_values": false, "description": "Determine behavior of TRACE requests", "display_name": "Apache Trace Enable", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/timeout": { "default": "300", @@ -81,10 +85,10 @@ "multiple_values": false, "description": "Connection timeout value", "display_name": "Apache Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/icondir": { "default": "\/usr\/share\/apache2\/icons", @@ -92,10 +96,10 @@ "multiple_values": false, "description": "Directory location for icons", "display_name": "Apache Icondir", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/user": { "default": "www-data", @@ -103,10 +107,10 @@ "multiple_values": false, "description": "User Apache runs as", "display_name": "Apache User", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/threadsperchild": { "default": "64", @@ -114,10 +118,10 @@ "multiple_values": false, "description": "Constant number of worker threads in each server process", "display_name": "Apache Worker MPM ThreadsPerChild", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/maxclients": { "default": "1024", @@ -125,20 +129,20 @@ "multiple_values": false, "description": "Maximum number of simultaneous connections", "display_name": "Apache Worker MPM MaxClients", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker": { "type": "hash", "multiple_values": false, "description": "Hash of Apache prefork tuning attributes.", "display_name": "Apache Worker", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/contact": { "default": "ops@example.com", @@ -146,10 +150,10 @@ "multiple_values": false, "description": "Email address of webmaster", "display_name": "Apache Contact", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/startservers": { "default": "16", @@ -157,10 +161,10 @@ "multiple_values": false, "description": "Number of MPM servers to start", "display_name": "Apache Prefork MPM StartServers", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/minspareservers": { "default": "16", @@ -168,10 +172,21 @@ "multiple_values": false, "description": "Minimum number of spare server processes", "display_name": "Apache Prefork MPM MinSpareServers", - "required": false, "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", @@ -179,10 +194,10 @@ "multiple_values": false, "description": "Time to wait for requests on persistent connection", "display_name": "Apache Keepalive Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/keepaliverequests": { "default": "100", @@ -190,10 +205,10 @@ "multiple_values": false, "description": "Number of requests allowed on a persistent connection", "display_name": "Apache Keepalive Requests", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/maxrequestsperchild": { "default": "0", @@ -201,10 +216,10 @@ "multiple_values": false, "description": "Maximum number of request a child process will handle", "display_name": "Apache Worker MPM MaxRequestsPerChild", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/listen_ports": { "default": [ @@ -215,10 +230,10 @@ "multiple_values": false, "description": "Ports that Apache should listen on", "display_name": "Apache Listen Ports", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/dir": { "default": "\/etc\/apache2", @@ -226,10 +241,10 @@ "multiple_values": false, "description": "Location for Apache configuration", "display_name": "Apache Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/maxsparethreads": { "default": "192", @@ -237,10 +252,10 @@ "multiple_values": false, "description": "Maximum number of spare worker threads", "display_name": "Apache Worker MPM MaxSpareThreads", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/maxrequestsperchild": { "default": "10000", @@ -248,10 +263,10 @@ "multiple_values": false, "description": "Maximum number of request a child process will handle", "display_name": "Apache Prefork MPM MaxRequestsPerChild", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/serverlimit": { "default": "400", @@ -259,10 +274,10 @@ "multiple_values": false, "description": "Upper limit on configurable server processes", "display_name": "Apache Prefork MPM ServerLimit", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/binary": { "default": "\/usr\/sbin\/apache2", @@ -270,10 +285,10 @@ "multiple_values": false, "description": "Apache server daemon program", "display_name": "Apache Binary", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/maxspareservers": { "default": "32", @@ -281,10 +296,10 @@ "multiple_values": false, "description": "Maximum number of spare server processes", "display_name": "Apache Prefork MPM MaxSpareServers", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/keepalive": { "default": "On", @@ -292,20 +307,20 @@ "multiple_values": false, "description": "HTTP persistent connections", "display_name": "Apache Keepalive", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache": { "type": "hash", "multiple_values": false, "description": "Hash of Apache attributes", "display_name": "Apache Hash", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/startservers": { "default": "4", @@ -313,10 +328,10 @@ "multiple_values": false, "description": "Initial number of server processes to start", "display_name": "Apache Worker MPM StartServers", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork\/maxclients": { "default": "400", @@ -324,20 +339,20 @@ "multiple_values": false, "description": "Maximum number of simultaneous connections", "display_name": "Apache Prefork MPM MaxClients", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/prefork": { "type": "hash", "multiple_values": false, "description": "Hash of Apache prefork tuning attributes.", "display_name": "Apache Prefork", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/servertokens": { "default": "Prod", @@ -345,10 +360,10 @@ "multiple_values": false, "description": "Server response header", "display_name": "Apache Server Tokens", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/worker\/minsparethreads": { "default": "64", @@ -356,10 +371,10 @@ "multiple_values": false, "description": "Minimum number of spare worker threads", "display_name": "Apache Worker MPM MinSpareThreads", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/serversignature": { "default": "On", @@ -367,10 +382,10 @@ "multiple_values": false, "description": "Configure footer on server-generated documents", "display_name": "Apache Server Signature", - "required": false, "recipes": [ - ] + ], + "required": false }, "apache\/log_dir": { "default": "\/etc\/apache2", @@ -378,21 +393,11 @@ "multiple_values": false, "description": "Location for Apache logs", "display_name": "Apache Log Directory", - "required": false, "recipes": [ - ] + ], + "required": false } - }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - }, "providing": { "apache2::mod_python": [ @@ -410,10 +415,10 @@ "apache2::mod_proxy_balancer": [ ], - "apache2::mod_authz_groupfile": [ + "apache2::mod_dav": [ ], - "apache2::mod_dav": [ + "apache2::mod_authz_groupfile": [ ], "apache2::mod_auth_basic": [ @@ -428,13 +433,13 @@ "apache2::mod_deflate": [ ], - "apache2::mod_dav_svn": [ + "apache2::mod_ssl": [ ], "apache2::mod_negotiation": [ ], - "apache2::mod_ssl": [ + "apache2::mod_dav_svn": [ ], "apache2::mod_authz_host": [ @@ -442,9 +447,6 @@ ], "apache2::mod_rewrite": [ - ], - "apache2::mod_auth_digest": [ - ], "apache2::mod_cgi": [ @@ -452,32 +454,35 @@ "apache2::mod_fcgid": [ ], - "apache2::mod_env": [ + "apache2::mod_auth_digest": [ ], - "apache2::mod_headers": [ + "apache2::mod_env": [ ], - "apache2::mod_authnz_ldap": [ + "apache2::mod_headers": [ ], "apache2::mod_autoindex": [ ], - "apache2::mod_proxy": [ + "apache2::mod_authnz_ldap": [ ], "apache2::mod_proxy_connect": [ ], - "apache2::mod_alias": [ + "apache2::mod_proxy": [ ], - "apache2::mod_ldap": [ + "apache2::mod_alias": [ ], "apache2::mod_status": [ + ], + "apache2::mod_ldap": [ + ], "apache2::mod_authz_default": [ @@ -488,14 +493,17 @@ "apache2": [ ], - "apache2::god_monitor": [ + "apache2::mod_expires": [ ], - "apache2::mod_expires": [ + "apache2::god_monitor": [ ], "apache2::mod_proxy_http": [ + ], + "apache2::mod_auth_openid": [ + ], "apache2::mod_mime": [ @@ -504,5 +512,12 @@ ] }, - "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= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + "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 ()\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": { + + } } \ No newline at end of file diff --git a/apparmor/metadata.json b/apparmor/metadata.json index 65074e28c..01bfb0982 100644 --- a/apparmor/metadata.json +++ b/apparmor/metadata.json @@ -1,40 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Disables apparmor service on Ubuntu", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "apparmor": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "apparmor", + "conflicting": { }, - "name": "apparmor", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "apparmor": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "apparmor": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/apt/metadata.json b/apt/metadata.json index 3e8edd599..c37fe61ae 100644 --- a/apt/metadata.json +++ b/apt/metadata.json @@ -1,12 +1,17 @@ { + "maintainer": "Opscode, Inc.", "description": "Configures apt and apt services", - "replacing": { + "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": [ @@ -16,24 +21,12 @@ ] }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { - - }, + "version": "0.8.0", "name": "apt", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { - - }, - "suggestions": { - - }, - "license": "Apache 2.0", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -47,5 +40,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/boost/metadata.json b/boost/metadata.json index 9c98fa6a9..c875a8d72 100644 --- a/boost/metadata.json +++ b/boost/metadata.json @@ -1,40 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs libboost", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "boost": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { + "name": "boost", + "conflicting": { }, - "name": "boost", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "boost": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "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 ()\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": { - }, - "providing": { - "boost": [ - - ] - }, - "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 ()\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" + } } \ No newline at end of file diff --git a/bootstrap/metadata.json b/bootstrap/metadata.json index 67b9fdcc6..e31efa7cc 100644 --- a/bootstrap/metadata.json +++ b/bootstrap/metadata.json @@ -1,31 +1,63 @@ { + "maintainer": "Opscode, Inc.", "description": "Configures RubyGems-installed Chef", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "bootstrap::client": "", - "bootstrap::server": "", - "bootstrap": "" + "bootstrap": "", + "bootstrap::server": "" + }, + "suggestions": { + }, "platforms": { + "freebsd": [ + + ], + "ubuntu": [ + + ], + "openbsd": [ + + ], + "fedora": [ + ], + "centos": [ + + ], + "redhat": [ + + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { + "name": "bootstrap", + "conflicting": { }, - "name": "bootstrap", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "bootstrap": [ + + ], + "bootstrap::client": [ + ], + "bootstrap::server": [ + + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= 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 \"path\": \"\/srv\/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::client\"\n}\n\n== Servers:\n\nCommon attributes you may wish to adjust for the server:\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"path\": \"\/srv\/chef\",\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 \nAuthor:: Joshua Sierles \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", + "replacing": { }, "dependencies": { @@ -41,17 +73,5 @@ "apache2": [ ] - }, - "providing": { - "bootstrap": [ - - ], - "bootstrap::client": [ - - ], - "bootstrap::server": [ - - ] - }, - "long_description": "= 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-repo\/bootstrap.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 \"path\": \"\/srv\/chef\",\n \"server_fqdn\": \"localhost.localdomain\",\n }\n },\n \"recipes\": \"bootstrap::client\"\n}\n\n== Servers:\n\nCommon attributes you may wish to adjust for the server:\n\n{\n \"bootstrap\": {\n \"chef\": {\n \"url_type\": \"http\",\n \"init_style\": \"runit\",\n \"path\": \"\/srv\/chef\",\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 \nAuthor:: Joshua Sierles \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" + } } \ No newline at end of file diff --git a/bootstrap/metadata.rb b/bootstrap/metadata.rb index 012ae0ec6..1aa55c595 100644 --- a/bootstrap/metadata.rb +++ b/bootstrap/metadata.rb @@ -5,6 +5,10 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.1" +%w{ ubuntu debian redhat centos fedora freebsd openbsd }.each do |os| + supports os +end + %w{ runit couchdb stompserver apache2 }.each do |cb| depends cb end diff --git a/build-essential/metadata.json b/build-essential/metadata.json index 17d311aef..38e9f0b70 100644 --- a/build-essential/metadata.json +++ b/build-essential/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs C compiler \/ build tools", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "build-essential": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -17,30 +22,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "build-essential", + "conflicting": { }, - "name": "build-essential", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "build-essential": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "build-essential": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/capistrano/metadata.json b/capistrano/metadata.json index 2d5d1c0e4..3976c89cc 100644 --- a/capistrano/metadata.json +++ b/capistrano/metadata.json @@ -1,33 +1,46 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs Capistrano gem and provides a define to set up deployment for an application", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "capistrano": "", "capistrano": "Installs Capistrano gem" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "freebsd": [ - }, - "name": "capistrano", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "ubuntu": [ - }, - "suggestions": { + ], + "openbsd": [ + ], + "fedora": [ + + ], + "centos": [ + + ], + "redhat": [ + + ], + "debian": [ + + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "capistrano", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -35,5 +48,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/capistrano/metadata.rb b/capistrano/metadata.rb index 4e5862e38..040a65f4e 100644 --- a/capistrano/metadata.rb +++ b/capistrano/metadata.rb @@ -4,3 +4,6 @@ description "Installs Capistrano gem and provides a define to set up deployment for an application" version "0.7" recipe "capistrano", "Installs Capistrano gem" +%w{ ubuntu debian redhat centos fedora freebsd openbsd }.each do |os| + supports os +end diff --git a/chef/metadata.json b/chef/metadata.json index f17672cfd..4801b38be 100644 --- a/chef/metadata.json +++ b/chef/metadata.json @@ -1,13 +1,18 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures chef client and server", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "chef::server": "Configures a chef-server as a passenger application", "chef": "", "chef::server_proxy": "", "chef::client": "Sets up a client to talk to a chef-server" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -23,13 +28,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.12.0", - "recommendations": { + "name": "chef", + "conflicting": { }, - "name": "chef", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "chef\/server_ssl_req": { "default": "\/C=US\/ST=Several\/L=Locality\/O=Example\/OU=Operations\/CN=chef_server_fqdn\/emailAddress=ops@domain", @@ -37,10 +40,10 @@ "multiple_values": false, "description": "Data to pass for creating the SSL certificate", "display_name": "Chef Server SSL Request", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_path": { "default": "gem_dir\/gems\/chef-server-chef_server_version", @@ -48,10 +51,10 @@ "multiple_values": false, "description": "Location of the Chef Server assets", "display_name": "Chef Server Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/run_path": { "default": "\/var\/run\/chef", @@ -59,10 +62,10 @@ "multiple_values": false, "description": "Filesystem location for Chef 'run' files", "display_name": "Chef Run Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/client_log": { "default": "STDOUT", @@ -70,10 +73,10 @@ "multiple_values": false, "description": "Location of the chef client log", "display_name": "Chef Client Log", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/path": { "default": "\/srv\/chef", @@ -81,10 +84,10 @@ "multiple_values": false, "description": "Filesystem location for Chef files", "display_name": "Chef Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_log": { "default": "\/var\/log\/chef\/server.log", @@ -92,10 +95,10 @@ "multiple_values": false, "description": "Location of the Chef server log", "display_name": "Chef Server Log", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/client_splay": { "default": "20", @@ -103,10 +106,10 @@ "multiple_values": false, "description": "Random number of seconds to add to interval", "display_name": "Chef Client Splay ", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/client_version": { "default": "0.7.10", @@ -114,10 +117,10 @@ "multiple_values": false, "description": "Set the version of the client gem to install", "display_name": "Chef Client Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_fqdn": { "default": "hostname.domain", @@ -125,10 +128,10 @@ "multiple_values": false, "description": "FQDN of the Chef server for Apache vhost and SSL certificate and clients", "display_name": "Chef Server Fully Qualified Domain Name", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_version": { "default": "0.7.10", @@ -136,10 +139,10 @@ "multiple_values": false, "description": "Set the version of the server and server-slice gems to install", "display_name": "Chef Server Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/indexer_log": { "default": "\/var\/log\/chef\/indexer.log", @@ -147,10 +150,10 @@ "multiple_values": false, "description": "Location of the chef-indexer log", "display_name": "Chef Indexer Log ", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/client_interval": { "default": "1800", @@ -158,10 +161,10 @@ "multiple_values": false, "description": "Poll chef client process to run on this interval in seconds", "display_name": "Chef Client Interval ", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_token": { "default": "randomly generated", @@ -169,10 +172,10 @@ "multiple_values": false, "description": "Value of the validation_token", "display_name": "Chef Server Validation Token", - "required": false, "recipes": [ - ] + ], + "required": false }, "chef\/server_hostname": { "default": "hostname", @@ -180,17 +183,29 @@ "multiple_values": false, "description": "Hostname for the chef server, for building FQDN", "display_name": "Chef Server Hostname", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "chef::server": [ + + ], + "chef::server_proxy": [ + + ], + "chef": [ + ], + "chef::client": [ + + ] }, "license": "Apache 2.0", - "conflicting": { + "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 \nAuthor:: Joshua Sierles \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", + "replacing": { }, "dependencies": { @@ -212,20 +227,5 @@ "apache2": [ ] - }, - "providing": { - "chef::server": [ - - ], - "chef::server_proxy": [ - - ], - "chef": [ - - ], - "chef::client": [ - - ] - }, - "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 \nAuthor:: Joshua Sierles \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" + } } \ No newline at end of file diff --git a/couchdb/metadata.json b/couchdb/metadata.json index 0e6dc8709..35ee567fa 100644 --- a/couchdb/metadata.json +++ b/couchdb/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs CouchDB package and starts service", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "couchdb": "" + }, + "suggestions": { + }, "platforms": { "rhel": [ @@ -29,30 +34,25 @@ ">= 5.0" ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "couchdb", + "conflicting": { }, - "name": "couchdb", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "couchdb": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "Installs the CouchDB package if it is available from an package repository on\nthe node. If the package repository is not available, CouchDB needs to be \ninstalled via some other method, either a backported package, or compiled \ndirectly from source. CouchDB is available on Red Hat-based systems through\nthe EPEL Yum Repository.\n", + "replacing": { }, "dependencies": { - }, - "providing": { - "couchdb": [ - - ] - }, - "long_description": "Installs the CouchDB package if it is available from an package repository on\nthe node. If the package repository is not available, CouchDB needs to be \ninstalled via some other method, either a backported package, or compiled \ndirectly from source. CouchDB is available on Red Hat-based systems through\nthe EPEL Yum Repository.\n" + } } \ No newline at end of file diff --git a/django/metadata.json b/django/metadata.json index 263a501a7..f3acdc3ef 100644 --- a/django/metadata.json +++ b/django/metadata.json @@ -1,29 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs DJango", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "django": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "django", + "conflicting": { }, - "name": "django", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "django": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls Python Django package and sets up Apache2 to serve a django application.\n\n= REQUIREMENTS:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* python\n* apache2\n\n= ATTRIBUTES:\n\nNone.\n\n= USAGE:\n\nCreate the django application using the Apache2 cookbook's web_app define. Normally this would be done in a site-cookbook.\n\n web_app \"mysite\" do\n docroot \"\/srv\/mysite\"\n template \"mysite.conf.erb\"\n end\n\nCreate the template, 'mysite.conf.erb' within the site-cookbook. Make sure the django settings are correct. The web_app define copies the template over and enables it as an apache2 site.\n\n= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman ()\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": { @@ -33,11 +44,5 @@ "apache2": [ ] - }, - "providing": { - "django": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls Python Django package and sets up Apache2 to serve a django application.\n\n= REQUIREMENTS:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* python\n* apache2\n\n= ATTRIBUTES:\n\nNone.\n\n= USAGE:\n\nCreate the django application using the Apache2 cookbook's web_app define. Normally this would be done in a site-cookbook.\n\n web_app \"mysite\" do\n docroot \"\/srv\/mysite\"\n template \"mysite.conf.erb\"\n end\n\nCreate the template, 'mysite.conf.erb' within the site-cookbook. Make sure the django settings are correct. The web_app define copies the template over and enables it as an apache2 site.\n\n= LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/django/metadata.rb b/django/metadata.rb index 6b5193a9a..9cbbb6f2a 100644 --- a/django/metadata.rb +++ b/django/metadata.rb @@ -5,6 +5,10 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.7" +%w{ ubuntu debian }.each do |os| + supports os +end + %w{ apache2 python}.each do |cb| depends cb end diff --git a/djbdns/metadata.json b/djbdns/metadata.json index 5761772f0..2bc50ccae 100644 --- a/djbdns/metadata.json +++ b/djbdns/metadata.json @@ -1,15 +1,20 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs djbdns and configures DNS services", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "djbdns::internal_server": "Sets up internal TinyDNS", "djbdns": "Installs djbdns from package or source and creates users", - "djbdns::axfr": "Sets up djbdns AXFR service", - "djbdns::server": "Sets up external TinyDNS", "djbdns": "", + "djbdns::server": "Sets up external TinyDNS", + "djbdns::axfr": "Sets up djbdns AXFR service", "djbdns::cache": "Sets up public dnscache service" + }, + "suggestions": { + }, "platforms": { "rhel": [ @@ -25,13 +30,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "djbdns", + "conflicting": { }, - "name": "djbdns", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "djbdns\/axfrdns_ipaddress": { "default": "127.0.0.1", @@ -39,10 +42,10 @@ "multiple_values": false, "description": "Specify the IP address for AXFR service", "display_name": "DJB DNS AXFR IP Address", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/public_dnscache_allowed_networks": { "default": [ @@ -52,10 +55,10 @@ "multiple_values": false, "description": "Networks allowed to query the public dnscache", "display_name": "DJB DNS Public DNS Cache Allowed Networks", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/tinydns_internal_ipaddress": { "default": "127.0.0.1", @@ -63,10 +66,10 @@ "multiple_values": false, "description": "Specify the IP address for internal TinyDNS", "display_name": "DJB DNS TinyDNS Internal IP Address", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/tinydns_internal_resolved_domain": { "default": "domain", @@ -74,10 +77,10 @@ "multiple_values": false, "description": "Internal domain TinyDNS is resolver", "display_name": "DJB DNS TinyDNS Internal Resolved Domain", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/public_dnscache_ipaddress": { "default": "ipaddress", @@ -85,10 +88,10 @@ "multiple_values": false, "description": "Specify the IP address for the public dnscache", "display_name": "DJB DNS Public DNS Cache IP Address", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/bin_dir": { "default": "\/usr\/local\/bin", @@ -96,10 +99,10 @@ "multiple_values": false, "description": "Location of the djbdns binaries", "display_name": "DJB DNS Binaries Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "djbdns\/tinydns_ipaddress": { "default": "127.0.0.1", @@ -107,27 +110,12 @@ "multiple_values": false, "description": "Specify the IP address for TinyDNS", "display_name": "DJB DNS TinyDNS IP Address", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - "runit": [ - - ], - "build-essential": [ - - ] - }, "providing": { "djbdns::internal_server": [ @@ -135,15 +123,27 @@ "djbdns": [ ], - "djbdns::axfr": [ + "djbdns::server": [ ], - "djbdns::server": [ + "djbdns::axfr": [ ], "djbdns::cache": [ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + "runit": [ + + ], + "build-essential": [ + + ] + } } \ No newline at end of file diff --git a/drbd/metadata.json b/drbd/metadata.json index 61909ac1f..50ee80cc8 100644 --- a/drbd/metadata.json +++ b/drbd/metadata.json @@ -1,40 +1,45 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs but does not configure drbd", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "drbd": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "drbd", + "conflicting": { }, - "name": "drbd", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "drbd": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { "lvm": [ ] - }, - "providing": { - "drbd": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/drbd/metadata.rb b/drbd/metadata.rb index 15ccf2b6e..07f15d306 100644 --- a/drbd/metadata.rb +++ b/drbd/metadata.rb @@ -4,3 +4,7 @@ description "Installs but does not configure drbd" version "0.7" depends "lvm" + +%w{ ubuntu debian}.each do |os| + supports os +end diff --git a/dynomite/metadata.json b/dynomite/metadata.json index 500cf14cb..3a8fd3406 100644 --- a/dynomite/metadata.json +++ b/dynomite/metadata.json @@ -1,31 +1,37 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs\/Configures dynomite", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "dynomite": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { + "name": "dynomite", + "conflicting": { }, - "name": "dynomite", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "dynomite": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls and configures dynomite.\n\n= REQUIREMENTS:\n\n== Platform:\n\nUbuntu, mainly because of dependencies on Ubuntu specific installation methods in dependencies (thrift and boost).\n\n== Cookbooks:\n\nOpscode\/cookbooks:\n\n* thrift\n** boost\n* ruby\n* git\n* erlang\n* runit\n\n= ATTRIBUTES: \n\n* dynomite[:master] - whether this node is a master cluster node.\n* dynomite[:cluster_name] - name of the dynomite cluster.\n* dynomite[:data_dir] - location of the data.\n* dynomite[:num_nodes] - number of nodes in the cluster.\n* dynomite[:node_name] - name of this node.\n* dynomite[:ascii_port] - port for ASCII protocol.\n* dynomite[:thrift_port] - port for Thrift protocol.\n* dynomite[:web_port] - port for web (HTTP).\n\n= USAGE:\n\nNothing fancy. Include the recipe, or add to a run_list like any other recipe. This cookbook relies on the ruby-dynomite client, which manages dynomite processes. The cookbook will set up dynomite as a runit service.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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": { @@ -41,11 +47,5 @@ "erlang": [ ] - }, - "providing": { - "dynomite": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls and configures dynomite.\n\n= REQUIREMENTS:\n\n== Platform:\n\nUbuntu, mainly because of dependencies on Ubuntu specific installation methods in dependencies (thrift and boost).\n\n== Cookbooks:\n\nOpscode\/cookbooks:\n\n* thrift\n** boost\n* ruby\n* git\n* erlang\n* runit\n\n= ATTRIBUTES: \n\n* dynomite[:master] - whether this node is a master cluster node.\n* dynomite[:cluster_name] - name of the dynomite cluster.\n* dynomite[:data_dir] - location of the data.\n* dynomite[:num_nodes] - number of nodes in the cluster.\n* dynomite[:node_name] - name of this node.\n* dynomite[:ascii_port] - port for ASCII protocol.\n* dynomite[:thrift_port] - port for Thrift protocol.\n* dynomite[:web_port] - port for web (HTTP).\n\n= USAGE:\n\nNothing fancy. Include the recipe, or add to a run_list like any other recipe. This cookbook relies on the ruby-dynomite client, which manages dynomite processes. The cookbook will set up dynomite as a runit service.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/ec2/metadata.rb b/ec2/metadata.rb index 54ce8df87..d65e4b549 100644 --- a/ec2/metadata.rb +++ b/ec2/metadata.rb @@ -4,6 +4,10 @@ description "Manage EC2 metadata as attributes" version "0.9" +%w{ ubuntu debian}.each do |os| + supports os +end + attribute "ec2_metadata", :display_name => "EC2 Metadata", :description => "Retrieve EC2 instance metadata" diff --git a/emacs/metadata.json b/emacs/metadata.json index 66f5cd139..ada5bbf27 100644 --- a/emacs/metadata.json +++ b/emacs/metadata.json @@ -1,32 +1,36 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs emacs", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "emacs": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "emacs", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "centos": [ - }, - "suggestions": { + ], + "redhat": [ + + ], + "debian": [ + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "emacs", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +38,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/emacs/metadata.rb b/emacs/metadata.rb index 3b2eb5eed..8d4718fef 100644 --- a/emacs/metadata.rb +++ b/emacs/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs emacs" version "0.7" + +%w{ ubuntu debian redhat centos }.each do |os| + supports os +end diff --git a/erlang/metadata.json b/erlang/metadata.json index 31d3f6666..90df1b5d2 100644 --- a/erlang/metadata.json +++ b/erlang/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs erlang", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "erlang": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "erlang", + "conflicting": { }, - "name": "erlang", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "erlang": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "erlang": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/erlang/metadata.rb b/erlang/metadata.rb index def475aaf..1f912ef46 100644 --- a/erlang/metadata.rb +++ b/erlang/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs erlang" version "0.7" + +%w{ ubuntu debian }.each do |os| + supports os +end diff --git a/fail2ban/metadata.json b/fail2ban/metadata.json index 4c9efc35e..a944db8fd 100644 --- a/fail2ban/metadata.json +++ b/fail2ban/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures fail2ban", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "fail2ban": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "fail2ban", + "conflicting": { }, - "name": "fail2ban", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "fail2ban": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "fail2ban": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/fail2ban/metadata.rb b/fail2ban/metadata.rb index a4ceb63fa..ae74758d5 100644 --- a/fail2ban/metadata.rb +++ b/fail2ban/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs and configures fail2ban" version "0.7" + +%w{ ubuntu debian }.each do |os| + supports os +end diff --git a/gems/metadata.json b/gems/metadata.json index 703955ba1..7d0cc7466 100644 --- a/gems/metadata.json +++ b/gems/metadata.json @@ -1,23 +1,33 @@ { + "maintainer": "Opscode, Inc.", "description": "Sets up a local gem server repository", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "gems": "", "gems::mirror": "Crons an rsync of rubyforge", "gems::server": "Sets up a local gem server repository" }, + "suggestions": { + "ruby": [ + + ] + }, "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "gems", + "conflicting": { }, - "name": "gems", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "gem_server\/virtual_host_alias": { "default": "gems", @@ -25,10 +35,10 @@ "multiple_values": false, "description": "Array of Apache ServerAlias'es", "display_name": "Gem Server Virtual Host Aliases", - "required": false, "recipes": [ - ] + ], + "required": false }, "gem_server\/virtual_host_name": { "default": "gems.domain", @@ -36,20 +46,20 @@ "multiple_values": false, "description": "Apache ServerName for the virtual host", "display_name": "Gem Server Virtual Hostname", - "required": false, "recipes": [ - ] + ], + "required": false }, "gem_server": { "type": "hash", "multiple_values": false, "description": "Hash of Gem Server attributes", "display_name": "Gem Server", - "required": false, "recipes": [ - ] + ], + "required": false }, "gem_server\/directory": { "default": "\/srv\/gems", @@ -57,26 +67,12 @@ "multiple_values": false, "description": "Filesystem location of where the gems repository is served from", "display_name": "Gem Server Directory", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { - "ruby": [ - - ] - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - "apache2": [ - - ] - }, "providing": { "gems::mirror": [ @@ -88,5 +84,14 @@ ] }, - "long_description": "= DESCRIPTION:\n\nSets up a local gem server repository.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10 and 9.04.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master\n\n* apache2\n\n= ATTRIBUTES: \n\n* gem_server[:virtual_host_name] - ServerName for Apache vhost. Default 'gems.domain'.\n* gem_server[:virtual_host_alias] - ServerAlias(es) for Apache vhost. Default 'gems'.\n* gem_server[:directory] - Filesystem location for the repository, default is \/srv\/gems.\n\n= USAGE:\n\nCreate files\/default\/packages, and copy gems to that directory.\n\nSpecify the gem source on clients via the command line, for example:\n\n sudo gem source -a http:\/\/gems\n sudo gem install rails --source http:\/\/gems\n\nOr use the source with gem_package resources in your chef recipes.\n\n gem_package \"rails\" do\n source \"http:\/\/gems\"\n end\n\nUse the gems::mirror recipe to mirror RubyForge. This will take a long time because the repository is 28k+ gems and over 5.5G. It will also override the remote_directory resource to not notify gem generate_index, and instead handle that in the cron job that does the rsync.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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." + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nSets up a local gem server repository.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10 and 9.04.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master\n\n* apache2\n\n= ATTRIBUTES: \n\n* gem_server[:virtual_host_name] - ServerName for Apache vhost. Default 'gems.domain'.\n* gem_server[:virtual_host_alias] - ServerAlias(es) for Apache vhost. Default 'gems'.\n* gem_server[:directory] - Filesystem location for the repository, default is \/srv\/gems.\n\n= USAGE:\n\nCreate files\/default\/packages, and copy gems to that directory.\n\nSpecify the gem source on clients via the command line, for example:\n\n sudo gem source -a http:\/\/gems\n sudo gem install rails --source http:\/\/gems\n\nOr use the source with gem_package resources in your chef recipes.\n\n gem_package \"rails\" do\n source \"http:\/\/gems\"\n end\n\nUse the gems::mirror recipe to mirror RubyForge. This will take a long time because the repository is 28k+ gems and over 5.5G. It will also override the remote_directory resource to not notify gem generate_index, and instead handle that in the cron job that does the rsync.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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.", + "replacing": { + + }, + "dependencies": { + "apache2": [ + + ] + } } \ No newline at end of file diff --git a/gems/metadata.rb b/gems/metadata.rb index 7115b6531..e0375b643 100644 --- a/gems/metadata.rb +++ b/gems/metadata.rb @@ -9,6 +9,10 @@ depends "apache2" suggests "ruby" # :-) +%w{ ubuntu debian }.each do |os| + supports os +end + attribute "gem_server", :display_name => "Gem Server", :description => "Hash of Gem Server attributes", diff --git a/git/metadata.json b/git/metadata.json index 8553fc3b0..a435277e7 100644 --- a/git/metadata.json +++ b/git/metadata.json @@ -1,30 +1,44 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs git and\/or sets up a Git server daemon", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "git::server": "Sets up a runit_service for git daemon", "git": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "git", + "conflicting": { }, - "name": "git", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "git::server": [ + + ], + "git": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls git.\n\n= REQUIREMENTS:\n\n== Cookbooks:\n\nOpscode Cookbooks (http:\/\/github.com\/opscode\/cookbooks\/tree\/master)\n\n* runit\n\n= USAGE:\n\nThis cookbook primarily installs git core packages. It can also be used to serve git repositories.\n\n include_recipe \"git::server\"\n\nThis creates the directory \/srv\/git and starts a git daemon, exporting all repositories found. Repositories need to be added manually, but will be available once they are created.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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.", + "replacing": { }, "dependencies": { @@ -34,14 +48,5 @@ "apache2": [ ] - }, - "providing": { - "git::server": [ - - ], - "git": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls git.\n\n= REQUIREMENTS:\n\n== Cookbooks:\n\nOpscode Cookbooks (http:\/\/github.com\/opscode\/cookbooks\/tree\/master)\n\n* runit\n\n= USAGE:\n\nThis cookbook primarily installs git core packages. It can also be used to serve git repositories.\n\n include_recipe \"git::server\"\n\nThis creates the directory \/srv\/git and starts a git daemon, exporting all repositories found. Repositories need to be added manually, but will be available once they are created.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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." + } } \ No newline at end of file diff --git a/git/metadata.rb b/git/metadata.rb index 77fdc903a..465b217b0 100644 --- a/git/metadata.rb +++ b/git/metadata.rb @@ -6,6 +6,10 @@ version "0.7" recipe "git::server", "Sets up a runit_service for git daemon" +%w{ ubuntu debian }.each do |os| + supports os +end + %w{ apache2 runit }.each do |cb| depends cb end diff --git a/glassfish/metadata.json b/glassfish/metadata.json index f96c1713c..2b9713e58 100644 --- a/glassfish/metadata.json +++ b/glassfish/metadata.json @@ -1,37 +1,50 @@ { + "maintainer": "Opscode, Inc.", + "description": "Installs\/Configures Glassfish", + "recommendations": { + + }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { + "glassfish": "Main Glassfish configuration", "glassfish": "" }, - "providing": { - "glassfish": [ + "suggestions": { - ] }, - "license": "Apache 2.0", - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n", - "replacing": { + "platforms": { + "ubuntu": [ - }, - "dependencies": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", - "description": "Installs\/Configures glassfish", - "recommendations": { + "version": "0.1.0", + "name": "glassfish", + "conflicting": { }, - "platforms": { + "attributes": { }, - "maintainer_email": "cookbooks@opscode.com", - "suggestions": { + "providing": { + "glassfish": [ + ] }, - "name": "glassfish", - "conflicting": { + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n", + "replacing": { }, - "attributes": { + "dependencies": { } } \ No newline at end of file diff --git a/glassfish/metadata.rb b/glassfish/metadata.rb index b795f5fbb..3a782dbd0 100644 --- a/glassfish/metadata.rb +++ b/glassfish/metadata.rb @@ -9,4 +9,3 @@ %w{redhat centos debian ubuntu}.each do |os| supports os end - diff --git a/god/metadata.json b/god/metadata.json index 95668b5ba..5b47dc858 100644 --- a/god/metadata.json +++ b/god/metadata.json @@ -1,29 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures god and provides a define for monitoring", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "god": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "god", + "conflicting": { }, - "name": "god", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "god": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls god gem, sets up modular configuration directory and provides a define to monitor processes.\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian. Sample configuration file uses mongrel_runit for managing mongrels via runit. \n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby\n* runit\n\nOpscode does not yet have a mongrel_runit cookbook.\n\n= ATTRIBUTES: \n\nNo attributes are used.\n\n= USAGE:\n\nThis recipe is designed to be used through the god_monitor define. Create a god configuration file in your application's cookbook and then call god_monitor:\n\n god_monitor \"myproj\" do\n config \"myproj.god.erb\"\n end\n\nA sample mongrel.god.erb is provided, though it assumes mongrel_runit is used. This can be used as a baseline for customization.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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": { @@ -33,11 +44,5 @@ "ruby": [ ] - }, - "providing": { - "god": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls god gem, sets up modular configuration directory and provides a define to monitor processes.\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian. Sample configuration file uses mongrel_runit for managing mongrels via runit. \n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby\n* runit\n\nOpscode does not yet have a mongrel_runit cookbook.\n\n= ATTRIBUTES: \n\nNo attributes are used.\n\n= USAGE:\n\nThis recipe is designed to be used through the god_monitor define. Create a god configuration file in your application's cookbook and then call god_monitor:\n\n god_monitor \"myproj\" do\n config \"myproj.god.erb\"\n end\n\nA sample mongrel.god.erb is provided, though it assumes mongrel_runit is used. This can be used as a baseline for customization.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/god/metadata.rb b/god/metadata.rb index 652cb8cca..0657f8f83 100644 --- a/god/metadata.rb +++ b/god/metadata.rb @@ -5,6 +5,10 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.7" +%w{debian ubuntu}.each do |os| + supports os +end + %w{ ruby runit }.each do |cb| depends cb end diff --git a/hadoop/metadata.json b/hadoop/metadata.json index 6faf083bf..b6f52435a 100644 --- a/hadoop/metadata.json +++ b/hadoop/metadata.json @@ -1,14 +1,19 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs hadoop and sets up basic cluster per Cloudera's quick start docs", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "hadoop::doc": "", "hadoop::pig": "", - "hadoop::hive": "", "hadoop": "", + "hadoop::hive": "", "hadoop::conf_pseudo": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -18,27 +23,13 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { - - }, "name": "hadoop", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { - - }, - "suggestions": { - - }, - "license": "Apache 2.0", "conflicting": { }, - "dependencies": { - "java": [ + "attributes": { - ] }, "providing": { "hadoop::doc": [ @@ -57,5 +48,14 @@ ] }, - "long_description": "= DESCRIPTION:\n\nInstalls Apache hadoop and sets up a basic distributed cluster per the quick start documentation.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, though should work on most Linux distributions, see hadoop[:java_home].\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* java\n\n= ATTRIBUTES: \n\n* hadoop[:mirror_url] - Get a mirror from http:\/\/www.apache.org\/dyn\/closer.cgi\/hadoop\/core\/.\n* hadoop[:version] - Specify the version of hadoop to install.\n* hadoop[:uid] - Default userid of the hadoop user.\n* hadoop[:gid] - Default group for the hadoop user.\n* hadoop[:java_home] - You will probably want to change this to match where Java is installed on your platform.\n\nYou may wish to add more attributes for tuning the configuration file templates.\n\n= USAGE:\n\nThis cookbook performs the tasks described in the Hadoop Quick Start[1] to get the software installed. You should copy this to a site-cookbook and modify the templates to meet your requirements. \n\nOnce the recipe is run, the distributed filesystem can be formated using the script \/usr\/bin\/hadoop. \n\n sudo -u hadoop \/usr\/bin\/hadoop namenode -format\n \nYou may need to set up SSH keys for hadoop management commands. \n\nNote that this is not the 'default' config per se, so using the start-all.sh script won't start the processes because the config files live elsewhere. For running various hadoop processes as services, we suggest runit. A sample 'run' script is provided. The HADOOP_LOG_DIR in the run script must exist for each process. These could be wrapped in a define. \n\n* datanode\n* jobtracker\n* namenode\n* tasktracker\n\n\n[1] http:\/\/hadoop.apache.org\/core\/docs\/current\/quickstart.html\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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." + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls Apache hadoop and sets up a basic distributed cluster per the quick start documentation.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, though should work on most Linux distributions, see hadoop[:java_home].\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* java\n\n= ATTRIBUTES: \n\n* hadoop[:mirror_url] - Get a mirror from http:\/\/www.apache.org\/dyn\/closer.cgi\/hadoop\/core\/.\n* hadoop[:version] - Specify the version of hadoop to install.\n* hadoop[:uid] - Default userid of the hadoop user.\n* hadoop[:gid] - Default group for the hadoop user.\n* hadoop[:java_home] - You will probably want to change this to match where Java is installed on your platform.\n\nYou may wish to add more attributes for tuning the configuration file templates.\n\n= USAGE:\n\nThis cookbook performs the tasks described in the Hadoop Quick Start[1] to get the software installed. You should copy this to a site-cookbook and modify the templates to meet your requirements. \n\nOnce the recipe is run, the distributed filesystem can be formated using the script \/usr\/bin\/hadoop. \n\n sudo -u hadoop \/usr\/bin\/hadoop namenode -format\n \nYou may need to set up SSH keys for hadoop management commands. \n\nNote that this is not the 'default' config per se, so using the start-all.sh script won't start the processes because the config files live elsewhere. For running various hadoop processes as services, we suggest runit. A sample 'run' script is provided. The HADOOP_LOG_DIR in the run script must exist for each process. These could be wrapped in a define. \n\n* datanode\n* jobtracker\n* namenode\n* tasktracker\n\n\n[1] http:\/\/hadoop.apache.org\/core\/docs\/current\/quickstart.html\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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.", + "replacing": { + + }, + "dependencies": { + "java": [ + + ] + } } \ No newline at end of file diff --git a/hadoop/metadata.rb b/hadoop/metadata.rb index 5de39c560..29d7bc42f 100644 --- a/hadoop/metadata.rb +++ b/hadoop/metadata.rb @@ -9,4 +9,3 @@ %w{ debian ubuntu }.each do |os| supports os end - diff --git a/haproxy/metadata.json b/haproxy/metadata.json index 8d9699ffa..77df8ff26 100644 --- a/haproxy/metadata.json +++ b/haproxy/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures haproxy", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "haproxy": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -14,30 +19,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "haproxy", + "conflicting": { }, - "name": "haproxy", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "haproxy": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls haproxy and prepares the configuration location.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\nNo haproxy-specific attributes are used.\n\n= USAGE:\n\nUpdate the haproxy.cfg file with listener(s) for your sites\/servers.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { }, "dependencies": { - }, - "providing": { - "haproxy": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls haproxy and prepares the configuration location.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\nNo haproxy-specific attributes are used.\n\n= USAGE:\n\nUpdate the haproxy.cfg file with listener(s) for your sites\/servers.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/heartbeat/metadata.json b/heartbeat/metadata.json index 79bf9868f..fae9edba0 100644 --- a/heartbeat/metadata.json +++ b/heartbeat/metadata.json @@ -1,40 +1,45 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs but does not configure heartbeat", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "heartbeat": "" }, + "suggestions": { + "drbd": [ + + ] + }, "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "heartbeat", + "conflicting": { }, - "name": "heartbeat", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { - "drbd": [ + "providing": { + "heartbeat": [ ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "heartbeat": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/heartbeat/metadata.rb b/heartbeat/metadata.rb index e3a869e03..f6db20a51 100644 --- a/heartbeat/metadata.rb +++ b/heartbeat/metadata.rb @@ -4,3 +4,7 @@ description "Installs but does not configure heartbeat" version "0.7" suggests "drbd" + +%w{ debian ubuntu }.each do |os| + supports os +end diff --git a/imagemagick/metadata.json b/imagemagick/metadata.json index 534dc1c4b..63253afbe 100644 --- a/imagemagick/metadata.json +++ b/imagemagick/metadata.json @@ -1,11 +1,16 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs\/Configures imagemagick", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "imagemagick::rmagick": "", "imagemagick": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -24,24 +29,12 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { - - }, "name": "imagemagick", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { - - }, - "suggestions": { - - }, - "license": "Apache 2.0", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -52,5 +45,12 @@ ] }, - "long_description": "= DESCRIPTION:\n\nInstalls ImageMagick and optionally Rmagick (RubyGem).\n\n= REQUIREMENTS:\n\nShould work on RHEL and Debian plus derivatives.\n\n= USAGE:\n\nTo install just ImageMagick,\n\n include_recipe \"imagemagick\"\n \nIn your own recipe\/cookbook. To install the RubyGem rmagick,\n\n include_recipe \"imagemagick::rmagick\"\n \nWhich will install imagemagick, as well as the development libraries for imagemagick (so rmagick can be built).\n\n= LICENSE:\n\nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls ImageMagick and optionally Rmagick (RubyGem).\n\n= REQUIREMENTS:\n\nShould work on RHEL and Debian plus derivatives.\n\n= USAGE:\n\nTo install just ImageMagick,\n\n include_recipe \"imagemagick\"\n \nIn your own recipe\/cookbook. To install the RubyGem rmagick,\n\n include_recipe \"imagemagick::rmagick\"\n \nWhich will install imagemagick, as well as the development libraries for imagemagick (so rmagick can be built).\n\n= LICENSE:\n\nAuthor:: Joshua Timberman ()\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", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/iptables/metadata.json b/iptables/metadata.json index e275fa88d..b351efb9b 100644 --- a/iptables/metadata.json +++ b/iptables/metadata.json @@ -1,32 +1,36 @@ { + "maintainer": "Opscode, Inc.", "description": "Sets up iptables to use a script to maintain rules", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "iptables": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "iptables", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "centos": [ - }, - "suggestions": { + ], + "debian": [ + + ], + "redhat": [ + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "iptables", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +38,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/iptables/metadata.rb b/iptables/metadata.rb index e2c8be04c..9166b0dcc 100644 --- a/iptables/metadata.rb +++ b/iptables/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Sets up iptables to use a script to maintain rules" version "0.7" + +%w{ redhat centos debian ubuntu}.each do |os| + supports os +end diff --git a/java/metadata.json b/java/metadata.json index 8dbc0c582..0321b3b5d 100644 --- a/java/metadata.json +++ b/java/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs java", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "java": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -14,30 +19,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "java", + "conflicting": { }, - "name": "java", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "java": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "java": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/jira/metadata.json b/jira/metadata.json index db9969f04..60d52d5f1 100644 --- a/jira/metadata.json +++ b/jira/metadata.json @@ -1,23 +1,31 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures jira", - "replacing": { + "recommendations": { + "mysql": [ + ] }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "jira": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { - "mysql": [ + "platforms": { + "ubuntu": [ + + ], + "debian": [ ] }, + "version": "0.7.0", "name": "jira", - "maintainer_email": "cookbooks@opscode.com", + "conflicting": { + + }, "attributes": { "jira\/database_host": { "default": "localhost", @@ -25,10 +33,10 @@ "multiple_values": false, "description": "Hostname of the database server", "display_name": "Jira Database Host", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/run_user": { "default": "www-data", @@ -36,10 +44,10 @@ "multiple_values": false, "description": "User the Jira instance should run as", "display_name": "Jira Run User", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/version": { "default": "enterprise-3.13.1", @@ -47,10 +55,10 @@ "multiple_values": false, "description": "Version of Jira to download and install", "display_name": "Jira Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/virtual_host_name": { "default": "jira.domain", @@ -58,10 +66,10 @@ "multiple_values": false, "description": "Apache ServerName for Jira virtual host", "display_name": "Jira Virtual Hostname", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/install_path": { "default": "\/srv\/jira", @@ -69,20 +77,20 @@ "multiple_values": false, "description": "Filesystem location for Jira", "display_name": "Jira Install Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira": { "type": "hash", "multiple_values": false, "description": "Hash of Jira attributes", "display_name": "Jira", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/database": { "default": "mysql", @@ -90,10 +98,10 @@ "multiple_values": false, "description": "Type of database Jira should use", "display_name": "Jira Database", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/database_user": { "default": "jira", @@ -101,10 +109,10 @@ "multiple_values": false, "description": "Name of the database user for Jira", "display_name": "Jira Database User", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/virtual_host_alias": { "default": "jira", @@ -112,10 +120,10 @@ "multiple_values": false, "description": "Apache ServerAlias for Jira virtual host", "display_name": "Jira Virtual Hostalias", - "required": false, "recipes": [ - ] + ], + "required": false }, "jira\/database_password": { "default": "change_me", @@ -123,17 +131,20 @@ "multiple_values": false, "description": "Password for the Jira Database User", "display_name": "Jira Database Password", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "jira": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { @@ -146,11 +157,5 @@ "apache2": [ ] - }, - "providing": { - "jira": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/jira/metadata.rb b/jira/metadata.rb index e7da29534..743f27d4e 100644 --- a/jira/metadata.rb +++ b/jira/metadata.rb @@ -5,6 +5,10 @@ version "0.7" recommends "mysql" +%w{ ubuntu debian }.each do |os| + supports os +end + %w{ runit java apache2 }.each do |cb| depends cb end @@ -58,4 +62,3 @@ :display_name => "Jira Database Password", :description => "Password for the Jira Database User", :default => "change_me" - diff --git a/keepalived/metadata.json b/keepalived/metadata.json index 1c939a02b..9caf4a328 100644 --- a/keepalived/metadata.json +++ b/keepalived/metadata.json @@ -1,40 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures keepalived", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "keepalived": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "keepalived", + "conflicting": { }, - "name": "keepalived", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "keepalived": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls keepalived and pushes the configuration file out.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n= ATTRIBUTES: \n\n= USAGE: \n\nModify the sample template to suit your environment and configuration requirements.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { }, "dependencies": { - }, - "providing": { - "keepalived": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls keepalived and pushes the configuration file out.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n= ATTRIBUTES: \n\n= USAGE: \n\nModify the sample template to suit your environment and configuration requirements.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/kickstart/metadata.json b/kickstart/metadata.json index d9aebf77c..e6627a5b3 100644 --- a/kickstart/metadata.json +++ b/kickstart/metadata.json @@ -1,36 +1,32 @@ { + "maintainer": "Opscode", "description": "Installs\/Configures kickstart", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "kickstart::server": "", "kickstart": "" }, - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.2.0", - "recommendations": { + "suggestions": { }, - "name": "kickstart", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + "platforms": { + "centos": [ - }, - "suggestions": { + ], + "redhat": [ + ] }, - "license": "Apache 2.0", + "version": "0.2.0", + "name": "kickstart", "conflicting": { }, - "dependencies": { - "apache2": [ + "attributes": { - ] }, "providing": { "kickstart::server": [ @@ -40,5 +36,14 @@ ] }, - "long_description": "= DESCRIPTION:\n\nCreates an apache vhost and serves a very basic kickstart file.\n\n= REQUIREMENTS:\n\nRed Hat Enterprise Linux, CentOS, or other platforms that support Kickstart :-).\n\nOpscode\/cookbooks:\n\n* apache2\n\n= ATTRIBUTES: \n\n* kickstart[:rootpw] - set the root password. Use an encrypted string[1].\n\n[1] a Ruby way to encrypt:\nhttp:\/\/www.opensourcery.co.za\/2009\/05\/01\/quick-nix-shadow-passwords-with-ruby\/\n\n= USAGE:\n\nYou'll almost certainly want to edit ks.cfg.erb to suit your environment. As is, the provided template is used as a minimal fast install for creating virtual machines to run CentOS 5. Of particular note, the following should definitely be changed:\n\n* url - mirrors.kernel.org is usually fast for me, but maybe not for you.\n* network - change the hostname.\n* rootpw - this is an attribute, so you can change it by modifying the server. Use the encrypted password!\n\nStorage \/ disks should probably be customized, as well as firewall rules, SELinux policy, and the package list.\n\nThe %post section will install Chef via Matthew Kent's RPMs, per the Chef Wiki instructions.\n\nTo use the recipe on a system that will be the kickstart server,\n\n include_recipe \"kickstart::server\"\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nCreates an apache vhost and serves a very basic kickstart file.\n\n= REQUIREMENTS:\n\nRed Hat Enterprise Linux, CentOS, or other platforms that support Kickstart :-).\n\nOpscode\/cookbooks:\n\n* apache2\n\n= ATTRIBUTES: \n\n* kickstart[:rootpw] - set the root password. Use an encrypted string[1].\n\n[1] a Ruby way to encrypt:\nhttp:\/\/www.opensourcery.co.za\/2009\/05\/01\/quick-nix-shadow-passwords-with-ruby\/\n\n= USAGE:\n\nYou'll almost certainly want to edit ks.cfg.erb to suit your environment. As is, the provided template is used as a minimal fast install for creating virtual machines to run CentOS 5. Of particular note, the following should definitely be changed:\n\n* url - mirrors.kernel.org is usually fast for me, but maybe not for you.\n* network - change the hostname.\n* rootpw - this is an attribute, so you can change it by modifying the server. Use the encrypted password!\n\nStorage \/ disks should probably be customized, as well as firewall rules, SELinux policy, and the package list.\n\nThe %post section will install Chef via Matthew Kent's RPMs, per the Chef Wiki instructions.\n\nTo use the recipe on a system that will be the kickstart server,\n\n include_recipe \"kickstart::server\"\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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": { + "apache2": [ + + ] + } } \ No newline at end of file diff --git a/kickstart/metadata.rb b/kickstart/metadata.rb index c51aed9d9..462f87166 100644 --- a/kickstart/metadata.rb +++ b/kickstart/metadata.rb @@ -5,3 +5,5 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.2" depends "apache2" +supports "redhat" +supports "centos" diff --git a/logrotate/metadata.json b/logrotate/metadata.json index 9ae362d14..e20e2b680 100644 --- a/logrotate/metadata.json +++ b/logrotate/metadata.json @@ -1,32 +1,36 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs logrotate", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "logrotate": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "logrotate", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "centos": [ - }, - "suggestions": { + ], + "debian": [ + + ], + "redhat": [ + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "logrotate", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +38,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/logrotate/metadata.rb b/logrotate/metadata.rb index 68b2069ea..7714a295a 100644 --- a/logrotate/metadata.rb +++ b/logrotate/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs logrotate" version "0.7" + +%w{ redhat centos debian ubuntu }.each do |os| + supports os +end diff --git a/logwatch/metadata.json b/logwatch/metadata.json index add716492..67c9e7f05 100644 --- a/logwatch/metadata.json +++ b/logwatch/metadata.json @@ -1,40 +1,51 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs logwatch, a nice log analyzer", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "logwatch": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + + ], + "centos": [ + ], + "debian": [ + + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { + "name": "logwatch", + "conflicting": { }, - "name": "logwatch", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "logwatch": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n", + "replacing": { }, "dependencies": { "perl": [ ] - }, - "providing": { - "logwatch": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n" + } } \ No newline at end of file diff --git a/logwatch/metadata.rb b/logwatch/metadata.rb index 90d005dc9..75301a889 100644 --- a/logwatch/metadata.rb +++ b/logwatch/metadata.rb @@ -6,3 +6,7 @@ version "0.1" depends "perl" + +%w{ redhat centos debian ubuntu }.each do |os| + supports os +end diff --git a/lvm/metadata.json b/lvm/metadata.json index 0c75893ee..8390fb383 100644 --- a/lvm/metadata.json +++ b/lvm/metadata.json @@ -1,32 +1,36 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs lvm2 package", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "lvm": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "lvm", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "centos": [ - }, - "suggestions": { + ], + "debian": [ + + ], + "redhat": [ + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "lvm", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +38,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/lvm/metadata.rb b/lvm/metadata.rb index 2f470cef9..215ed9b76 100644 --- a/lvm/metadata.rb +++ b/lvm/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs lvm2 package" version "0.7" + +%w{ redhat centos debian ubuntu }.each do |os| + supports os +end diff --git a/man/metadata.json b/man/metadata.json index 03c45d11b..ecb50cd8d 100644 --- a/man/metadata.json +++ b/man/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs man-db", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "man": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -14,30 +19,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "man", + "conflicting": { }, - "name": "man", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "man": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "man": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/man/metadata.rb b/man/metadata.rb index e53b48daf..1a3325de1 100644 --- a/man/metadata.rb +++ b/man/metadata.rb @@ -7,4 +7,3 @@ %w{ debian ubuntu }.each do |os| supports os end - diff --git a/maradns/metadata.json b/maradns/metadata.json index 957ec442b..e77294697 100644 --- a/maradns/metadata.json +++ b/maradns/metadata.json @@ -1,21 +1,29 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures maradns", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "maradns": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "maradns", + "conflicting": { }, - "name": "maradns", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "maradns\/recursive_acl": { "default": "", @@ -23,36 +31,33 @@ "multiple_values": false, "description": "Sets the recursive_acl setting in mararc.erb", "display_name": "MaraDNS Recursive ACL", - "required": false, "recipes": [ - ] + ], + "required": false }, "maradns": { "type": "hash", "multiple_values": false, "description": "Hash of MaraDNS attributes", "display_name": "MaraDNS", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "maradns": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "maradns": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/maradns/metadata.rb b/maradns/metadata.rb index d1f2b13cf..2be0026fa 100644 --- a/maradns/metadata.rb +++ b/maradns/metadata.rb @@ -4,6 +4,10 @@ description "Installs and configures maradns" version "0.7" +%w{ ubuntu debian }.each do |os| + supports os +end + attribute "maradns", :display_name => "MaraDNS", :description => "Hash of MaraDNS attributes", diff --git a/memcached/metadata.json b/memcached/metadata.json index ea92a5d84..46321e2ba 100644 --- a/memcached/metadata.json +++ b/memcached/metadata.json @@ -12,7 +12,12 @@ }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, "version": "0.8.0", "name": "memcached", @@ -60,7 +65,7 @@ ] }, "license": "Apache 2.0", - "long_description": "= DESCRIPTION:\n\nInstalls memcached and provides a define to set up an instance of memcache via runit.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10. Uses the memcached package by default. A runit service can be set up for instances using the included define.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* runit\n\n= ATTRIBUTES: \n\nThe following are node attributes passed to the template for the runit service.\n\n* memcached[:memory] - maximum memory for memcached instances.\n* memcached[:user] - user to run memcached as.\n* memcached[:port] - port for memcached to listen on.\n\n= USAGE:\n\nUse the define, memcached_instance, to set up a runit service for the named memcached instance.\n\n memcached_instance \"myproj\" \n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\nAuthor:: Joshua Sierles ()\n\nCopyright:: 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", + "long_description": "= DESCRIPTION:\n\nInstalls memcached and provides a define to set up an instance of memcache via runit.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10-9.10. Uses the memcached init script by default. A runit service can be set up for instances using the included define.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* runit\n\n= ATTRIBUTES: \n\nThe following are node attributes passed to the template for the runit service.\n\n* memcached[:memory] - maximum memory for memcached instances.\n* memcached[:user] - user to run memcached as.\n* memcached[:port] - port for memcached to listen on.\n\n= USAGE:\n\nSimply set the attributes and it will configure the \/etc\/memcached.conf file. If you want to use multiple memcached instances, you'll need to modify the recipe to disable the startup script and the template in the default recipe.\n\nUse the define, memcached_instance, to set up a runit service for the named memcached instance.\n\n memcached_instance \"myproj\" \n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\nAuthor:: Joshua Sierles ()\n\nCopyright:: 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", "replacing": { }, diff --git a/memcached/metadata.rb b/memcached/metadata.rb index 252c4f9e1..bbed5cb52 100644 --- a/memcached/metadata.rb +++ b/memcached/metadata.rb @@ -5,7 +5,9 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.8" depends "runit" - +%w{ ubuntu debian }.each do |os| + supports os +end attribute "memcached/memory", :display_name => "Memcached Memory", :description => "Memory allocated for memcached instance", diff --git a/mercurial/metadata.json b/mercurial/metadata.json index e0c018f42..91e63895b 100644 --- a/mercurial/metadata.json +++ b/mercurial/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs mercurial", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "mercurial": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "mercurial", + "conflicting": { }, - "name": "mercurial", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "mercurial": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "mercurial": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/mercurial/metadata.rb b/mercurial/metadata.rb index d02848a49..646ec9881 100644 --- a/mercurial/metadata.rb +++ b/mercurial/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs mercurial" version "0.7" + +%w{ debian ubuntu }.each do |os| + supports os +end diff --git a/munin/metadata.json b/munin/metadata.json index b4de93749..59c7f69e0 100644 --- a/munin/metadata.json +++ b/munin/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Instsalls and configures munin", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "munin": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "munin", + "conflicting": { }, - "name": "munin", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "munin": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "munin": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/munin/metadata.rb b/munin/metadata.rb index 59d584126..3e9a9054d 100644 --- a/munin/metadata.rb +++ b/munin/metadata.rb @@ -4,3 +4,6 @@ description "Instsalls and configures munin" version "0.7" +%w{ debian ubuntu }.each do |os| + supports os +end diff --git a/mysql/metadata.json b/mysql/metadata.json index 746c005e7..546c68f57 100644 --- a/mysql/metadata.json +++ b/mysql/metadata.json @@ -1,23 +1,31 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures mysql for client or server", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { - "mysql": "", "mysql::client": "Installs packages required for mysql clients using run_action magic", - "mysql::server": "Installs packages required for mysql servers w\/o manual intervention" + "mysql::server": "Installs packages required for mysql servers w\/o manual intervention", + "mysql": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.9.0", - "recommendations": { + "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, + "version": "0.10.0", "name": "mysql", - "maintainer_email": "cookbooks@opscode.com", + "conflicting": { + + }, "attributes": { "mysql\/datadir": { "default": "\/var\/lib\/mysql", @@ -25,10 +33,10 @@ "multiple_values": false, "description": "Location of mysql databases", "display_name": "MySQL Data Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/bind_address": { "default": "ipaddress", @@ -36,40 +44,40 @@ "multiple_values": false, "description": "Address that mysqld should listen on", "display_name": "MySQL Bind Address", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/back_log": { "default": "128", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Back Log", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/wait_timeout": { "default": "180", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Wait Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/table_cache": { "default": "128", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Table Cache", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/ec2_path": { "default": "\/mnt\/mysql", @@ -77,40 +85,40 @@ "multiple_values": false, "description": "Location of mysql directory on EC2 instance EBS volumes", "display_name": "MySQL EC2 Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/net_read_timeout": { "default": "30", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Net Read Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable": { "type": "hash", "multiple_values": false, "description": "Hash of MySQL tunable attributes", "display_name": "MySQL Tunables", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/max_connections": { "default": "800", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Max Connections", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/server_root_password": { "default": "randomly generated", @@ -118,51 +126,41 @@ "multiple_values": false, "description": "Randomly generated password for the mysqld root user", "display_name": "MySQL Server Root Password", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/max_heap_table_size": { "default": "32M", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Max Heap Table Size", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/net_write_timeout": { "default": "30", "type": "string", "multiple_values": false, "display_name": "MySQL Tunable Net Write Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "mysql\/tunable\/key_buffer": { "default": "250M", "type": "string", "multiple_values": false, "display_name": "MySQL Tuntable Key Buffer", - "required": false, "recipes": [ - ] + ], + "required": false } - }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - }, "providing": { "mysql": [ @@ -175,5 +173,12 @@ ] }, - "long_description": "= DESCRIPTION:\n\nInstalls and configures MySQL client or server.\n\n= REQUIREMENTS:\n\n== Platform:\n\nBest tested on Ubuntu 9.04.\n\n= ATTRIBUTES: \n\n* mysql[:server_root_password] - Set the server's root password with this, default is a randomly generated password.\n* mysql[:bind_address] - Listen address for MySQLd, default is node's ipaddress.\n* mysql[:datadir] - Location for mysql data directory, default is \"\/var\/lib\/mysql\" \n* mysql[:ec2_path] - location of mysql datadir on EC2 nodes, default \"\/mnt\/mysql\" \n\nPerformance tuning attributes, each corresponds to the same-named parameter in my.cnf; default values listed\n\n* mysql[:tunable][:key_buffer] = \"250M\"\n* mysql[:tunable][:max_connections] = \"800\" \n* mysql[:tunable][:wait_timeout] = \"180\" \n* mysql[:tunable][:net_write_timeout] = \"30\" \n* mysql[:tunable][:net_write_timeout] = \"30\" \n* mysql[:tunable][:back_log] = \"128\" \n* mysql[:tunable][:table_cache] = \"128\" \n* mysql[:tunable][:max_heap_table_size] = \"32M\" \n\n= USAGE:\n\nOn client nodes,\n\n include_recipe \"mysql::client\"\n \nAs the common use case is on systems with Ruby, we also install the MySQL RubyGem. Because we may want to be able to use the gem within another Chef recipe, we make sure the mysql development package and gem are installed first. The key is this:\n\n r = package ... do\n action :nothing\n end\n \n r.run_action(:install)\n \nThis creates a resource object for the package and does the installation before other recipes are parsed. You'll need to have the C compiler and such (ie, build-essential on Ubuntu) before running the recipes, but we already do that when installing Chef :-). If you want to be able to access a MySQL database via Ruby within another recipe, you could do so, like so:\n\n Gem.clear_paths # needed for Chef to find the gem...\n require 'mysql' # requires the mysql gem\n\n execute \"create #{node[:railsapp][:db][:database]} database\" do\n command \"\/usr\/bin\/mysqladmin -u root -p#{node[:mysql][:server_root_password]} create #{node[:railsapp][:db][:database]}\"\n not_if do\n m = Mysql.new(\"localhost\", \"root\", @node[:mysql][:server_root_password])\n m.list_dbs.include?(@node[:railsapp][:db][:database])\n end\n end\n\nOn server nodes, \n\n include_recipe \"mysql::server\"\n \nOn Debian\/Ubuntu this will preseed the MySQL package with the randomly generated root password. You can of course change the password afterward, but this makes sure that there's a good password set. You can view it in the node data in the Chef Server webui. \n\nOn EC2 nodes, we also look for a mounted filesystem (eg, EBS) and move the datadir there if it exists. \n\nThe client recipe is already included by server and 'default' recipes.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls and configures MySQL client or server.\n\n= REQUIREMENTS:\n\n== Platform:\n\nBest tested on Ubuntu 9.04.\n\n= ATTRIBUTES: \n\n* mysql[:server_root_password] - Set the server's root password with this, default is a randomly generated password.\n* mysql[:bind_address] - Listen address for MySQLd, default is node's ipaddress.\n* mysql[:datadir] - Location for mysql data directory, default is \"\/var\/lib\/mysql\" \n* mysql[:ec2_path] - location of mysql datadir on EC2 nodes, default \"\/mnt\/mysql\" \n\nPerformance tuning attributes, each corresponds to the same-named parameter in my.cnf; default values listed\n\n* mysql[:tunable][:key_buffer] = \"250M\"\n* mysql[:tunable][:max_connections] = \"800\" \n* mysql[:tunable][:wait_timeout] = \"180\" \n* mysql[:tunable][:net_write_timeout] = \"30\" \n* mysql[:tunable][:net_write_timeout] = \"30\" \n* mysql[:tunable][:back_log] = \"128\" \n* mysql[:tunable][:table_cache] = \"128\" \n* mysql[:tunable][:max_heap_table_size] = \"32M\" \n\n= USAGE:\n\nOn client nodes,\n\n include_recipe \"mysql::client\"\n \nAs the common use case is on systems with Ruby, we also install the MySQL RubyGem. Because we may want to be able to use the gem within another Chef recipe, we make sure the mysql development package and gem are installed first. The key is this:\n\n r = package ... do\n action :nothing\n end\n \n r.run_action(:install)\n \nThis creates a resource object for the package and does the installation before other recipes are parsed. You'll need to have the C compiler and such (ie, build-essential on Ubuntu) before running the recipes, but we already do that when installing Chef :-). If you want to be able to access a MySQL database via Ruby within another recipe, you could do so, like so:\n\n Gem.clear_paths # needed for Chef to find the gem...\n require 'mysql' # requires the mysql gem\n\n execute \"create #{node[:railsapp][:db][:database]} database\" do\n command \"\/usr\/bin\/mysqladmin -u root -p#{node[:mysql][:server_root_password]} create #{node[:railsapp][:db][:database]}\"\n not_if do\n m = Mysql.new(\"localhost\", \"root\", @node[:mysql][:server_root_password])\n m.list_dbs.include?(@node[:railsapp][:db][:database])\n end\n end\n\nOn server nodes, \n\n include_recipe \"mysql::server\"\n \nOn Debian\/Ubuntu this will preseed the MySQL package with the randomly generated root password. You can of course change the password afterward, but this makes sure that there's a good password set. You can view it in the node data in the Chef Server webui. \n\nOn EC2 nodes, we also look for a mounted filesystem (eg, EBS) and move the datadir there if it exists. \n\nThe client recipe is already included by server and 'default' recipes.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/mysql/metadata.rb b/mysql/metadata.rb index e0bc9e031..a979e8bf0 100644 --- a/mysql/metadata.rb +++ b/mysql/metadata.rb @@ -7,6 +7,9 @@ recipe "mysql::client", "Installs packages required for mysql clients using run_action magic" recipe "mysql::server", "Installs packages required for mysql servers w/o manual intervention" +%w{ debian ubuntu }.each do |os| + supports os +end attribute "mysql/server_root_password", :display_name => "MySQL Server Root Password", :description => "Randomly generated password for the mysqld root user", diff --git a/nginx/metadata.json b/nginx/metadata.json index c6b83ab2c..cdd709331 100644 --- a/nginx/metadata.json +++ b/nginx/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures nginx", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "nginx": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -14,13 +19,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "nginx", + "conflicting": { }, - "name": "nginx", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "nginx\/user": { "default": "www-data", @@ -28,10 +31,10 @@ "multiple_values": false, "description": "User nginx will run as", "display_name": "Nginx User", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/gzip_types": { "default": [ @@ -48,10 +51,10 @@ "multiple_values": false, "description": "Supported MIME-types for gzip", "display_name": "Nginx Gzip Types", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/gzip_proxied": { "default": "any", @@ -59,10 +62,10 @@ "multiple_values": false, "description": "Whether gzip is proxied", "display_name": "Nginx Gzip Proxied", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/dir": { "default": "\/etc\/nginx", @@ -70,20 +73,20 @@ "multiple_values": false, "description": "Location of nginx configuration files", "display_name": "Nginx Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/keepalive_timeout": { "default": "65", "type": "string", "multiple_values": false, "display_name": "Nginx Keepalive Timeout", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/gzip_comp_level": { "default": "2", @@ -91,10 +94,10 @@ "multiple_values": false, "description": "Amount of compression to use", "display_name": "Nginx Gzip Compression Level", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/binary": { "default": "\/usr\/sbin\/nginx", @@ -102,10 +105,10 @@ "multiple_values": false, "description": "Location of the nginx server binary", "display_name": "Nginx Binary", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/worker_processes": { "default": "1", @@ -113,10 +116,10 @@ "multiple_values": false, "description": "Number of worker processes", "display_name": "Nginx Worker Processes", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/gzip_http_version": { "default": "1.0", @@ -124,20 +127,20 @@ "multiple_values": false, "description": "Version of HTTP Gzip", "display_name": "Nginx Gzip HTTP Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/server_names_hash_bucket_size": { "default": "64", "type": "string", "multiple_values": false, "display_name": "Nginx Server Names Hash Bucket Size", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/log_dir": { "default": "\/var\/log\/nginx", @@ -145,10 +148,10 @@ "multiple_values": false, "description": "Location for nginx logs", "display_name": "Nginx Log Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/keepalive": { "default": "on", @@ -156,10 +159,10 @@ "multiple_values": false, "description": "Whether to enable keepalive", "display_name": "Nginx Keepalive", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/gzip": { "default": "on", @@ -167,10 +170,10 @@ "multiple_values": false, "description": "Whether gzip is enabled", "display_name": "Nginx Gzip", - "required": false, "recipes": [ - ] + ], + "required": false }, "nginx\/worker_connections": { "default": "1024", @@ -178,26 +181,23 @@ "multiple_values": false, "description": "Number of connections per worker", "display_name": "Nginx Worker Connections", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "nginx": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "nginx": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/nscd/metadata.json b/nscd/metadata.json index e1eb66ec9..ff5664bc3 100644 --- a/nscd/metadata.json +++ b/nscd/metadata.json @@ -1,34 +1,38 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures nscd", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "nscd": "" }, - "platforms": { + "suggestions": { + "openldap": [ + ] }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "nscd", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "centos": [ - }, - "suggestions": { - "openldap": [ + ], + "debian": [ + + ], + "redhat": [ ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "nscd", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -36,5 +40,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/nscd/metadata.rb b/nscd/metadata.rb index 9ffef31ab..1d5680565 100644 --- a/nscd/metadata.rb +++ b/nscd/metadata.rb @@ -4,3 +4,6 @@ description "Installs and configures nscd" version "0.7" suggests "openldap" +%w{ redhat centos debian ubuntu }.each do |os| + supports os +end diff --git a/ntp/metadata.json b/ntp/metadata.json index 932f66952..968a44de9 100644 --- a/ntp/metadata.json +++ b/ntp/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures ntp as a client or server", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "ntp": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -23,13 +28,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "ntp", + "conflicting": { }, - "name": "ntp", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "ntp\/servers": { "default": [ @@ -40,10 +43,10 @@ "multiple_values": false, "description": "Array of servers we should talk to", "display_name": "NTP Servers", - "required": false, "recipes": [ - ] + ], + "required": false }, "ntp\/is_server": { "default": "false", @@ -51,10 +54,10 @@ "multiple_values": false, "description": "Set to true if this is an NTP server", "display_name": "NTP Is Server?", - "required": false, "recipes": [ - ] + ], + "required": false }, "ntp\/service": { "default": "ntp", @@ -62,36 +65,33 @@ "multiple_values": false, "description": "Name of the NTP service", "display_name": "NTP Service", - "required": false, "recipes": [ - ] + ], + "required": false }, "ntp": { "type": "hash", "multiple_values": false, "description": "Hash of NTP attributes", "display_name": "NTP", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "ntp": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "ntp": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/openldap/metadata.json b/openldap/metadata.json index 0d7643e51..843d12ac6 100644 --- a/openldap/metadata.json +++ b/openldap/metadata.json @@ -1,13 +1,18 @@ { + "maintainer": "Opscode, Inc.", "description": "Configures a server to be an OpenLDAP master, replication slave or client for auth", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "openldap::auth": "Set up openldap for user authentication", + "openldap": "", "openldap::server": "Set up openldap to be a slapd server", - "openldap::client": "Install openldap client packages", - "openldap": "" + "openldap::client": "Install openldap client packages" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -17,13 +22,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "openldap", + "conflicting": { }, - "name": "openldap", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "openldap\/auth_binddn": { "default": "ou=people,openldap_basedn", @@ -31,10 +34,10 @@ "multiple_values": false, "description": "Used in auth_url and Apache configs, AuthBindDN", "display_name": "OpenLDAP Auth BindDN", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/auth_type": { "default": "openldap", @@ -42,10 +45,10 @@ "multiple_values": false, "description": "Used in Apache configs, AuthBasicProvider", "display_name": "OpenLDAP Auth Type", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/slapd_rid": { "default": "102", @@ -53,10 +56,10 @@ "multiple_values": false, "description": "Slave's ID, must be unique", "display_name": "OpenLDAP Slapd Replication ID", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/server": { "default": "ldap.domain", @@ -64,10 +67,10 @@ "multiple_values": false, "description": "LDAP Server, used for URIs", "display_name": "OpenLDAP Server", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/module_dir": { "default": "\/usr\/lib\/ldap", @@ -75,10 +78,10 @@ "multiple_values": false, "description": "Location for OpenLDAP add-on modules", "display_name": "OpenLDAP Module Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/auth_url": { "default": "ldap:\/\/openldap_server\/openldap_auth_binddn?uid?sub?(objectClass=*)", @@ -86,10 +89,10 @@ "multiple_values": false, "description": "Used in Apache configs, AuthLDAPURL", "display_name": "OpenLDAP Auth URL", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/slapd_replpw": { "default": "nil", @@ -97,10 +100,10 @@ "multiple_values": false, "description": "Password for slaves to replicate from master", "display_name": "OpenLDAP Slapd Replication Password", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/slapd_type": { "default": "nil", @@ -108,10 +111,10 @@ "multiple_values": false, "description": "Whether the server is a master or slave", "display_name": "OpenLDAP Slapd Type", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/run_dir": { "default": "\/var\/run\/slapd", @@ -119,10 +122,10 @@ "multiple_values": false, "description": "Run directory for LDAP server processes", "display_name": "OpenLDAP Run Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/cafile": { "default": "openldap_dir_ssl\/ca.crt", @@ -130,10 +133,10 @@ "multiple_values": false, "description": "Location for CA certificate", "display_name": "OpenLDAP CA File", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/ssl_dir": { "default": "openldap_dir\/ssl", @@ -141,10 +144,10 @@ "multiple_values": false, "description": "Location for LDAP SSL certificates", "display_name": "OpenLDAP SSL Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/auth_bindpw": { "default": "nil", @@ -152,10 +155,10 @@ "multiple_values": false, "description": "Used in Apache configs, AuthBindPassword", "display_name": "OpenLDAP Auth Bind Password", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/slapd_master": { "default": "nil", @@ -163,10 +166,10 @@ "multiple_values": false, "description": "Search nodes for attribute slapd_type master, for slaves", "display_name": "OpenLDP Slapd Master", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/rootpw": { "default": "nil", @@ -174,10 +177,10 @@ "multiple_values": false, "description": "Password for 'admin' root user, should be a SHA hash that OpenLDAP supports", "display_name": "OpenLDAP Root Password", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/basedn": { "default": "dc=domain,dc=com", @@ -185,10 +188,10 @@ "multiple_values": false, "description": "BaseDN for the LDAP directory", "display_name": "OpenLDAP BaseDN", - "required": false, "recipes": [ - ] + ], + "required": false }, "openldap\/dir": { "default": "\/etc\/ldap", @@ -196,27 +199,12 @@ "multiple_values": false, "description": "Main configuration directory for OpenLDAP", "display_name": "OpenLDAP Dir", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - "openssh": [ - - ], - "nscd": [ - - ] - }, "providing": { "openldap::auth": [ @@ -231,5 +219,17 @@ ] }, - "long_description": "= DESCRIPTION:\n\nConfigures a server to be an OpenLDAP master, OpenLDAP replication slave, or OpenLDAP client.\n\n= REQUIREMENTS:\n\n== Platform:\n\nUbuntu 8.10 was primarily used in testing this cookbook. Other Ubuntu versions and Debian may work. CentOS and Red Hat are not fully supported, but we take patches.\n\n== Recipes:\n\n* openssh \n* nscd\n\n= ATTRIBUTES:\n\nBe aware of the attributes used by this cookbook and adjust the defaults for your environment where required, in attributes\/openldap.rb.\n\n== Client node attributes\n\n* openldap[:basedn] - basedn \n* openldap[:server] - the LDAP server fully qualified domain name, default 'ldap'.node[:domain].\n\n== Server node attributes\n\n* openldap[:slapd_type] - master | slave\n* openldap[:slapd_rid] - unique integer ID, required if type is slave.\n* openldap[:slapd_master] - hostname of slapd master, attempts to search for slapd_type master.\n\n== Apache configuration attributes\n\nAttributes useful for Apache authentication with LDAP.\n\nCOOK-128 - set automatically based on openldap[:server] and openldap[:basedn] if those attributes are set. openldap[:auth_bindpw] remains nil by default as a default value is not easily predicted.\n\n* openldap[:auth_type] - determine whether binddn and bindpw are required (openldap no, ad yes)\n* openldap[:auth_url] - AuthLDAPURL\n* openldap[:auth_binddn] - AuthLDAPBindDN\n* openldap[:auth_bindpw] - AuthLDAPBindPassword\n\n= USAGE:\n\nEdit Rakefile variables for SSL certificate.\n\nOn client systems, \n\n include_recipe \"openldap::auth\"\n \nThis will get the required packages and configuration for client systems. This will be required on server systems as well, so this is a good candidate for inclusion in a site-cookbooks\/base.\n\nOn server systems, set the server node attributes in the Chef node, or in a JSON attributes file. Include the openldap::server recipe:\n\n include_recipe \"openldap::server\"\n \nWhen initially installing a brand new LDAP master server on Ubuntu 8.10, the configuration directory may need to be removed and recreated before slapd will start successfully. Doing this programmatically may cause other issues, so fix the directory manually :-).\n\n $ sudo slaptest -F \/etc\/ldap\/slapd.d\n str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38)\n => ldif_enum_tree: failed to read entry for \/etc\/ldap\/slapd.d\/cn=config\/olcDatabase={1}bdb.ldif\n slaptest: bad configuration directory!\n\nSimply remove the configuration, rerun chef-client. For some reason slapd isn't getting started even though the service resource is notified to start, so start it manually. \n\n $ sudo rm -rf \/etc\/ldap\/slapd.d\/ \/etc\/ldap\/slapd.conf\n $ sudo chef-client\n $ sudo \/etc\/init.d\/slapd start\n \n=== A note about certificates\n\nCertificates created by the Rakefile are self signed. If you have a purchased CA, that can be used. Be sure to update the certificate locations in the templates as required. We suggest copying this cookbook to the site-cookbooks for such modifications, so you can still pull from our master for updates, and then merge your changes in.\n \n== NEW DIRECTORY:\n\nIf installing for the first time, the initial directory needs to be created. Create an ldif file, and start populating the directory.\n \n== PASSWORDS:\n\nSet the password, openldap[:rootpw] for the rootdn in the node's attributes. This should be a password hash generated from slappasswd. The default slappasswd command on Ubuntu 8.10 and Mac OS X 10.5 will generate a SHA1 hash:\n\n $ slappasswd -s \"secretsauce\"\n {SSHA}6BjlvtSbVCL88li8IorkqMSofkLio58\/\n \nSet this by default in the attributes file, or on the node's entry in the webui. \n \n== LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nConfigures a server to be an OpenLDAP master, OpenLDAP replication slave, or OpenLDAP client.\n\n= REQUIREMENTS:\n\n== Platform:\n\nUbuntu 8.10 was primarily used in testing this cookbook. Other Ubuntu versions and Debian may work. CentOS and Red Hat are not fully supported, but we take patches.\n\n== Recipes:\n\n* openssh \n* nscd\n\n= ATTRIBUTES:\n\nBe aware of the attributes used by this cookbook and adjust the defaults for your environment where required, in attributes\/openldap.rb.\n\n== Client node attributes\n\n* openldap[:basedn] - basedn \n* openldap[:server] - the LDAP server fully qualified domain name, default 'ldap'.node[:domain].\n\n== Server node attributes\n\n* openldap[:slapd_type] - master | slave\n* openldap[:slapd_rid] - unique integer ID, required if type is slave.\n* openldap[:slapd_master] - hostname of slapd master, attempts to search for slapd_type master.\n\n== Apache configuration attributes\n\nAttributes useful for Apache authentication with LDAP.\n\nCOOK-128 - set automatically based on openldap[:server] and openldap[:basedn] if those attributes are set. openldap[:auth_bindpw] remains nil by default as a default value is not easily predicted.\n\n* openldap[:auth_type] - determine whether binddn and bindpw are required (openldap no, ad yes)\n* openldap[:auth_url] - AuthLDAPURL\n* openldap[:auth_binddn] - AuthLDAPBindDN\n* openldap[:auth_bindpw] - AuthLDAPBindPassword\n\n= USAGE:\n\nEdit Rakefile variables for SSL certificate.\n\nOn client systems, \n\n include_recipe \"openldap::auth\"\n \nThis will get the required packages and configuration for client systems. This will be required on server systems as well, so this is a good candidate for inclusion in a site-cookbooks\/base.\n\nOn server systems, set the server node attributes in the Chef node, or in a JSON attributes file. Include the openldap::server recipe:\n\n include_recipe \"openldap::server\"\n \nWhen initially installing a brand new LDAP master server on Ubuntu 8.10, the configuration directory may need to be removed and recreated before slapd will start successfully. Doing this programmatically may cause other issues, so fix the directory manually :-).\n\n $ sudo slaptest -F \/etc\/ldap\/slapd.d\n str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38)\n => ldif_enum_tree: failed to read entry for \/etc\/ldap\/slapd.d\/cn=config\/olcDatabase={1}bdb.ldif\n slaptest: bad configuration directory!\n\nSimply remove the configuration, rerun chef-client. For some reason slapd isn't getting started even though the service resource is notified to start, so start it manually. \n\n $ sudo rm -rf \/etc\/ldap\/slapd.d\/ \/etc\/ldap\/slapd.conf\n $ sudo chef-client\n $ sudo \/etc\/init.d\/slapd start\n \n=== A note about certificates\n\nCertificates created by the Rakefile are self signed. If you have a purchased CA, that can be used. Be sure to update the certificate locations in the templates as required. We suggest copying this cookbook to the site-cookbooks for such modifications, so you can still pull from our master for updates, and then merge your changes in.\n \n== NEW DIRECTORY:\n\nIf installing for the first time, the initial directory needs to be created. Create an ldif file, and start populating the directory.\n \n== PASSWORDS:\n\nSet the password, openldap[:rootpw] for the rootdn in the node's attributes. This should be a password hash generated from slappasswd. The default slappasswd command on Ubuntu 8.10 and Mac OS X 10.5 will generate a SHA1 hash:\n\n $ slappasswd -s \"secretsauce\"\n {SSHA}6BjlvtSbVCL88li8IorkqMSofkLio58\/\n \nSet this by default in the attributes file, or on the node's entry in the webui. \n \n== LICENSE & AUTHOR:\n\nAuthor:: Joshua Timberman ()\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": { + "openssh": [ + + ], + "nscd": [ + + ] + } } \ No newline at end of file diff --git a/openssh/metadata.json b/openssh/metadata.json index 78ab7314f..7710bb868 100644 --- a/openssh/metadata.json +++ b/openssh/metadata.json @@ -1,32 +1,39 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs openssh", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "openssh": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "openssh", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "fedora": [ - }, - "suggestions": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "openssh", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +41,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/openssh/metadata.rb b/openssh/metadata.rb index bdad8ad08..39894c5a8 100644 --- a/openssh/metadata.rb +++ b/openssh/metadata.rb @@ -4,3 +4,6 @@ description "Installs openssh" version "0.7" +%w{ redhat centos fedora ubuntu debian }.each do |os| + supports os +end diff --git a/openvpn/metadata.json b/openvpn/metadata.json index febc94b1c..ddab7c90a 100644 --- a/openvpn/metadata.json +++ b/openvpn/metadata.json @@ -1,21 +1,38 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures openvpn", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "openvpn": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + + ], + "fedora": [ + ], + "centos": [ + + ], + "debian": [ + + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "openvpn", + "conflicting": { }, - "name": "openvpn", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "openvpn\/proto": { "default": "udp", @@ -23,10 +40,10 @@ "multiple_values": false, "description": "UDP or TCP", "display_name": "OpenVPN Protocol", - "required": false, "recipes": [ - ] + ], + "required": false }, "openvpn\/subnet": { "default": "10.8.0.0", @@ -34,10 +51,10 @@ "multiple_values": false, "description": "Subnet to hand out to clients", "display_name": "OpenVPN Subnet", - "required": false, "recipes": [ - ] + ], + "required": false }, "openvpn\/netmask": { "default": "255.255.0.0", @@ -45,10 +62,10 @@ "multiple_values": false, "description": "Netmask for clients", "display_name": "OpenVPN Netmask", - "required": false, "recipes": [ - ] + ], + "required": false }, "openvpn\/type": { "default": "server", @@ -56,10 +73,10 @@ "multiple_values": false, "description": "Server or server-bridge", "display_name": "OpenVPN Type", - "required": false, "recipes": [ - ] + ], + "required": false }, "openvpn\/local": { "default": "ipaddress", @@ -67,26 +84,23 @@ "multiple_values": false, "description": "Local interface (ip) to listen on", "display_name": "OpenVPN Local", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "openvpn": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls OpenVPN and sets up a fairly basic configuration. Since OpenVPN is very complex, we provide a baseline, but your site will need probably need to customize.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, but should work anywhere that has a package for OpenVPN.\n\n== Cookbooks:\n\nNo other cookbooks are required.\n\n= ATTRIBUTES: \n\nThese attributes are set by the cookbook by default. \n\n* openvpn[:local] - IP to listen on, defaults to node[:ipaddress]\n* openvpn[:proto] - Valid values are 'udp' or 'tcp', defaults to 'udp'.\n* openvpn[:type] - Valid values are 'server' or 'server-bridge'. Default is 'server' and it will create a routed IP tunnel, and use the 'tun' device. 'server-bridge' will create an ethernet bridge and requires a tap0 device bridged with the ethernet interface, and is beyond the scope of the cookbook at this time.\n* openvpn[:subnet] - Used for server mode to configure a VPN subnet to draw client addresses. Default is 10.8.0.0, which is what the sample OpenVPN config package uses.\n* openvpn[:netmask] - Netmask for the subnet, default is 255.255.0.0.\n\n= USAGE:\n\nOpenVPN uses SSL certificates for authentication. We provide a Rakefile to make it easier to set everything up. The rake tasks need to be run before deploying the cookbook so the configured server has the proper certificate files. These tasks wrap around the easy-rsa scripts provided with OpenVPN.\n\nBe sure to edit the 'vars' file, files\/default\/easy-rsa\/vars, to set site-specific SSL certificate parameters.\n\nThis cookbook also provides an 'up' script that runs when OpenVPN is started. This script is for setting up firewall rules and kernel networking parameters as needed for your environment. For example, you'll probably want to enable IP forwarding (sample Linux setting is commented out).\n\n== Server:\n\nUse the rake task from the easy-rsa directory in this cookbook.\n\n cd files\/default\/easy-rsa\n . vars \n rake server\n \nThis will create the certificates in files\/default\/keys.\n\n== Client:\n\nFor security reasons, certificates should be generated on a per-user basis. The client task requires two variables, the username and the VPN gateway hostname.\n\n cd files\/default\/easy-rsa\n . vars\n rake client name=\"username\" gateway=\"vpn_gateway.example.com\"\n \nThis will create a ZIP file, \/tmp\/\"username\".zip. This file should be sent to the user and removed from the server where generated.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { }, "dependencies": { - }, - "providing": { - "openvpn": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls OpenVPN and sets up a fairly basic configuration. Since OpenVPN is very complex, we provide a baseline, but your site will need probably need to customize.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, but should work anywhere that has a package for OpenVPN.\n\n== Cookbooks:\n\nNo other cookbooks are required.\n\n= ATTRIBUTES: \n\nThese attributes are set by the cookbook by default. \n\n* openvpn[:local] - IP to listen on, defaults to node[:ipaddress]\n* openvpn[:proto] - Valid values are 'udp' or 'tcp', defaults to 'udp'.\n* openvpn[:type] - Valid values are 'server' or 'server-bridge'. Default is 'server' and it will create a routed IP tunnel, and use the 'tun' device. 'server-bridge' will create an ethernet bridge and requires a tap0 device bridged with the ethernet interface, and is beyond the scope of the cookbook at this time.\n* openvpn[:subnet] - Used for server mode to configure a VPN subnet to draw client addresses. Default is 10.8.0.0, which is what the sample OpenVPN config package uses.\n* openvpn[:netmask] - Netmask for the subnet, default is 255.255.0.0.\n\n= USAGE:\n\nOpenVPN uses SSL certificates for authentication. We provide a Rakefile to make it easier to set everything up. The rake tasks need to be run before deploying the cookbook so the configured server has the proper certificate files. These tasks wrap around the easy-rsa scripts provided with OpenVPN.\n\nBe sure to edit the 'vars' file, files\/default\/easy-rsa\/vars, to set site-specific SSL certificate parameters.\n\nThis cookbook also provides an 'up' script that runs when OpenVPN is started. This script is for setting up firewall rules and kernel networking parameters as needed for your environment. For example, you'll probably want to enable IP forwarding (sample Linux setting is commented out).\n\n== Server:\n\nUse the rake task from the easy-rsa directory in this cookbook.\n\n cd files\/default\/easy-rsa\n . vars \n rake server\n \nThis will create the certificates in files\/default\/keys.\n\n== Client:\n\nFor security reasons, certificates should be generated on a per-user basis. The client task requires two variables, the username and the VPN gateway hostname.\n\n cd files\/default\/easy-rsa\n . vars\n rake client name=\"username\" gateway=\"vpn_gateway.example.com\"\n \nThis will create a ZIP file, \/tmp\/\"username\".zip. This file should be sent to the user and removed from the server where generated.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/openvpn/metadata.rb b/openvpn/metadata.rb index a0cb97425..b3e6eb74c 100644 --- a/openvpn/metadata.rb +++ b/openvpn/metadata.rb @@ -5,6 +5,10 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.7" +%w{ redhat centos fedora ubuntu debian }.each do |os| + supports os +end + attribute "openvpn/local", :display_name => "OpenVPN Local", :description => "Local interface (ip) to listen on", diff --git a/packages/metadata.json b/packages/metadata.json index b9ea64708..9097403db 100644 --- a/packages/metadata.json +++ b/packages/metadata.json @@ -1,31 +1,39 @@ { + "maintainer": "Opscode, Inc.", "description": "Helper library to determine whether distribution-only packages are installed", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "packages": "" + }, + "suggestions": { + }, "platforms": { + "centos": [ + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "packages", + "conflicting": { }, - "name": "packages", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "packages": { "type": "hash", "multiple_values": false, "description": "Hash of Packages attributes", "display_name": "Packages", - "required": false, "recipes": [ - ] + ], + "required": false }, "packages\/dist_only": { "default": "false", @@ -33,26 +41,23 @@ "multiple_values": false, "description": "Set to only use distribution-provided packages", "display_name": "Packages Distribution Only?", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "packages": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "packages": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/packages/metadata.rb b/packages/metadata.rb index 0c8fd73f7..fe1c62a5d 100644 --- a/packages/metadata.rb +++ b/packages/metadata.rb @@ -4,6 +4,10 @@ description "Helper library to determine whether distribution-only packages are installed" version "0.8" +%w{redhat centos}.each do |os| + supports os +end + attribute "packages", :display_name => "Packages", :description => "Hash of Packages attributes", diff --git a/passenger_apache2/metadata.json b/passenger_apache2/metadata.json index 94248eb3b..b928f63c6 100644 --- a/passenger_apache2/metadata.json +++ b/passenger_apache2/metadata.json @@ -1,11 +1,16 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs passenger for Apache2", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "passenger_apache2": "", "passenger_apache2::mod_rails": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -21,13 +26,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.14.0", - "recommendations": { + "name": "passenger_apache2", + "conflicting": { }, - "name": "passenger_apache2", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "passenger\/module_path": { "default": "passenger_root_path\/ext\/apache2\/mod_passenger.so", @@ -35,10 +38,10 @@ "multiple_values": false, "description": "Location of the compiled Apache module", "display_name": "Passenger Module Path", - "required": false, "recipes": [ - ] + ], + "required": false }, "passenger\/version": { "default": "2.2.5", @@ -46,10 +49,10 @@ "multiple_values": false, "description": "Version of Passenger to install", "display_name": "Passenger Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "passenger\/root_path": { "default": "gem_dir\/gems\/passenger-passenger_version", @@ -57,17 +60,23 @@ "multiple_values": false, "description": "Location of passenger installed gem", "display_name": "Passenger Root Path", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "passenger_apache2": [ + ], + "passenger_apache2::mod_rails": [ + + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls passenger for Rails \/ Rack \/ Merb hosting.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian. May need work to function on CentOS\/Fedora\/RHEL.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby\n* apache2 (web_app)\n* rails\n\n= ATTRIBUTES: \n\n* passenger[:version] - Specify the version of passenger to install.\n* passenger[:root_path] - The location of the passenger gem.\n* passenger[:module_path] - The location of the compiled passenger apache module.\n* passenger[:apache_load_path] - File to use for loading the passenger apache module.\n* passenger[:apache_conf_path] - Additional passenger module configuration.\n\nThe last two are activated with apache_module.\n\n= USAGE:\n\nFor example, to run a Rails application on passenger:\n\n include_recipe \"rails\"\n include_recipe \"passenger\"\n \n web_app \"myproj\" do\n docroot \"\/srv\/myproj\/public\"\n server_name \"myproj.#{node[:domain]}\"\n server_aliases [ \"myproj\", node[:hostname] ]\n rails_env \"production\"\n end\n\nA sample config template is provided, web_app.conf.erb. If this is suitable for your application, add 'cookbook \"passenger\"' to the define above to use that template. Otherwise, copy the template to the cookbook where you're using web_app, and modify as needed. The cookbook parameter is optional, if omitted it will search the cookbook where the define is used.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\nAuthor:: Joshua Sierles ()\nAuthor:: Michael Hale ()\n\nCopyright:: 2009, Opscode, Inc\nCopyright:: 2009, 37signals\nCoprighty:: 2009, Michael Hale\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": { @@ -83,14 +92,5 @@ "ruby": [ ] - }, - "providing": { - "passenger_apache2": [ - - ], - "passenger_apache2::mod_rails": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls passenger for Rails \/ Rack \/ Merb hosting.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian. May need work to function on CentOS\/Fedora\/RHEL.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby\n* apache2 (web_app)\n* rails\n\n= ATTRIBUTES: \n\n* passenger[:version] - Specify the version of passenger to install.\n* passenger[:root_path] - The location of the passenger gem.\n* passenger[:module_path] - The location of the compiled passenger apache module.\n* passenger[:apache_load_path] - File to use for loading the passenger apache module.\n* passenger[:apache_conf_path] - Additional passenger module configuration.\n\nThe last two are activated with apache_module.\n\n= USAGE:\n\nFor example, to run a Rails application on passenger:\n\n include_recipe \"rails\"\n include_recipe \"passenger\"\n \n web_app \"myproj\" do\n docroot \"\/srv\/myproj\/public\"\n server_name \"myproj.#{node[:domain]}\"\n server_aliases [ \"myproj\", node[:hostname] ]\n rails_env \"production\"\n end\n\nA sample config template is provided, web_app.conf.erb. If this is suitable for your application, add 'cookbook \"passenger\"' to the define above to use that template. Otherwise, copy the template to the cookbook where you're using web_app, and modify as needed. The cookbook parameter is optional, if omitted it will search the cookbook where the define is used.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\nAuthor:: Joshua Sierles ()\nAuthor:: Michael Hale ()\n\nCopyright:: 2009, Opscode, Inc\nCopyright:: 2009, 37signals\nCoprighty:: 2009, Michael Hale\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" + } } \ No newline at end of file diff --git a/perl/metadata.json b/perl/metadata.json index 684d6262b..180634ed8 100644 --- a/perl/metadata.json +++ b/perl/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs perl and provides a define for maintaining CPAN modules", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "perl": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -20,30 +25,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "perl", + "conflicting": { }, - "name": "perl", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "perl": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nManages Perl installation and provides cpan_module, to install modules \nfrom... CPAN.\n\n= REQUIREMENTS:\n\nThis cookbook requires at least Ohai 0.3.0 to get the Perl language data:\n\n{\n \"perl\": {\n \"version\": \"5.10.0\",\n \"archname\": \"x86_64-linux-gnu-thread-multi\"\n }\n}\n\nTested with Perl 5.8.8 and 5.10.0.\n\n= USAGE:\n\nTo install a module from CPAN:\n\n cpan_module \"App::Munchies\"\n\nOptionally, installation can forced with the 'force' parameter.\n\n cpan_module \"App::Munchies\"\n force true\n end\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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\n", + "replacing": { }, "dependencies": { - }, - "providing": { - "perl": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nManages Perl installation and provides cpan_module, to install modules \nfrom... CPAN.\n\n= REQUIREMENTS:\n\nThis cookbook requires at least Ohai 0.3.0 to get the Perl language data:\n\n{\n \"perl\": {\n \"version\": \"5.10.0\",\n \"archname\": \"x86_64-linux-gnu-thread-multi\"\n }\n}\n\nTested with Perl 5.8.8 and 5.10.0.\n\n= USAGE:\n\nTo install a module from CPAN:\n\n cpan_module \"App::Munchies\"\n\nOptionally, installation can forced with the 'force' parameter.\n\n cpan_module \"App::Munchies\"\n force true\n end\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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\n" + } } \ No newline at end of file diff --git a/perl/metadata.rb b/perl/metadata.rb index d114f8e47..c50520c45 100644 --- a/perl/metadata.rb +++ b/perl/metadata.rb @@ -8,4 +8,3 @@ %w{ ubuntu debian centos redhat }.each do |os| supports os end - diff --git a/php/metadata.json b/php/metadata.json index 4347b143b..47a00e487 100644 --- a/php/metadata.json +++ b/php/metadata.json @@ -1,49 +1,45 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and maintains php and php modules", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "php::module_fpdf": "Install the php-fpdf package", "php::php5-cgi": "Install the php5-cgi package", "php::module_sqlite3": "Install the php5-sqlite3 package", "php::module_gd": "Install the php5-gd package", "php::module_ldap": "Install the php5-ldap package", + "php": "", "php::module_curl": "Install the php5-curl package", "php::module_mysql": "Install the php5-mysql package", "php::module_apc": "Install the php5-apc package", "php::pear": "Install the php-pear package", "php::module_memcache": "Install the php5-memcache package", "php::php4": "Install packages for PHP version 4", - "php": "", "php::module_fileinfo": "Install the php5-fileinfo package", "php::module_pgsql": "Install the php5-pgsql packag", "php::php5": "Install php5 packages and php.ini config file" }, - "platforms": { - - }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "suggestions": { }, - "name": "php", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + "platforms": { + "ubuntu": [ - }, - "suggestions": { + ], + "debian": [ + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "php", "conflicting": { }, - "dependencies": { - "apache2": [ + "attributes": { - ] }, "providing": { "php::module_fpdf": [ @@ -92,5 +88,14 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + "apache2": [ + + ] + } } \ No newline at end of file diff --git a/php/metadata.rb b/php/metadata.rb index a8d1c3c5a..7e592dc4e 100644 --- a/php/metadata.rb +++ b/php/metadata.rb @@ -19,3 +19,6 @@ recipe "php::php5-cgi", "Install the php5-cgi package" recipe "php::php5", "Install php5 packages and php.ini config file" +%w{ubuntu debian}.each do |os| + supports os +end diff --git a/postfix/metadata.json b/postfix/metadata.json index 1ef3f8f59..961ec2880 100644 --- a/postfix/metadata.json +++ b/postfix/metadata.json @@ -1,22 +1,30 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "postfix": "", "postfix::sasl_auth": "Set up postfix to auth to a server with sasl" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "postfix", + "conflicting": { }, - "name": "postfix", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "postfix\/smtp_sasl_password_maps": { "default": "hash:\/etc\/postfix\/sasl_passwd", @@ -24,10 +32,10 @@ "multiple_values": false, "description": "hashmap of SASL passwords", "display_name": "Postfix SMTP SASL Password Maps", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_sasl_security_options": { "default": "noanonymous", @@ -35,10 +43,10 @@ "multiple_values": false, "description": "Sets the value of smtp_sasl_security_options in main.cf", "display_name": "Postfix SMTP SASL Security Options", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/mail_relay_networks": { "default": "127.0.0.0\/8", @@ -46,10 +54,10 @@ "multiple_values": false, "description": "Sets the mynetworks value in main.cf", "display_name": "Postfix Mail Relay Networks", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/myorigin": { "default": "$myhostname", @@ -57,10 +65,10 @@ "multiple_values": false, "description": "Sets the myorigin value in main.cf", "display_name": "Postfix Myorigin", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/myhostname": { "default": "fqdn", @@ -68,10 +76,10 @@ "multiple_values": false, "description": "Sets the myhostname value in main.cf", "display_name": "Postfix Myhostname", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_sasl_user_name": { "default": "", @@ -79,10 +87,10 @@ "multiple_values": false, "description": "User to auth SMTP via SASL", "display_name": "Postfix SMTP SASL Username", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_tls_cafile": { "default": "\/etc\/postfix\/cacert.pem", @@ -90,10 +98,10 @@ "multiple_values": false, "description": "CA certificate file for SMTP over TLS", "display_name": "Postfix SMTP TLS CA File", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_sasl_passwd": { "default": "", @@ -101,10 +109,10 @@ "multiple_values": false, "description": "Password for smtp_sasl_user_name", "display_name": "Postfix SMTP SASL Password", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/mail_type": { "default": "client", @@ -112,10 +120,10 @@ "multiple_values": false, "description": "Is this node a client or server?", "display_name": "Postfix Mail Type", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_use_tls": { "default": "yes", @@ -123,10 +131,10 @@ "multiple_values": false, "description": "Whether SMTP SASL Auth should use TLS encryption", "display_name": "Postfix SMTP Use TLS?", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/relayhost": { "default": "", @@ -134,10 +142,10 @@ "multiple_values": false, "description": "Sets the relayhost value in main.cf", "display_name": "Postfix Relayhost", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/smtp_sasl_auth_enable": { "default": "no", @@ -145,10 +153,10 @@ "multiple_values": false, "description": "Enable SMTP SASL Authentication", "display_name": "Postfix SMTP SASL Auth Enable", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix\/mydomain": { "default": "domain", @@ -156,31 +164,21 @@ "multiple_values": false, "description": "Sets the mydomain value in main.cf", "display_name": "Postfix Mydomain", - "required": false, "recipes": [ - ] + ], + "required": false }, "postfix": { "type": "hash", "multiple_values": false, "description": "Hash of Postfix attributes", "display_name": "Postfix", - "required": false, "recipes": [ - ] + ], + "required": false } - }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - }, "providing": { "postfix::sasl_auth": [ @@ -190,5 +188,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/postfix/metadata.rb b/postfix/metadata.rb index a9f3867a5..18d8032cd 100644 --- a/postfix/metadata.rb +++ b/postfix/metadata.rb @@ -5,6 +5,10 @@ version "0.7" recipe "postfix::sasl_auth", "Set up postfix to auth to a server with sasl" +%w{ubuntu debian}.each do |os| + supports os +end + attribute "postfix", :display_name => "Postfix", :description => "Hash of Postfix attributes", diff --git a/postgresql/metadata.json b/postgresql/metadata.json index c337d125f..2cfeee6bd 100644 --- a/postgresql/metadata.json +++ b/postgresql/metadata.json @@ -1,12 +1,17 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures postgresql for clients or servers", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { - "postgresql": "", "postgresql::server": "Installs postgresql server packages, templates", - "postgresql::client": "Installs postgresql client package(s)" + "postgresql::client": "Installs postgresql client package(s)", + "postgresql": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -17,15 +22,16 @@ ], "centos": [ + ], + "debian": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "postgresql", + "conflicting": { }, - "name": "postgresql", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "postgresql\/dir": { "default": "\/etc\/postgresql\/8.3\/main", @@ -33,21 +39,11 @@ "multiple_values": false, "description": "Location of the PostgreSQL databases", "display_name": "PostgreSQL Directory", - "required": false, "recipes": [ - ] + ], + "required": false } - }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - }, "providing": { "postgresql::server": [ @@ -60,5 +56,12 @@ ] }, - "long_description": "= DESCRIPTION:\n\nInstalls and configures postgresql client or server.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, but adapted from Red Hat Enterprise 5.0 based recipes.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* postgresql[:dir] - configuration file location.\n\n= USAGE:\n\nFor clients:\n\n include_recipe \"postgresql::client\"\n \nFor server: \n\n include_recipe \"postgresql::server\"\n \n(client is already included by server)\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls and configures postgresql client or server.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, but adapted from Red Hat Enterprise 5.0 based recipes.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* postgresql[:dir] - configuration file location.\n\n= USAGE:\n\nFor clients:\n\n include_recipe \"postgresql::client\"\n \nFor server: \n\n include_recipe \"postgresql::server\"\n \n(client is already included by server)\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/postgresql/metadata.rb b/postgresql/metadata.rb index 634b8ac1d..47219115f 100644 --- a/postgresql/metadata.rb +++ b/postgresql/metadata.rb @@ -7,7 +7,7 @@ recipe "postgresql::client", "Installs postgresql client package(s)" recipe "postgresql::server", "Installs postgresql server packages, templates" -%w{rhel centos ubuntu}.each do |os| +%w{rhel centos ubuntu debian}.each do |os| supports os end diff --git a/python/metadata.json b/python/metadata.json index a485534eb..b34acf8c4 100644 --- a/python/metadata.json +++ b/python/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs python packages", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "python": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "python", + "conflicting": { }, - "name": "python", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "python": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "python": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/python/metadata.rb b/python/metadata.rb index b07b3b650..d13405255 100644 --- a/python/metadata.rb +++ b/python/metadata.rb @@ -4,3 +4,6 @@ description "Installs python packages" version "0.7" +%w{ debian ubuntu }.each do |os| + supports os +end diff --git a/quick_start/metadata.json b/quick_start/metadata.json index 5c1c42357..03ef2c38c 100644 --- a/quick_start/metadata.json +++ b/quick_start/metadata.json @@ -1,21 +1,50 @@ { + "maintainer": "Opscode, Inc.", "description": "Example cookbook for quick_start wiki document", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "quick_start": "" + }, + "suggestions": { + }, "platforms": { + "solaris": [ + + ], + "freebsd": [ + + ], + "ubuntu": [ + ], + "openbsd": [ + + ], + "fedora": [ + + ], + "macosx": [ + + ], + "centos": [ + + ], + "debian": [ + + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "quick_start", + "conflicting": { }, - "name": "quick_start", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "quick_start\/deep_thought": { "default": "If a tree falls in the forest...", @@ -23,26 +52,23 @@ "multiple_values": false, "description": "A deep thought", "display_name": "Quick Start Deep Thought", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "quick_start": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "quick_start": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/quick_start/metadata.rb b/quick_start/metadata.rb index 318dac25f..e74eedba0 100644 --- a/quick_start/metadata.rb +++ b/quick_start/metadata.rb @@ -4,6 +4,15 @@ description "Example cookbook for quick_start wiki document" version "0.7" +%w{ + redhat fedora centos + ubuntu debian + macosx freebsd openbsd + solaris +}.each do |os| + supports os +end + attribute "quick_start/deep_thought", :display_name => "Quick Start Deep Thought", :description => "A deep thought", diff --git a/radiant/metadata.json b/radiant/metadata.json index 3bce1ebf0..4ff6fcdb9 100644 --- a/radiant/metadata.json +++ b/radiant/metadata.json @@ -1,21 +1,29 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs radiant from Git repository", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "radiant": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.8.0", - "recommendations": { + "platforms": { + "ubuntu": [ + + ], + "debian": [ + ] }, + "version": "0.9.0", "name": "radiant", - "maintainer_email": "cookbooks@opscode.com", + "conflicting": { + + }, "attributes": { "radiant\/action": { "default": "nothing", @@ -23,10 +31,10 @@ "multiple_values": false, "description": "Whether to deploy the application or not", "display_name": "Radiant Action", - "required": false, "recipes": [ - ] + ], + "required": false }, "radiant\/revision": { "default": "HEAD", @@ -34,10 +42,10 @@ "multiple_values": false, "description": "Revision to use from Git", "display_name": "Radiant Revision", - "required": false, "recipes": [ - ] + ], + "required": false }, "radiant\/environment": { "default": "production", @@ -45,10 +53,10 @@ "multiple_values": false, "description": "Rails environment to use", "display_name": "Radiant Environment", - "required": false, "recipes": [ - ] + ], + "required": false }, "radiant\/migrate_command": { "default": "rake db:migrate", @@ -56,10 +64,10 @@ "multiple_values": false, "description": "Command to perform migration", "display_name": "Radiant Migrate Command", - "required": false, "recipes": [ - ] + ], + "required": false }, "radiant\/migrate": { "default": "false", @@ -67,10 +75,10 @@ "multiple_values": false, "description": "Whether to do a migration", "display_name": "Radiant Migrate", - "required": false, "recipes": [ - ] + ], + "required": false }, "radiant\/branch": { "default": "HEAD", @@ -78,17 +86,20 @@ "multiple_values": false, "description": "Branch from Git to use", "display_name": "Radiant Branch", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "radiant": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls RadiantCMS, a Ruby on Rails content management system.\n\n= CHANGELOG:\n\nChanges to note in this version (from COOK-117).\n\n* added gem install capabilities\n* default to gem install\n* removed dependency on ezmobius\/chef-deploy (use deploy provider instead)\n* fixed tiny error in attributes.\n* updated attribute syntax\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 9.04, uses the Opscode Apache2 cookbook which is Ubuntu\/Debian specific.\n\nRequires Chef 0.7.12 for Deploy resource when installing from Radiant's git repo.\n\n== Cookbooks:\n\nOpscode cookbooks (http:\/\/github.com\/opscode\/cookbooks\/tree\/master)\n\n* git\n* sqlite\n* rails\n* apache2\n\n= ATTRIBUTES:\n\n* radiant[:edge] - Do a deploy from github repo if true, use gems if false, default false.\n* radiant[:branch] - Branch to deploy from, default HEAD.\n* radiant[:migrate] - Whether to do a database migration, default false.\n* radiant[:migrate_command] - Command to do a database migration, default 'rake db:migrate'.\n* radiant[:environment] - Rails environment to use, default is production.\n* radiant[:revision] - Revision to deploy, default HEAD.\n* radiant[:action] - Whether to deploy, rollback or nothing, default nothing.\n\n= USAGE:\n\nThis recipe uses SQLite3 for the database by default. To set up the default database to get Radiant rolling, run a db:bootstrap by changing the radiant[:migrate] command to the following in the webui:\n\n yes | rake production db:bootstrap \\\n ADMIN_NAME=Administrator \\\n ADMIN_USERNAME=admin \\\n ADMIN_PASSWORD=radiant \\\n DATABASE_TEMPLATE=empty.yml\n\nChange as required for your environment. If the target system doesn't have \/usr\/bin\/yes, use echo 'yes' instead.\n\nRadiant supports other database backends. We don't yet have automation ready to set up a database user and grant privileges, or creating the database itself.\n\n= LICENSE and AUTHOR:\n\n\nAuthor:: Joshua Timberman ()\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\n\n", + "replacing": { }, "dependencies": { @@ -110,11 +121,5 @@ "apache2": [ ] - }, - "providing": { - "radiant": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls RadiantCMS, a Ruby on Rails content management system.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 9.04, uses the Opscode Apache2 cookbook which is Ubuntu\/Debian specific.\n\nRequires Ezra Zygmuntowicz's chef-deploy library to do the deployment within Chef. You can install it by:\n\n sudo gem install --source http:\/\/gems.engineyard.com\/ chef-deploy\n\n== Cookbooks:\n\nOpscode cookbooks (http:\/\/github.com\/opscode\/cookbooks\/tree\/master)\n\n* git\n* sqlite\n* rails\n* apache2\n\n= ATTRIBUTES: \n\n* radiant[:branch] - Branch to deploy from, default HEAD.\n* radiant[:migrate] - Whether to do a database migration, default false.\n* radiant[:migrate_command] - Command to do a database migration, default 'rake db:migrate'.\n* radiant[:environment] - Rails environment to use, default is production.\n* radiant[:revision] - Revision to deploy, default HEAD.\n* radiant[:action] - Whether to deploy, rollback or nothing, default nothing.\n\n= USAGE:\n\nThis recipe uses SQLite3 for the database by default. To set up the default database to get Radiant rolling, run a db:bootstrap by changing the radiant[:migrate] command to the following in the webui:\n\n yes | rake production db:bootstrap \\\n ADMIN_NAME=Administrator \\\n ADMIN_USERNAME=admin \\\n ADMIN_PASSWORD=radiant \\\n DATABASE_TEMPLATE=empty.yml\n\nChange as required for your environment. If the target system doesn't have \/usr\/bin\/yes, use echo 'yes' instead.\n\nRadiant supports other database backends. We don't yet have automation ready to set up a database user and grant privileges, or creating the database itself.\n\n= LICENSE and AUTHOR:\n\n\nAuthor:: Joshua Timberman ()\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\n\n" + } } \ No newline at end of file diff --git a/radiant/metadata.rb b/radiant/metadata.rb index 622996623..fcbd0094d 100644 --- a/radiant/metadata.rb +++ b/radiant/metadata.rb @@ -9,6 +9,10 @@ depends cb end +%w{ ubuntu debian }.each do |os| + supports os +end + attribute "radiant/branch", :display_name => "Radiant Branch", :description => "Branch from Git to use", diff --git a/rails/metadata.json b/rails/metadata.json index 8bfc1e1f6..ae78d6c6d 100644 --- a/rails/metadata.json +++ b/rails/metadata.json @@ -1,31 +1,48 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs rails and provides a sample template for use with passenger", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "rails": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + + ], + "fedora": [ + ], + "centos": [ + + ], + "redhat": [ + + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "rails", + "conflicting": { }, - "name": "rails", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "rails": { "type": "hash", "multiple_values": false, "description": "Hash of Rails attributes", "display_name": "Rails", - "required": false, "recipes": [ - ] + ], + "required": false }, "rails\/version": { "default": "false", @@ -33,10 +50,10 @@ "multiple_values": false, "description": "Specify the version of Rails to install", "display_name": "Rails Version", - "required": false, "recipes": [ - ] + ], + "required": false }, "rails\/max_pool_size": { "default": "4", @@ -44,10 +61,10 @@ "multiple_values": false, "description": "Specify the MaxPoolSize in the Apache vhost", "display_name": "Rails Max Pool Size", - "required": false, "recipes": [ - ] + ], + "required": false }, "rails\/environment": { "default": "production", @@ -55,17 +72,20 @@ "multiple_values": false, "description": "Specify the environment to use for Rails", "display_name": "Rails Environment", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "rails": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls Rails and contains Rails tuning parameters.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, should work on other platforms.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby \n* apache2 \n* passenger \n\n= ATTRIBUTES: \n\n* rails[:version] - Install the specified version. Default false (installs latest).\n* rails[:environment] - Set Rails environment. Default production.\n\n= USAGE:\n\nThe recommended Rails application deployment method is Passenger and use the Apache2 cookbook's web_app define.\n\n include_recipe \"apache2\"\n include_recipe \"passenger\"\n include_recipe \"rails\"\n\n web_app \"some_rails_app\" do\n docroot \"\/srv\/some_rails_app\/public\"\n template \"some_rails_app.conf.erb\"\n end\n\nWe provide an example rails application vhost config file in this cookbook. Remember, for Passenger, DocumentRoot (docroot) needs 'public'. Per the web_app define, other parameters can be passed arbitrarily and used in the template. \n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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": { @@ -75,11 +95,5 @@ "ruby": [ ] - }, - "providing": { - "rails": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls Rails and contains Rails tuning parameters.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10, should work on other platforms.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* ruby \n* apache2 \n* passenger \n\n= ATTRIBUTES: \n\n* rails[:version] - Install the specified version. Default false (installs latest).\n* rails[:environment] - Set Rails environment. Default production.\n\n= USAGE:\n\nThe recommended Rails application deployment method is Passenger and use the Apache2 cookbook's web_app define.\n\n include_recipe \"apache2\"\n include_recipe \"passenger\"\n include_recipe \"rails\"\n\n web_app \"some_rails_app\" do\n docroot \"\/srv\/some_rails_app\/public\"\n template \"some_rails_app.conf.erb\"\n end\n\nWe provide an example rails application vhost config file in this cookbook. Remember, for Passenger, DocumentRoot (docroot) needs 'public'. Per the web_app define, other parameters can be passed arbitrarily and used in the template. \n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/rails/metadata.rb b/rails/metadata.rb index 31eb57abc..75112e4c4 100644 --- a/rails/metadata.rb +++ b/rails/metadata.rb @@ -9,6 +9,10 @@ depends cb end +%w{ ubuntu debian centos redhat fedora}.each do |os| + supports os +end + attribute "rails", :display_name => "Rails", :description => "Hash of Rails attributes", diff --git a/redmine/metadata.json b/redmine/metadata.json index ff0e1945e..75f89082d 100644 --- a/redmine/metadata.json +++ b/redmine/metadata.json @@ -1,29 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures redmine as a Rails app in passenger+apache2", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "redmine": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "redmine", + "conflicting": { }, - "name": "redmine", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "redmine": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { @@ -42,11 +53,5 @@ "apache2": [ ] - }, - "providing": { - "redmine": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/redmine/metadata.rb b/redmine/metadata.rb index d4f8a1baa..30b16a169 100644 --- a/redmine/metadata.rb +++ b/redmine/metadata.rb @@ -7,3 +7,7 @@ %w{ apache2 rails passenger_apache2 mysql sqlite }.each do |cb| depends cb end + +%w{ ubuntu debian }.each do |os| + supports os +end diff --git a/resolver/metadata.json b/resolver/metadata.json index 7f65d6b73..a6daae408 100644 --- a/resolver/metadata.json +++ b/resolver/metadata.json @@ -1,21 +1,47 @@ { + "maintainer": "Opscode, Inc.", "description": "Configures \/etc\/resolv.conf", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "resolver": "" + }, + "suggestions": { + }, "platforms": { + "freebsd": [ + + ], + "ubuntu": [ + + ], + "openbsd": [ + ], + "fedora": [ + + ], + "macosx": [ + + ], + "centos": [ + + ], + "redhat": [ + + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "resolver", + "conflicting": { }, - "name": "resolver", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "resolver\/nameservers": { "default": [ @@ -25,20 +51,20 @@ "multiple_values": false, "description": "Default nameservers", "display_name": "Resolver Nameservers", - "required": false, "recipes": [ - ] + ], + "required": false }, "resolver": { "type": "hash", "multiple_values": false, "description": "Hash of Resolver attributes", "display_name": "Resolver", - "required": false, "recipes": [ - ] + ], + "required": false }, "resolver\/search": { "default": "domain", @@ -46,26 +72,23 @@ "multiple_values": false, "description": "Default domain to search", "display_name": "Resolver Search", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "resolver": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "resolver": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/resolver/metadata.rb b/resolver/metadata.rb index 61f28ee31..02fa1467c 100644 --- a/resolver/metadata.rb +++ b/resolver/metadata.rb @@ -4,6 +4,10 @@ description "Configures /etc/resolv.conf" version "0.7" +%w{ ubuntu debian fedora centos redhat freebsd openbsd macosx }.each do |os| + supports os +end + attribute "resolver", :display_name => "Resolver", :description => "Hash of Resolver attributes", diff --git a/rsync/metadata.json b/rsync/metadata.json index 40058d5c5..208a073a7 100644 --- a/rsync/metadata.json +++ b/rsync/metadata.json @@ -1,32 +1,39 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs rsync", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "rsync": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "rsync", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "fedora": [ - }, - "suggestions": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "rsync", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +41,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/rsync/metadata.rb b/rsync/metadata.rb index a7d3fe36b..9d2c3f183 100644 --- a/rsync/metadata.rb +++ b/rsync/metadata.rb @@ -4,3 +4,6 @@ description "Installs rsync" version "0.7" +%w{ centos fedora redhat ubuntu debian }.each do |os| + supports os +end diff --git a/rsyslog/metadata.json b/rsyslog/metadata.json index 378e2a971..ddbc671aa 100644 --- a/rsyslog/metadata.json +++ b/rsyslog/metadata.json @@ -1,23 +1,31 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures rsyslog", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "rsyslog::server": "Sets up an rsyslog server", - "rsyslog": "", - "rsyslog::client": "Sets up a client to log to a remote rsyslog server" + "rsyslog::client": "Sets up a client to log to a remote rsyslog server", + "rsyslog": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", + "platforms": { + "ubuntu": [ + ">= 8.10" + ], + "debian": [ + ">= 5.0" + ] + }, "version": "0.7.0", - "recommendations": { + "name": "rsyslog", + "conflicting": { }, - "name": "rsyslog", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "rsyslog\/protocol": { "default": "tcp", @@ -25,20 +33,20 @@ "multiple_values": false, "description": "Set which network protocol to use for rsyslog", "display_name": "Rsyslog Protocol", - "required": false, "recipes": [ - ] + ], + "required": false }, "rsyslog": { "type": "hash", "multiple_values": false, "description": "Hash of Rsyslog attributes", "display_name": "Rsyslog", - "required": false, "recipes": [ - ] + ], + "required": false }, "rsyslog\/log_dir": { "default": "\/srv\/rsyslog", @@ -46,10 +54,10 @@ "multiple_values": false, "description": "Filesystem location of logs from clients", "display_name": "Rsyslog Log Directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "rsyslog\/server": { "default": "false", @@ -57,21 +65,11 @@ "multiple_values": false, "description": "Is this node an rsyslog server?", "display_name": "Rsyslog Server?", - "required": false, "recipes": [ - ] + ], + "required": false } - }, - "suggestions": { - - }, - "license": "Apache 2.0", - "conflicting": { - - }, - "dependencies": { - }, "providing": { "rsyslog::server": [ @@ -84,5 +82,12 @@ ] }, - "long_description": "= DESCRIPTION:\n\nInstalls rsyslog to replace sysklogd for client and\/or server use. By default, server will be set up to log to files.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* rsyslog[:log_dir] - specify the directory to store logs (applicable to server only)\n* rsyslog[:server] - specify the remote rsyslog server.\n* rsyslog[:protocol] - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\n= USAGE:\n\nTo replace the sysklogd syslog service with rsyslog:\n\n include_recipe \"rsyslog\"\n \nTo set up a client with a remote [r]syslog server:\n\n include_recipe \"rsyslog::client\"\n \nBy default, this cookbook will use TCP so the server should be configured for TCP. This can be done easily with the server recipe:\n\n include_recipe \"rsyslog::server\"\n\nTo switch to UDP, change the rsyslog[:protocol] attribute. Note this needs to be done on each client as well.\n\nAlso, the server configuration will set up log_dir for each client, by date. Structure:\n\n <%= @log_dir %>\/YEAR\/MONTH\/DAY\/HOSTNAME\/\"logfile\"\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls rsyslog to replace sysklogd for client and\/or server use. By default, server will be set up to log to files.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* rsyslog[:log_dir] - specify the directory to store logs (applicable to server only)\n* rsyslog[:server] - specify the remote rsyslog server.\n* rsyslog[:protocol] - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\n= USAGE:\n\nTo replace the sysklogd syslog service with rsyslog:\n\n include_recipe \"rsyslog\"\n \nTo set up a client with a remote [r]syslog server:\n\n include_recipe \"rsyslog::client\"\n \nBy default, this cookbook will use TCP so the server should be configured for TCP. This can be done easily with the server recipe:\n\n include_recipe \"rsyslog::server\"\n\nTo switch to UDP, change the rsyslog[:protocol] attribute. Note this needs to be done on each client as well.\n\nAlso, the server configuration will set up log_dir for each client, by date. Structure:\n\n <%= @log_dir %>\/YEAR\/MONTH\/DAY\/HOSTNAME\/\"logfile\"\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/rsyslog/metadata.rb b/rsyslog/metadata.rb index cf99ee423..50b4bbdce 100644 --- a/rsyslog/metadata.rb +++ b/rsyslog/metadata.rb @@ -7,6 +7,9 @@ recipe "rsyslog::client", "Sets up a client to log to a remote rsyslog server" recipe "rsyslog::server", "Sets up an rsyslog server" +supports "ubuntu", ">= 8.10" +supports "debian", ">= 5.0" + attribute "rsyslog", :display_name => "Rsyslog", :description => "Hash of Rsyslog attributes", diff --git a/ruby/metadata.json b/ruby/metadata.json index 53d03499e..e5e6eed7e 100644 --- a/ruby/metadata.json +++ b/ruby/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs ruby packages", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "ruby": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -23,30 +28,25 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "ruby", + "conflicting": { }, - "name": "ruby", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "ruby": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "ruby": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/ruby/metadata.rb b/ruby/metadata.rb index ccf9269f5..45889d459 100644 --- a/ruby/metadata.rb +++ b/ruby/metadata.rb @@ -7,4 +7,3 @@ %w{ centos redhat fedora ubuntu debian }.each do |os| supports os end - diff --git a/runit/metadata.json b/runit/metadata.json index 07b8df88a..2b3a13edc 100644 --- a/runit/metadata.json +++ b/runit/metadata.json @@ -1,10 +1,15 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs runit and provides runit_service definition", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "runit": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ @@ -14,13 +19,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "runit", + "conflicting": { }, - "name": "runit", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "runit\/service_dir": { "default": "\/etc\/service", @@ -28,10 +31,10 @@ "multiple_values": false, "description": "Symlinks to services managed under runit", "display_name": "Runit service directory", - "required": false, "recipes": [ - ] + ], + "required": false }, "runit\/sv_bin": { "default": "\/usr\/bin\/sv", @@ -39,20 +42,20 @@ "multiple_values": false, "description": "Location of the sv binary", "display_name": "Runit sv bin", - "required": false, "recipes": [ - ] + ], + "required": false }, "runit": { "type": "hash", "multiple_values": false, "description": "Hash of runit attributes", "display_name": "Runit", - "required": false, "recipes": [ - ] + ], + "required": false }, "runit\/sv_dir": { "default": "\/etc\/sv", @@ -60,26 +63,23 @@ "multiple_values": false, "description": "Location of services managed by runit", "display_name": "Runit sv directory", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "runit": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "runit": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/screen/metadata.json b/screen/metadata.json index 996e528cf..de1d7e514 100644 --- a/screen/metadata.json +++ b/screen/metadata.json @@ -1,32 +1,39 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs screen", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "screen": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "screen", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "fedora": [ - }, - "suggestions": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "screen", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +41,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/screen/metadata.rb b/screen/metadata.rb index 72ed85bf2..5fac8e39b 100644 --- a/screen/metadata.rb +++ b/screen/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs screen" version "0.7" + +%w{ redhat centos fedora ubuntu debian }.each do |os| + supports os +end diff --git a/solr/metadata.json b/solr/metadata.json index 1491f414b..643ca4e81 100644 --- a/solr/metadata.json +++ b/solr/metadata.json @@ -1,11 +1,18 @@ { + "maintainer": "Opscode, Inc.", "description": "Sets up environment for solr instances", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "solr": "" }, + "suggestions": { + "ruby": [ + + ] + }, "platforms": { "ubuntu": [ @@ -14,13 +21,11 @@ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "solr", + "conflicting": { }, - "name": "solr", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "solr\/group": { "default": "solr", @@ -28,10 +33,10 @@ "multiple_values": false, "description": "Group for solr instance", "display_name": "Solr Group", - "required": false, "recipes": [ - ] + ], + "required": false }, "solr\/uid": { "default": "551", @@ -39,10 +44,10 @@ "multiple_values": false, "description": "UID for solr instance", "display_name": "Solr UID", - "required": false, "recipes": [ - ] + ], + "required": false }, "solr\/user": { "default": "solr", @@ -50,10 +55,10 @@ "multiple_values": false, "description": "Username for solr instance", "display_name": "Solr User", - "required": false, "recipes": [ - ] + ], + "required": false }, "solr\/gid": { "default": "551", @@ -61,19 +66,20 @@ "multiple_values": false, "description": "GID for solr instance", "display_name": "Solr GID", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { - "ruby": [ + "providing": { + "solr": [ ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nSets up user and environment for running solr instances.\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian.\n\nRequires solr installed, such as a vendor plugin for a Rails application. Assumes 'start.jar' exists. Also requires ssh keys for solr user. See usage.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* capistrano (capistrano_setup)\n* java\n* runit (runit_service)\n\n= ATTRIBUTES: \n\n* solr[:user] - username for solr process and files\/dirs.\n* solr[:uid] - UID for solr user.\n* solr[:group] - group name for solr files\/dirs.\n* solr[:gid] - GID for solr group.\n\n= USAGE:\n\nTo create a solr instance for an application, use the solr_instance define:\n\n solr_instance \"my_app\" \n\nThe recipe assumes that id_rsa ssh key pair has been created for the solr user. The files should be located in the cookbook where the solr_instance is used (for example a site-cookbook). \n\nAlso create the runit run and log run templates. For now the directory to cd into needs to be specified in the run template. See the sample in this cookbook.\n\n== Parameters:\n\nOptionally specify a cookbook where the ssh keypair is located, otherwise generate keys and put the files in the solr cookbook. Empty files are located there for placeholders.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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": { @@ -86,11 +92,5 @@ "capistrano": [ ] - }, - "providing": { - "solr": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nSets up user and environment for running solr instances.\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Ubuntu 8.10. May work on other platforms, esp Ubuntu\/Debian.\n\nRequires solr installed, such as a vendor plugin for a Rails application. Assumes 'start.jar' exists. Also requires ssh keys for solr user. See usage.\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* capistrano (capistrano_setup)\n* java\n* runit (runit_service)\n\n= ATTRIBUTES: \n\n* solr[:user] - username for solr process and files\/dirs.\n* solr[:uid] - UID for solr user.\n* solr[:group] - group name for solr files\/dirs.\n* solr[:gid] - GID for solr group.\n\n= USAGE:\n\nTo create a solr instance for an application, use the solr_instance define:\n\n solr_instance \"my_app\" \n\nThe recipe assumes that id_rsa ssh key pair has been created for the solr user. The files should be located in the cookbook where the solr_instance is used (for example a site-cookbook). \n\nAlso create the runit run and log run templates. For now the directory to cd into needs to be specified in the run template. See the sample in this cookbook.\n\n== Parameters:\n\nOptionally specify a cookbook where the ssh keypair is located, otherwise generate keys and put the files in the solr cookbook. Empty files are located there for placeholders.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/sqlite/metadata.json b/sqlite/metadata.json index 4f3fc8c36..caabab5e9 100644 --- a/sqlite/metadata.json +++ b/sqlite/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs sqlite", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "sqlite": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "sqlite", + "conflicting": { }, - "name": "sqlite", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "sqlite": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "sqlite": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/sqlite/metadata.rb b/sqlite/metadata.rb index 4e1422f49..4a903c630 100644 --- a/sqlite/metadata.rb +++ b/sqlite/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs sqlite" version "0.7" + +%w{ubuntu debian}.each do |os| + supports os +end diff --git a/ssh_known_hosts/metadata.json b/ssh_known_hosts/metadata.json index c1990d1c2..a6ebf9563 100644 --- a/ssh_known_hosts/metadata.json +++ b/ssh_known_hosts/metadata.json @@ -1,33 +1,40 @@ { + "maintainer": "Scott M. Likens", "description": "Dyanmically generates \/etc\/ssh\/known_hosts based on search indexes", - "replacing": { + "recommendations": { }, + "maintainer_email": "scott@likens.us", "recipes": { - "ssh_known_hosts": "", - "ssh_known_hosts::default": "Dyanmically generates \/etc\/ssh\/known_hosts based on search indexes" + "ssh_known_hosts::default": "Dyanmically generates \/etc\/ssh\/known_hosts based on search indexes", + "ssh_known_hosts": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Scott M. Likens", - "version": "0.1.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "ssh_known_hosts", - "maintainer_email": "scott@likens.us", - "attributes": { + ], + "fedora": [ - }, - "suggestions": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "license": "Apache 2.0", + "version": "0.1.0", + "name": "ssh_known_hosts", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -35,5 +42,12 @@ ] }, - "long_description": "= DESCRIPTION: \n\nBuild \/etc\/ssh\/known_hosts based on search indexes and build it based on data retrieved by ohai.\n\n= REQUIREMENTS: \n\n== Platform: Doesn't matter, should work on anything.\n\n= USAGE:\n\nGenerates \/etc\/ssh\/known_hosts based on search indexes for RSA keys.\n\n= LICENSE and AUTHOR: \n\nAuthor:: Scott M. Likens ()\n\nCopyright:: 2009, Scott M. Likens\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 \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n" + "license": "Apache 2.0", + "long_description": "= DESCRIPTION: \n\nBuild \/etc\/ssh\/known_hosts based on search indexes and build it based on data retrieved by ohai.\n\n= REQUIREMENTS: \n\n== Platform: Doesn't matter, should work on anything.\n\n= USAGE:\n\nGenerates \/etc\/ssh\/known_hosts based on search indexes for RSA keys.\n\n= LICENSE and AUTHOR: \n\nAuthor:: Scott M. Likens ()\n\nCopyright:: 2009, Scott M. Likens\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 \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/ssh_known_hosts/metadata.rb b/ssh_known_hosts/metadata.rb index 639c21fa8..dde60b31d 100644 --- a/ssh_known_hosts/metadata.rb +++ b/ssh_known_hosts/metadata.rb @@ -5,3 +5,7 @@ long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) version "0.1" recipe "ssh_known_hosts::default", "Dyanmically generates /etc/ssh/known_hosts based on search indexes" + +%w{ redhat centos fedora ubuntu debian }.each do |os| + supports os +end diff --git a/stompserver/metadata.json b/stompserver/metadata.json index c294c6361..bc2911619 100644 --- a/stompserver/metadata.json +++ b/stompserver/metadata.json @@ -1,29 +1,40 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs stompserver and sets up a runit_service", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "stompserver": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "stompserver", + "conflicting": { }, - "name": "stompserver", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "stompserver": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { @@ -33,11 +44,5 @@ "runit": [ ] - }, - "providing": { - "stompserver": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/stompserver/metadata.rb b/stompserver/metadata.rb index 632b8f35e..9640dc9de 100644 --- a/stompserver/metadata.rb +++ b/stompserver/metadata.rb @@ -8,3 +8,6 @@ depends cb end +%w{ ubuntu debian }.each do |os| + supports os +end diff --git a/subversion/metadata.json b/subversion/metadata.json index ad222d7fa..950207a57 100644 --- a/subversion/metadata.json +++ b/subversion/metadata.json @@ -1,32 +1,39 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs subversion", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "subversion": "" }, - "platforms": { + "suggestions": { }, - "maintainer": "Opscode, Inc.", - "version": "0.7.0", - "recommendations": { + "platforms": { + "ubuntu": [ - }, - "name": "subversion", - "maintainer_email": "cookbooks@opscode.com", - "attributes": { + ], + "fedora": [ - }, - "suggestions": { + ], + "centos": [ + + ], + "debian": [ + ], + "redhat": [ + + ] }, - "license": "Apache 2.0", + "version": "0.7.0", + "name": "subversion", "conflicting": { }, - "dependencies": { + "attributes": { }, "providing": { @@ -34,5 +41,12 @@ ] }, - "long_description": "" + "license": "Apache 2.0", + "long_description": "", + "replacing": { + + }, + "dependencies": { + + } } \ No newline at end of file diff --git a/subversion/metadata.rb b/subversion/metadata.rb index 2a655f3b6..24916d367 100644 --- a/subversion/metadata.rb +++ b/subversion/metadata.rb @@ -4,3 +4,6 @@ description "Installs subversion" version "0.7" +%w{ redhat centos fedora ubuntu debian }.each do |os| + supports os +end diff --git a/sudo/metadata.json b/sudo/metadata.json index 9dde99708..c2de14309 100644 --- a/sudo/metadata.json +++ b/sudo/metadata.json @@ -1,21 +1,41 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs and configures sudo", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "sudo": "" + }, + "suggestions": { + }, "platforms": { + "freebsd": [ + + ], + "ubuntu": [ + ], + "fedora": [ + + ], + "centos": [ + + ], + "debian": [ + + ], + "redhat": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "sudo", + "conflicting": { }, - "name": "sudo", - "maintainer_email": "cookbooks@opscode.com", "attributes": { "authorization\/sudoers\/groups": { "default": "", @@ -23,10 +43,10 @@ "multiple_values": false, "description": "Groups who are allowed sudo ALL", "display_name": "Sudo Groups", - "required": false, "recipes": [ - ] + ], + "required": false }, "authorization\/sudoers\/users": { "default": "", @@ -34,46 +54,43 @@ "multiple_values": false, "description": "Users who are allowed sudo ALL", "display_name": "Sudo Users", - "required": false, "recipes": [ - ] + ], + "required": false }, "authorization\/sudoers": { "type": "hash", "multiple_values": false, "description": "Hash of Authorization\/Sudoers attributes", "display_name": "Authorization Sudoers", - "required": false, "recipes": [ - ] + ], + "required": false }, "authorization": { "type": "hash", "multiple_values": false, "description": "Hash of Authorization attributes", "display_name": "Authorization", - "required": false, "recipes": [ - ] + ], + "required": false } }, - "suggestions": { + "providing": { + "sudo": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "sudo": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/sudo/metadata.rb b/sudo/metadata.rb index 2077ab08a..88e94765c 100644 --- a/sudo/metadata.rb +++ b/sudo/metadata.rb @@ -4,6 +4,10 @@ description "Installs and configures sudo" version "0.7" +%w{redhat centos fedora ubuntu debian freebsd}.each do |os| + supports os +end + attribute "authorization", :display_name => "Authorization", :description => "Hash of Authorization attributes", @@ -25,4 +29,3 @@ :description => "Groups who are allowed sudo ALL", :type => "array", :default => "" - diff --git a/teamspeak/metadata.json b/teamspeak/metadata.json index f1b50c45c..8473b236f 100644 --- a/teamspeak/metadata.json +++ b/teamspeak/metadata.json @@ -1,40 +1,42 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs teamspeak and enables service", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "teamspeak": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ] }, - "maintainer": "Opscode, Inc.", "version": "0.8.0", - "recommendations": { + "name": "teamspeak", + "conflicting": { }, - "name": "teamspeak", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "teamspeak": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { "php": [ ] - }, - "providing": { - "teamspeak": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/teamspeak/metadata.rb b/teamspeak/metadata.rb index 3da7eae01..d7c95c293 100644 --- a/teamspeak/metadata.rb +++ b/teamspeak/metadata.rb @@ -4,3 +4,4 @@ description "Installs teamspeak and enables service" version "0.8" depends "php" +supports "ubuntu" diff --git a/thrift/metadata.json b/thrift/metadata.json index 41d55b546..fbead4493 100644 --- a/thrift/metadata.json +++ b/thrift/metadata.json @@ -1,31 +1,37 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs\/Configures thrift", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "thrift": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.1.0", - "recommendations": { + "name": "thrift", + "conflicting": { }, - "name": "thrift", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "thrift": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "= DESCRIPTION:\n\nInstalls Thrift from source.\n\n= REQUIREMENTS:\n\n== Platform:\n\nOnly tested on Ubuntu 9.04.\n\n== Cookbooks:\n\nOpscode cookbooks:\n\n* build-essential\n* java\n* subversion\n* boost\n\n= USAGE:\n\nInclude the Thrift recipe to install Thrift from source on your systems.\n\n include_recipe \"thrift\"\n\n= LICENSE and AUTHOR:\n\n\nAuthor:: Joshua Timberman ()\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": { @@ -41,11 +47,5 @@ "build-essential": [ ] - }, - "providing": { - "thrift": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\nInstalls Thrift from source.\n\n= REQUIREMENTS:\n\n== Platform:\n\nOnly tested on Ubuntu 9.04.\n\n== Cookbooks:\n\nOpscode cookbooks:\n\n* build-essential\n* java\n* subversion\n* boost\n\n= USAGE:\n\nInclude the Thrift recipe to install Thrift from source on your systems.\n\n include_recipe \"thrift\"\n\n= LICENSE and AUTHOR:\n\n\nAuthor:: Joshua Timberman ()\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" + } } \ No newline at end of file diff --git a/tomcat6/metadata.json b/tomcat6/metadata.json index 2e10b3381..176e0dc24 100644 --- a/tomcat6/metadata.json +++ b/tomcat6/metadata.json @@ -1,59 +1,60 @@ { + "maintainer": "Opscode, Inc.", + "description": "Installs and configures all aspects of tomcat6 using custom local installation", + "recommendations": { + + }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "tomcat6": "Main Tomcat 6 configuration", "tomcat6": "" }, - "providing": { - "tomcat6": [ - - ] - }, - "license": "Apache 2.0", - "long_description": "= DESCRIPTION:\n\nInstalls Tomcat6\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Centos 5.2 8.10. May work on other platforms, esp Redhat.\nNeeds Java at least Java 5\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* java\n\n= ATTRIBUTES: \n\n= USAGE:\n\n\n= LICENSE and AUTHOR:\n \nAuthor:: Edmund Haselwanter ()\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": { - - }, - "maintainer": "Opscode, Inc.", - "description": "Installs and configures all aspects of tomcat6 using custom local installation", - "recommendations": { + "suggestions": { }, "platforms": { - "debian": [ + "ubuntu": [ ], "centos": [ ], - "ubuntu": [ + "debian": [ ], "redhat": [ ] }, - "maintainer_email": "cookbooks@opscode.com", - "suggestions": { - - }, + "version": "0.1.0", "name": "tomcat6", "conflicting": { }, "attributes": { "tomcat6\/with_native": { - "required": false, "default": "false", "type": "string", + "multiple_values": false, + "description": "works for centos, install tomcat-native libraries", + "display_name": "Tomcat native support", "recipes": [ ], - "multiple_values": false, - "display_name": "Tomcat native support", - "description": "works for centos, install tomcat-native libraries" + "required": false } + }, + "providing": { + "tomcat6": [ + + ] + }, + "license": "Apache 2.0", + "long_description": "= DESCRIPTION:\n\nInstalls Tomcat6\n\n= REQUIREMENTS:\n\n== Platform and Application Environment:\n\nTested on Centos 5.2 8.10. May work on other platforms, esp Redhat.\nNeeds Java at least Java 5\n\n== Cookbooks:\n\nOpscode cookbooks, http:\/\/github.com\/opscode\/cookbooks\/tree\/master:\n\n* java\n\n= ATTRIBUTES: \n\n= USAGE:\n\n\n= LICENSE and AUTHOR:\n \nAuthor:: Edmund Haselwanter ()\nCopyright:: 2009, Edmund Haselwanter\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": { + } } \ No newline at end of file diff --git a/ubuntu/metadata.json b/ubuntu/metadata.json index 79d6b83e7..27fe29e2c 100644 --- a/ubuntu/metadata.json +++ b/ubuntu/metadata.json @@ -1,42 +1,42 @@ { + "maintainer": "Opscode, Inc.", "description": "Sets up sources for ubuntu", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "ubuntu": "" + }, + "suggestions": { + }, "platforms": { "ubuntu": [ ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "ubuntu", + "conflicting": { }, - "name": "ubuntu", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "ubuntu": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { "apt": [ ] - }, - "providing": { - "ubuntu": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/varnish/metadata.json b/varnish/metadata.json index 484bb98bb..9755e234a 100644 --- a/varnish/metadata.json +++ b/varnish/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Instsalls and configures varnish", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "varnish": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "varnish", + "conflicting": { }, - "name": "varnish", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "varnish": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "varnish": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/varnish/metadata.rb b/varnish/metadata.rb index a5c264bd4..d7b106f93 100644 --- a/varnish/metadata.rb +++ b/varnish/metadata.rb @@ -4,3 +4,6 @@ description "Instsalls and configures varnish" version "0.7" +%w{ubuntu debian}.each do |os| + supports os +end diff --git a/zsh/metadata.json b/zsh/metadata.json index 488a260f3..2900f881a 100644 --- a/zsh/metadata.json +++ b/zsh/metadata.json @@ -1,38 +1,43 @@ { + "maintainer": "Opscode, Inc.", "description": "Installs zsh", - "replacing": { + "recommendations": { }, + "maintainer_email": "cookbooks@opscode.com", "recipes": { "zsh": "" + }, + "suggestions": { + }, "platforms": { + "ubuntu": [ + ], + "debian": [ + + ] }, - "maintainer": "Opscode, Inc.", "version": "0.7.0", - "recommendations": { + "name": "zsh", + "conflicting": { }, - "name": "zsh", - "maintainer_email": "cookbooks@opscode.com", "attributes": { }, - "suggestions": { + "providing": { + "zsh": [ + ] }, "license": "Apache 2.0", - "conflicting": { + "long_description": "", + "replacing": { }, "dependencies": { - }, - "providing": { - "zsh": [ - - ] - }, - "long_description": "" + } } \ No newline at end of file diff --git a/zsh/metadata.rb b/zsh/metadata.rb index 35b0c2041..6d78f6f4b 100644 --- a/zsh/metadata.rb +++ b/zsh/metadata.rb @@ -3,3 +3,7 @@ license "Apache 2.0" description "Installs zsh" version "0.7" + +%w{ubuntu debian}.each do |os| + supports os +end