From a1e547c8c71563c44885ef710bf9a8a8b5b6144a Mon Sep 17 00:00:00 2001 From: jtimberman Date: Fri, 20 May 2011 22:59:20 -0600 Subject: [PATCH] chef 0.10 doesn't need metadata.json --- activemq/metadata.json | 44 --- ant/metadata.json | 51 ---- apache2/metadata.json | 500 -------------------------------- apparmor/metadata.json | 33 --- application/metadata.json | 47 --- apt/metadata.json | 34 --- aws/metadata.json | 30 -- bluepill/metadata.json | 30 -- boost/metadata.json | 33 --- build-essential/metadata.json | 35 --- chef-client/metadata.json | 41 --- chef/metadata.json | 94 ------ cloudkick/metadata.json | 32 -- couchdb/metadata.json | 55 ---- cron/metadata.json | 29 -- daemontools/metadata.json | 45 --- database/metadata.json | 43 --- djbdns/metadata.json | 164 ----------- drbd/metadata.json | 39 --- dynect/metadata.json | 32 -- emacs/metadata.json | 42 --- erlang/metadata.json | 36 --- fail2ban/metadata.json | 36 --- gecode/metadata.json | 35 --- gems/metadata.json | 99 ------- git/metadata.json | 43 --- gnu_parallel/metadata.json | 32 -- god/metadata.json | 39 --- gunicorn/metadata.json | 32 -- hadoop/metadata.json | 43 --- haproxy/metadata.json | 37 --- heartbeat/metadata.json | 39 --- imagemagick/metadata.json | 46 --- iptables/metadata.json | 42 --- java/metadata.json | 50 ---- jetty/metadata.json | 51 ---- jira/metadata.json | 187 ------------ jpackage/metadata.json | 42 --- keepalived/metadata.json | 33 --- kickstart/metadata.json | 40 --- logrotate/metadata.json | 42 --- logwatch/metadata.json | 45 --- lvm/metadata.json | 42 --- man/metadata.json | 45 --- maradns/metadata.json | 63 ---- maven/metadata.json | 50 ---- memcached/metadata.json | 95 ------ mercurial/metadata.json | 36 --- motd-tail/metadata.json | 30 -- munin/metadata.json | 44 --- mysql/metadata.json | 226 --------------- nagios/metadata.json | 41 --- nginx/metadata.json | 255 ---------------- nscd/metadata.json | 45 --- ntp/metadata.json | 103 ------- ohai/metadata.json | 44 --- openldap/metadata.json | 269 ----------------- openssh/metadata.json | 48 --- openssl/metadata.json | 30 -- openvpn/metadata.json | 116 -------- ossec/metadata.json | 50 ---- pacman/metadata.json | 29 -- passenger_apache2/metadata.json | 49 ---- pdns/metadata.json | 32 -- perl/metadata.json | 45 --- php/metadata.json | 50 ---- postfix/metadata.json | 232 --------------- postgresql/metadata.json | 51 ---- powershell/metadata.json | 29 -- pxe_dust/metadata.json | 35 --- python/metadata.json | 52 ---- radiant/metadata.json | 139 --------- reprepro/metadata.json | 36 --- resolver/metadata.json | 97 ------- rsync/metadata.json | 45 --- rsyslog/metadata.json | 96 ------ runit/metadata.json | 108 ------- samba/metadata.json | 50 ---- sbuild/metadata.json | 37 --- screen/metadata.json | 45 --- snort/metadata.json | 45 --- sqlite/metadata.json | 36 --- ssh_known_hosts/metadata.json | 30 -- stompserver/metadata.json | 45 --- subversion/metadata.json | 50 ---- sudo/metadata.json | 104 ------- thrift/metadata.json | 45 --- tmux/metadata.json | 29 -- tomcat/metadata.json | 51 ---- trac/metadata.json | 40 --- transmission/metadata.json | 35 --- ubuntu/metadata.json | 36 --- ucspi-tcp/metadata.json | 48 --- unicorn/metadata.json | 30 -- users/metadata.json | 36 --- varnish/metadata.json | 36 --- vim/metadata.json | 29 -- wordpress/metadata.json | 188 ------------ xfs/metadata.json | 36 --- xml/metadata.json | 48 --- zenoss/metadata.json | 183 ------------ zlib/metadata.json | 48 --- zsh/metadata.json | 36 --- 103 files changed, 6655 deletions(-) delete mode 100644 activemq/metadata.json delete mode 100644 ant/metadata.json delete mode 100644 apache2/metadata.json delete mode 100644 apparmor/metadata.json delete mode 100644 application/metadata.json delete mode 100644 apt/metadata.json delete mode 100644 aws/metadata.json delete mode 100644 bluepill/metadata.json delete mode 100644 boost/metadata.json delete mode 100644 build-essential/metadata.json delete mode 100644 chef-client/metadata.json delete mode 100644 chef/metadata.json delete mode 100644 cloudkick/metadata.json delete mode 100644 couchdb/metadata.json delete mode 100644 cron/metadata.json delete mode 100644 daemontools/metadata.json delete mode 100644 database/metadata.json delete mode 100644 djbdns/metadata.json delete mode 100644 drbd/metadata.json delete mode 100644 dynect/metadata.json delete mode 100644 emacs/metadata.json delete mode 100644 erlang/metadata.json delete mode 100644 fail2ban/metadata.json delete mode 100644 gecode/metadata.json delete mode 100644 gems/metadata.json delete mode 100644 git/metadata.json delete mode 100644 gnu_parallel/metadata.json delete mode 100644 god/metadata.json delete mode 100644 gunicorn/metadata.json delete mode 100644 hadoop/metadata.json delete mode 100644 haproxy/metadata.json delete mode 100644 heartbeat/metadata.json delete mode 100644 imagemagick/metadata.json delete mode 100644 iptables/metadata.json delete mode 100644 java/metadata.json delete mode 100644 jetty/metadata.json delete mode 100644 jira/metadata.json delete mode 100644 jpackage/metadata.json delete mode 100644 keepalived/metadata.json delete mode 100644 kickstart/metadata.json delete mode 100644 logrotate/metadata.json delete mode 100644 logwatch/metadata.json delete mode 100644 lvm/metadata.json delete mode 100644 man/metadata.json delete mode 100644 maradns/metadata.json delete mode 100644 maven/metadata.json delete mode 100644 memcached/metadata.json delete mode 100644 mercurial/metadata.json delete mode 100644 motd-tail/metadata.json delete mode 100644 munin/metadata.json delete mode 100644 mysql/metadata.json delete mode 100644 nagios/metadata.json delete mode 100644 nginx/metadata.json delete mode 100644 nscd/metadata.json delete mode 100644 ntp/metadata.json delete mode 100644 ohai/metadata.json delete mode 100644 openldap/metadata.json delete mode 100644 openssh/metadata.json delete mode 100644 openssl/metadata.json delete mode 100644 openvpn/metadata.json delete mode 100644 ossec/metadata.json delete mode 100644 pacman/metadata.json delete mode 100644 passenger_apache2/metadata.json delete mode 100644 pdns/metadata.json delete mode 100644 perl/metadata.json delete mode 100644 php/metadata.json delete mode 100644 postfix/metadata.json delete mode 100644 postgresql/metadata.json delete mode 100644 powershell/metadata.json delete mode 100644 pxe_dust/metadata.json delete mode 100644 python/metadata.json delete mode 100644 radiant/metadata.json delete mode 100644 reprepro/metadata.json delete mode 100644 resolver/metadata.json delete mode 100644 rsync/metadata.json delete mode 100644 rsyslog/metadata.json delete mode 100644 runit/metadata.json delete mode 100644 samba/metadata.json delete mode 100644 sbuild/metadata.json delete mode 100644 screen/metadata.json delete mode 100644 snort/metadata.json delete mode 100644 sqlite/metadata.json delete mode 100644 ssh_known_hosts/metadata.json delete mode 100644 stompserver/metadata.json delete mode 100644 subversion/metadata.json delete mode 100644 sudo/metadata.json delete mode 100644 thrift/metadata.json delete mode 100644 tmux/metadata.json delete mode 100644 tomcat/metadata.json delete mode 100644 trac/metadata.json delete mode 100644 transmission/metadata.json delete mode 100644 ubuntu/metadata.json delete mode 100644 ucspi-tcp/metadata.json delete mode 100644 unicorn/metadata.json delete mode 100644 users/metadata.json delete mode 100644 varnish/metadata.json delete mode 100644 vim/metadata.json delete mode 100644 wordpress/metadata.json delete mode 100644 xfs/metadata.json delete mode 100644 xml/metadata.json delete mode 100644 zenoss/metadata.json delete mode 100644 zlib/metadata.json delete mode 100644 zsh/metadata.json diff --git a/activemq/metadata.json b/activemq/metadata.json deleted file mode 100644 index e577380da..000000000 --- a/activemq/metadata.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "activemq", - "description": "Installs activemq and sets it up as service", - "long_description": "# DESCRIPTION:\n\nInstalls activemq and sets up a service using the init script that comes with it.\n\n# REQUIREMENTS:\n\nPlatform:\n\nTested on Ubuntu 10.04 and CentOS 5.5. Should work on any Debian or Red Hat family distributions.\n\nOpscode cookbooks:\n\n* java\n\n# ATTRIBUTES:\n\n* `activemq[:mirror]` - download URL up to the activemq/apache-activemq directory.\n* `activemq[:version]` - version to install.\n* `activemq[:deploy]` - directory to deploy to (/opt by default)\n\n# USAGE:\n\nSimply add `recipe[activemq]` to a run list.\n\nThis cookbook doesn't use any custom configuration for activemq.\n\n# LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "redhat": [ - - ], - "centos": [ - - ] - }, - "dependencies": { - "java": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/ant/metadata.json b/ant/metadata.json deleted file mode 100644 index 9f8121f0f..000000000 --- a/ant/metadata.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "ant", - "description": "Installs/Configures ant", - "long_description": "Description\n===========\n\nInstalls and configures Apache Ant & Ivy\n\nRequirements\n============\n\nPlatform: \n\n* Debian, Ubuntu, CentOS, Red Hat, Fedora\n\nThe following Opscode cookbooks are dependencies:\n\n* java\n* jpackage\n\nAttributes\n==========\n\nUsage\n=====\n\nSimply include the recipe where you want Apache Ant & Ivy installed.\n\nTODO\n====\n\n* plugin support\n* global config template - /etc/ant/ant.conf\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ], - "centos": [ - - ], - "redhat": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "java": [ - - ], - "jpackage": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "ant::default": "Installs and configures Ant" - }, - "version": "0.10.1" -} \ No newline at end of file diff --git a/apache2/metadata.json b/apache2/metadata.json deleted file mode 100644 index 304da7662..000000000 --- a/apache2/metadata.json +++ /dev/null @@ -1,500 +0,0 @@ -{ - "name": "apache2", - "description": "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions", - "long_description": "= DESCRIPTION:\n\nComplete Debian/Ubuntu style Apache2 configuration.\n\n= REQUIREMENTS:\n\nDebian or Ubuntu preferred.\n\nRed Hat, CentOS, Fedora and ArchLinux 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]+ prefixed with an @ 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "debian": [ - - ], - "ubuntu": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "apache": { - "display_name": "Apache Hash", - "description": "Hash of Apache attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "apache/dir": { - "display_name": "Apache Directory", - "description": "Location for Apache configuration", - "default": "/etc/apache2", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/log_dir": { - "display_name": "Apache Log Directory", - "description": "Location for Apache logs", - "default": "/etc/apache2", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/user": { - "display_name": "Apache User", - "description": "User Apache runs as", - "default": "www-data", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/binary": { - "display_name": "Apache Binary", - "description": "Apache server daemon program", - "default": "/usr/sbin/apache2", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/icondir": { - "display_name": "Apache Icondir", - "description": "Directory location for icons", - "default": "/usr/share/apache2/icons", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/listen_ports": { - "display_name": "Apache Listen Ports", - "description": "Ports that Apache should listen on", - "type": "array", - "default": [ - "80", - "443" - ], - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "apache/contact": { - "display_name": "Apache Contact", - "description": "Email address of webmaster", - "default": "ops@example.com", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/timeout": { - "display_name": "Apache Timeout", - "description": "Connection timeout value", - "default": "300", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/keepalive": { - "display_name": "Apache Keepalive", - "description": "HTTP persistent connections", - "default": "On", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/keepaliverequests": { - "display_name": "Apache Keepalive Requests", - "description": "Number of requests allowed on a persistent connection", - "default": "100", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/keepalivetimeout": { - "display_name": "Apache Keepalive Timeout", - "description": "Time to wait for requests on persistent connection", - "default": "5", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/servertokens": { - "display_name": "Apache Server Tokens", - "description": "Server response header", - "default": "Prod", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/serversignature": { - "display_name": "Apache Server Signature", - "description": "Configure footer on server-generated documents", - "default": "On", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/traceenable": { - "display_name": "Apache Trace Enable", - "description": "Determine behavior of TRACE requests", - "default": "On", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/allowed_openids": { - "display_name": "Apache Allowed OpenIDs", - "description": "Array of OpenIDs allowed to authenticate", - "default": "", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork": { - "display_name": "Apache Prefork", - "description": "Hash of Apache prefork tuning attributes.", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/startservers": { - "display_name": "Apache Prefork MPM StartServers", - "description": "Number of MPM servers to start", - "default": "16", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/minspareservers": { - "display_name": "Apache Prefork MPM MinSpareServers", - "description": "Minimum number of spare server processes", - "default": "16", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/maxspareservers": { - "display_name": "Apache Prefork MPM MaxSpareServers", - "description": "Maximum number of spare server processes", - "default": "32", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/serverlimit": { - "display_name": "Apache Prefork MPM ServerLimit", - "description": "Upper limit on configurable server processes", - "default": "400", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/maxclients": { - "display_name": "Apache Prefork MPM MaxClients", - "description": "Maximum number of simultaneous connections", - "default": "400", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/prefork/maxrequestsperchild": { - "display_name": "Apache Prefork MPM MaxRequestsPerChild", - "description": "Maximum number of request a child process will handle", - "default": "10000", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker": { - "display_name": "Apache Worker", - "description": "Hash of Apache prefork tuning attributes.", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/startservers": { - "display_name": "Apache Worker MPM StartServers", - "description": "Initial number of server processes to start", - "default": "4", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/maxclients": { - "display_name": "Apache Worker MPM MaxClients", - "description": "Maximum number of simultaneous connections", - "default": "1024", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/minsparethreads": { - "display_name": "Apache Worker MPM MinSpareThreads", - "description": "Minimum number of spare worker threads", - "default": "64", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/maxsparethreads": { - "display_name": "Apache Worker MPM MaxSpareThreads", - "description": "Maximum number of spare worker threads", - "default": "192", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/threadsperchild": { - "display_name": "Apache Worker MPM ThreadsPerChild", - "description": "Constant number of worker threads in each server process", - "default": "64", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "apache/worker/maxrequestsperchild": { - "display_name": "Apache Worker MPM MaxRequestsPerChild", - "description": "Maximum number of request a child process will handle", - "default": "0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "apache2": "Main Apache configuration", - "apache2::mod_alias": "Apache module 'alias' with config file", - "apache2::mod_auth_basic": "Apache module 'auth_basic'", - "apache2::mod_auth_digest": "Apache module 'auth_digest'", - "apache2::mod_auth_openid": "Apache module 'authopenid'", - "apache2::mod_authn_file": "Apache module 'authn_file'", - "apache2::mod_authnz_ldap": "Apache module 'authnz_ldap'", - "apache2::mod_authz_default": "Apache module 'authz_default'", - "apache2::mod_authz_groupfile": "Apache module 'authz_groupfile'", - "apache2::mod_authz_host": "Apache module 'authz_host'", - "apache2::mod_authz_user": "Apache module 'authz_user'", - "apache2::mod_autoindex": "Apache module 'autoindex' with config file", - "apache2::mod_cgi": "Apache module 'cgi'", - "apache2::mod_dav": "Apache module 'dav'", - "apache2::mod_dav_svn": "Apache module 'dav_svn'", - "apache2::mod_deflate": "Apache module 'deflate' with config file", - "apache2::mod_dir": "Apache module 'dir' with config file", - "apache2::mod_env": "Apache module 'env'", - "apache2::mod_expires": "Apache module 'expires'", - "apache2::mod_fcgid": "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file", - "apache2::mod_headers": "Apache module 'headers'", - "apache2::mod_ldap": "Apache module 'ldap'", - "apache2::mod_log_config": "Apache module 'log_config'", - "apache2::mod_mime": "Apache module 'mime' with config file", - "apache2::mod_negotiation": "Apache module 'negotiation' with config file", - "apache2::mod_php5": "Apache module 'php5'", - "apache2::mod_proxy": "Apache module 'proxy' with config file", - "apache2::mod_proxy_ajp": "Apache module 'proxy_ajp'", - "apache2::mod_proxy_balancer": "Apache module 'proxy_balancer'", - "apache2::mod_proxy_connect": "Apache module 'proxy_connect'", - "apache2::mod_proxy_http": "Apache module 'proxy_http'", - "apache2::mod_python": "Apache module 'python'", - "apache2::mod_rewrite": "Apache module 'rewrite'", - "apache2::mod_setenvif": "Apache module 'setenvif' with config file", - "apache2::mod_ssl": "Apache module 'ssl' with config file, adds port 443 to listen_ports", - "apache2::mod_status": "Apache module 'status' with config file" - }, - "version": "0.99.3" -} diff --git a/apparmor/metadata.json b/apparmor/metadata.json deleted file mode 100644 index ca179a75d..000000000 --- a/apparmor/metadata.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "apparmor", - "description": "Disables apparmor service on Ubuntu", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "default": "Disables apparmor service on Ubuntu" - }, - "version": "0.9.0" -} \ No newline at end of file diff --git a/application/metadata.json b/application/metadata.json deleted file mode 100644 index a672440f9..000000000 --- a/application/metadata.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "application", - "description": "Deploys and configures a variety of applications defined from databag 'apps'", - "long_description": "Application cookbook\n====================\n\nThis cookbook is initially designed to be able to describe and deploy web applications. Currently supported:\n\n* Rails\n* Java\n* Django\n* PHP\n\nOther application stacks (Rack, WSGI, etc) will be supported as new recipes at a later date.\n\nThis cookbook aims to provide primitives to install/deploy any kind of application driven entirely by data defined in an abstract way through a data bag.\n\n---\nRequirements\n============\n\nChef 0.9.14 or higher required.\n\nThe following Opscode cookbooks are dependencies:\n\n* runit\n* unicorn\n* passenger_apache2\n* tomcat\n* python\n* gunicorn\n* apache2\n* php\n\n---\nRecipes\n=======\n\nThe application cookbook contains the following recipes.\n\ndefault\n-------\n\nSearches the `apps` data bag and checks that a server role in the app exists on this node, adds the app to the run state and uses the role for the app to locate the recipes that need to be used. The recipes listed in the \"type\" part of the data bag are included by this recipe, so only the \"application\" recipe needs to be in the node or role `run_list`.\n\nSee below regarding the application data bag structure.\n\ndjango\n------\n\nUsing the node's `run_state` that contains the current application in the search, this recipe will:\n\n* create an application specific virtualenv\n* install required packages and pips\n* set up the deployment scaffolding\n* creates `settings_local.py` file with the database connection information if required\n* performs a revision-based deploy\n\nThis recipe can be used on nodes that are going to run the application, or on nodes that need to have the application code checkout available such as supporting utility nodes or a configured load balancer that needs static assets stored in the application repository.\n\nFor pip requirements.txt files: ensure the requirements.txt file is present in the root of the application code (APP_ROOT/requirements.txt) or named after the node's current app_environment in a directory named requirements (requirements/production.txt) and `pip install -r` will be run before migrations.\n\nIn order to manage running database migrations (python manage.py migrate), you can use a role that sets the `run_migrations` attribute for the application (`my_app`, below) in the correct environment (production, below). Note the data bag item needs to have migrate set to true. See the data bag example below.\n\n {\n \"name\": \"my_app_run_migrations\",\n \"description\": \"Run db:migrate on demand for my_app\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n },\n \"override_attributes\": {\n \"apps\": {\n \"my_app\": {\n \"production\": {\n \"run_migrations\": true\n }\n }\n }\n },\n \"chef_type\": \"role\",\n \"run_list\": [\n ]\n }\n\nSimply apply this role to the node's run list when it is time to run migrations, and the recipe will remove the role when done. Since Django does not have a standard database migration function built into the core framework, we assume the popular [South framework](http://south.aeracode.org/) is being used.\n\ngunicorn\n--------\n\nRequires `gunicorn` cookbook.\n\nGunicorn is installed, default attributes are set for the node and an app specific gunicorn config and runit service are created.\n\njava_webapp\n-----------\n\nUsing the node's `run_state` that contains the current application in the search, this recipe will:\n\n* install required packages\n* set up the deployment scaffolding\n* create the context configuration for the servlet container\n* performs a `remote_file` deploy.\n\nThe servlet container context configuration (`context.xml`) exposes the following JNDI resources which can be referenced by the webapp's deployment descriptor (web.xml):\n\n* A JDBC datasource for all databases in the node's current `app_environment`. The datasource uses the information (including JDBC driver) specified in the data bag item for the application.\n* An Environment entry that matches the node's current `app_environment` attribute value. This is useful for loading environment specific properties files in the web application. \n\nThis recipe assumes some sort of build process, such as Maven or a Continuous Integration server like Hudson, will create a deployable artifact and make it available for download via HTTP (such as S3 or artifactory).\n\nmod\\_php\\_apache2\n-----------------\n\nRequires `apache2` cookbook. Sets up a mod_php vhost template for the application using the `apache2` cookbook's `web_app` definition. See data bag example below.\n\npassenger_apache2\n-----------------\n\nRequires `apache2` and `passenger_apache2` cookbooks. Sets up a passenger vhost template for the application using the `apache2` cookbook's `web_app` definition. Use this with the `rails` recipe, in the list of recipes for a specific application type. See data bag example below.\n\nphp\n---\n\nUsing the node's `run_state` that contains the current application in the search, this recipe will:\n\n* install required packages and pears/pecls\n* set up the deployment scaffolding\n* creates a `local_settings.php` (specific file name and project path is configurable) file with the database connection information if required\n* performs a revision-based deploy\n\nThis recipe can be used on nodes that are going to run the application, or on nodes that need to have the application code checkout available such as supporting utility nodes or a configured load balancer that needs static assets stored in the application repository.\n\nSince PHP projects do not have a standard `local_settings.php` file (or format) that contains database connection information. This recipe assumes you will provide a template in an application specific cookbook. See additional notes in the 'Application Data Bag' section below.\n\nrails\n-----\n\nUsing the node's `run_state` that contains the current application in the search, this recipe will:\n\n* install required packages and gems\n* set up the deployment scaffolding\n* creates database and memcached configurations if required\n* performs a revision-based deploy.\n\nThis recipe can be used on nodes that are going to run the application, or on nodes that need to have the application code checkout available such as supporting utility nodes or a configured load balancer that needs static assets stored in the application repository.\n\nFor Gem Bundler: include `bundler` or `bundler08` in the gems list. `bundle install` or `gem bundle` will be run before migrations. The `bundle install` command is invoked with the `--deployment` and `--without` flags following [Bundler best practices](http://gembundler.com/deploying.html).\n\nFor config.gem in environment: `rake gems:install RAILS_ENV=` will be run when a Gem Bundler command is not.\n\nIn order to manage running database migrations (rake db:migrate), you can use a role that sets the `run_migrations` attribute for the application (`my_app`, below) in the correct environment (production, below). Note the data bag item needs to have migrate set to true. See the data bag example below.\n\n {\n \"name\": \"my_app_run_migrations\",\n \"description\": \"Run db:migrate on demand for my_app\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n },\n \"override_attributes\": {\n \"apps\": {\n \"my_app\": {\n \"production\": {\n \"run_migrations\": true\n }\n }\n }\n },\n \"chef_type\": \"role\",\n \"run_list\": [\n ]\n }\n\nSimply apply this role to the node's run list when it is time to run migrations, and the recipe will remove the role when done.\n\ntomcat\n-------\n\nRequires `tomcat` cookbook.\n\nTomcat is installed, default attributes are set for the node and the app specific context.xml is symlinked over to Tomcat's context directory as the root context (ROOT.xml).\n\nunicorn\n-------\n\nRequires `unicorn` cookbook.\n\nUnicorn is installed, default attributes are set for the node and an app specific unicorn config and runit service are created.\n\n---\nDeprecated Recipes\n==================\n\nThe following recipes are deprecated and have been removed from the cookbook. To retrieve an older version, reference commit 4396ce6.\n\n`passenger-nginx`\n`rails_nginx_ree_passenger`\n\n---\nApplication Data Bag \n=====================\n\nThe applications data bag expects certain values in order to configure parts of the recipe. Below is a paste of the JSON, where the value is a description of the key. Use your own values, as required. Note that this data bag is also used by the `database` cookbook, so it will contain database information as well. Items that may be ambiguous have an example.\n\nThe application used in examples is named `my_app` and the environment is `production`. Most top-level keys are Arrays, and each top-level key has an entry that describes what it is for, followed by the example entries. Entries that are hashes themselves will have the description in the value.\n\nNote about \"type\": the recipes listed in the \"type\" will be included in the run list via `include_recipe` in the application default recipe based on the type matching one of the `server_roles` values.\n\nNote about packages, the version is optional. If specified, the version will be passed as a parameter to the resource. Otherwise it will use the latest available version per the default `:install` action for the package provider.\n\nRail's version additional notes\n-------------------------------\n\nNote about `databases`, the data specified will be rendered as the `database.yml` file. In the `database` cookbook, this information is also used to set up privileges for the application user, and create the databases.\n\nNote about gems, the version is optional. If specified, the version will be passed as a parameter to the resource. Otherwise it will use the latest available version per the default `:install` action for the package provider.\n\nAn example is data bag item is included in this cookbook at `examples/data_bags/apps/rails_app.json`.\n\nJava webapp version additional notes\n------------------------------------\n\nNote about `databases`, the data specified will be rendered as JNDI Datasource `Resources` in the servlet container context confiruation (`context.xml`) file. In the `database` cookbook, this information is also used to set up privileges for the application user, and create the databases.\n\nAn example is data bag item is included in this cookbook at `examples/data_bags/apps/java_app.json`.\n\nDjango version additional notes\n-------------------------------\n\nNote about `databases`, the data specified will be rendered as the `settings_local.py` file. In the `database` cookbook, this information is also used to set up privileges for the application user, and create the databases.\n\nNote about pips, the version is optional. If specified, the version will be passed as a parameter to the resource. Otherwise it will use the latest available version per the default `:install` action for the python_pip package provider.\n\nThe `local_settings_file` value may be used to supply an alternate name for the environment specific `settings_local.py`, since Django projects do not have a standard name for this file.\n\nAn example is data bag item is included in this cookbook at `examples/data_bags/apps/django_app.json`.\n\nPHP version additional notes\n----------------------------\n\nNote about `databases`, the data specified will be rendered as the `local_settings.php` file. In the `database` cookbook, this information is also used to set up privileges for the application user, and create the databases.\n\nNote about pears/pecls, the version is optional. If specified, the version will be passed as a parameter to the resource. Otherwise it will use the latest available version per the default `:install` action for the php_pear package provider.\n\nThe `local_settings_file` value is used to supply the name, and relative local project path, for the environment specific `local_settings.php`, since PHP projects do not have a standard name (or location) for this file.\n\nFor applications that look for this file in the project root just supply a name:\n\nMediaWiki:\n\n \"local_settings_file\": \"LocalSettings.php\"\n \nWordpress:\n\n \"local_settings_file\": \"wp-config.php\"\n\nFor applications that expect the file nested within the project root, you can supply a relative path:\n\nCakePHP:\n\n \"local_settings_file\": \"app/config/database.php\"\n\nThe template used to render this `local_settings.php` file is assumed to be provided in an application specific cookbook named after the application being deployed. For example if you were deploying code for an application named `mediawiki` you would create a cookbook named `mediawiki` and in that cookbook place a template named `LocalSettings.php.erb`:\n\n mediawiki/\n +-- files\n | +-- default\n | +-- schema.sql\n +-- metadata.rb\n +-- README.md\n +-- recipes\n | +-- db_bootstrap.rb\n | +-- default.rb\n +-- templates\n +-- default\n +-- LocalSettings.php.erb\n\nThe template will be passed the following variables which can be used to dynamically fill values in the ERB:\n\n* path - fill path to the 'current' project path\n* host - database master fqdn\n* database - environment specific database information from the application's data bag item\n* app - Ruby mash representation of the complete application data bag item for this app, useful if other arbitrary config data has been stashed in the data bag item.\n\nA few example `local_settings` templates are included in this cookbook at `examples/templates/defaults/*`:\n\n* MediaWiki - LocalSettings.php.erb\n* Wordpress - wp-config.php.erb\n\nAn example is data bag item is included in this cookbook at `examples/data_bags/apps/php_app.json`.\n\n---\nUsage\n=====\n\nTo use the application cookbook, we recommend creating a role named after the application, e.g. `my_app`. This role should match one of the `server_roles` entries, that will correspond to a `type` entry, in the databag. Create a Ruby DSL role in your chef-repo, or create the role directly with knife.\n\n % knife role show my_app\n {\n \"name\": \"my_app\",\n \"chef_type\": \"role\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n },\n \"description\": \"\",\n \"run_list\": [\n \"recipe[application]\"\n ],\n \"override_attributes\": {\n }\n }\n\nAlso recommended is a cookbook named after the application, e.g. `my_app`, for additional application specific setup such as other config files for queues, search engines and other components of your application. The `my_app` recipe can be used in the run list of the role, if it includes the `application` recipe.\n\nYou should also have a role for the environment(s) you wish to use this cookbook. Similar to the role above, create the Ruby DSL file in chef-repo, or create with knife directly.\n\n % knife role show production\n {\n \"name\": \"production\",\n \"chef_type\": \"role\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n \"app_environment\": \"production\"\n },\n \"description\": \"production environment role\",\n \"run_list\": [\n\n ],\n \"override_attributes\": {\n }\n }\n\nThis role uses a default attribute so nodes can be moved into other environments on the fly simply by modifying their node object directly on the Chef Server.\n\n---\nLicense and Author\n==================\n\nAuthor:: Adam Jacob ()\nAuthor:: Joshua Timberman ()\nAuthor:: Seth Chisamore ()\n\nCopyright 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "runit": ">= 0.0.0", - "unicorn": ">= 0.0.0", - "apache2": ">= 0.0.0", - "passenger_apache2": ">= 0.0.0", - "tomcat": ">= 0.0.0", - "python": ">= 0.0.0", - "gunicorn": ">= 0.0.0", - "php": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "application": "Loads application databags and selects recipes to use", - "application::django": "Deploys a Django application specified in a data bag with the deploy_revision resource", - "application::gunicorn": "Sets up the deployed Django application with Gunicorn as the web server", - "application::java_webapp": "Deploys a Java web application WAR specified in a data bag with the remote_file resource", - "application::mod_php_apache2": "Sets up a deployed PHP application as a mod_php virtual host in Apache2", - "application::passenger_apache2": "Sets up a deployed Rails application as a Passenger virtual host in Apache2", - "application::php": "Deploys a PHP application specified in a data bag with the deploy_revision resource", - "application::rails": "Deploys a Rails application specified in a data bag with the deploy_revision resource", - "application::tomcat": "Sets up the deployed Java application with Tomcat as the servlet container", - "application::unicorn": "Sets up the deployed Rails application with Unicorn as the web server" - }, - "version": "0.99.9" -} \ No newline at end of file diff --git a/apt/metadata.json b/apt/metadata.json deleted file mode 100644 index 77121666d..000000000 --- a/apt/metadata.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "apt", - "description": "Configures apt and apt services and an LWRP for managing apt repositories", - "long_description": "Description\n===========\n\nConfigures various APT components on Debian-like systems. Also includes a LWRP.\n\nRecipes\n=======\n\ndefault\n-------\nThe default recipe runs apt-get update during the Compile Phase of the Chef run to ensure that the system's package cache is updated with the latest. It is recommended that this recipe appear first in a node's run list (directly or through a role) to ensure that when installing packages, Chef will be able to download the latest version available on the remote APT repository.\n\nThis recipe also sets up a local cache directory for preseeding packages.\n\ncacher\n------\nInstalls the apt-cacher package and service so the system can provide APT caching. You can check the usage report at http://{hostname}:3142/report. The cacher recipe includes the `cacher-client` recipe, so it helps seed itself.\n\ncacher-client\n-------------\nConfigures the node to use the apt-cacher server as a client.\n\nResources/Providers\n===================\n\nThis LWRP provides an easy way to manage additional APT repositories.\n\n# Actions\n\n- :add: creates a repository file and builds the repository listing\n- :remove: removes the repository file\n\n# Attribute Parameters\n\n- repo_name: name attribute. The name of the channel to discover\n- uri: the base of the Debian distribution\n- distribution: this is usually your release's codename...ie something like `karmic`, `lucid` or `maverick`\n- components: package groupings..when it doubt use `main`\n- deb_src: whether or not to add the repository as a source repo as well\n- key_server: the GPG keyserver where the key for the repo should be retrieved\n- key: if a `key_server` is provided, this is assumed to be the fingerprint, otherwise it is the URI to the GPG key for the repo\n\n# Example\n\n # add the Zenoss repo\n apt_repository \"zenoss\" do\n uri \"http://dev.zenoss.org/deb\"\n components [\"main\",\"stable\"]\n action :add\n end\n \n # add the Nginx PPA; grab key from keyserver\n apt_repository \"nginx-php\" do\n uri \"http://ppa.launchpad.net/nginx/php5/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n keyserver \"keyserver.ubuntu.com\"\n key \"C300EE8C\"\n action :add\n end\n \n # add the Cloudkick Repo\n apt_repository \"cloudkick\" do\n uri \"http://packages.cloudkick.com/ubuntu\"\n distribution node['lsb']['codename']\n components [\"main\"]\n key \"http://packages.cloudkick.com/cloudkick.packages.key\"\n action :add\n end\n \n # remove Zenoss repo\n apt_repository \"zenoss\" do\n action :remove\n end\n \nUsage\n=====\n\nPut `recipe[apt]` first in the run list. If you have other recipes that you want to use to configure how apt behaves, like new sources, notify the execute resource to run, e.g.:\n\n template \"/etc/apt/sources.list.d/my_apt_sources.list\" do\n notifies :run, resources(:execute => \"apt-get update\"), :immediately\n end\n\nThe above will run during execution phase since it is a normal template resource, and should appear before other package resources that need the sources in the template.\n\nPut `recipe[apt::cacher]` in the run_list for a server to provide APT caching and add `recipe[apt::cacher-client]` on the rest of the Debian-based nodes to take advantage of the caching server.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\nAuthor:: Matt Ray ()\nAuthor:: Seth Chisamore ()\n\nCopyright 2009-2011 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": ">= 0.0.0", - "debian": ">= 0.0.0" - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "apt": "Runs apt-get update during compile phase and sets up preseed directories", - "apt::cacher": "Set up an APT cache", - "apt::cacher-client": "Client for the apt::cacher server" - }, - "version": "1.1.1" -} \ No newline at end of file diff --git a/aws/metadata.json b/aws/metadata.json deleted file mode 100644 index 20263f5cf..000000000 --- a/aws/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "aws", - "description": "LWRPs for managing AWS resources", - "long_description": "Description\n===========\n\nThis cookbook provides libraries, resources and providers to configure and manage Amazon Web Services components and offerings with the EC2 API. Currently supported resources:\n\n* EBS Volumes (`ebs_volume`)\n* Elastic IPs (`elastic_ip`)\n\n---\nRequirements\n============\n\nRequires Chef 0.7.10 or higher for Lightweight Resource and Provider support. Chef 0.8+ is recommended. While this cookbook can be used in `chef-solo` mode, to gain the most flexibility, we recommend using `chef-client` with a Chef Server.\n\nAn Amazon Web Services account is required. The Access Key and Secret Access Key are used to authenticate with EC2.\n\n---\nAWS Credentials\n===============\n\nIn order to manage AWS components, authentication credentials need to be available to the node. There are a number of ways to handle this, such as node attributes or roles. We recommend storing these in a databag (Chef 0.8+), and loading them in the recipe where the resources are needed.\n\nDataBag recommendation:\n\n % knife data bag show aws main\n {\n \"id\": \"main\",\n \"aws_access_key_id\": \"YOUR_ACCESS_KEY\",\n \"aws_secret_access_key\": \"YOUR_SECRET_ACCESS_KEY\"\n }\n\nThis can be loaded in a recipe with:\n\n aws = data_bag_item(\"aws\", \"main\")\n\nAnd to access the values:\n\n aws['aws_access_key_id']\n aws['aws_secret_access_key']\n\nWe'll look at specific usage below.\n\n---\nRecipes\n=======\n\ndefault.rb\n----------\n\nThe default recipe installs the `right_aws` RubyGem, which this cookbook requires in order to work with the EC2 API. Make sure that the aws recipe is in the node or role `run_list` before any resources from this cookbook are used.\n\n \"run_list\": [\n \"recipe[aws]\"\n ]\n\nThe `gem_package` is created as a Ruby Object and thus installed during the Compile Phase of the Chef run.\n\n---\nLibraries\n=========\n\nThe cookbook has a library module, `Opscode::AWS::Ec2`, which can be included where necessary:\n\n include Opscode::Aws::Ec2\n\nThis is needed in any providers in the cookbook. Along with some helper methods used in the providers, it sets up a class variable, `ec2` that is used along with the access and secret access keys\n\n---\nResources and Providers\n=======================\n\nThis cookbook provides two resources and corresponding providers.\n\n`ebs_volume.rb`\n-------------\n\nManage Elastic Block Store (EBS) volumes with this resource.\n\nActions:\n\n* `create` - create a new volume.\n* `attach` - attach the specified volume.\n* `detach` - detach the specified volume.\n* `snapshot` - create a snapshot of the volume.\n* `prune` - prune snapshots.\n\nAttribute Parameters:\n\n* `aws_secret_access_key`, `aws_access_key` - passed to `Opscode::AWS:Ec2` to authenticate, required.\n* `size` - size of the volume in gigabytes.\n* `snapshot_id` - snapshot to build EBS volume from.\n* `availability_zone` - EC2 region, and is normally automatically detected.\n* `device` - local block device to attach the volume to, e.g. `/dev/sdi` but no default value, required.\n* `volume_id` - specify an ID to attach, cannot be used with action `:create` because AWS assigns new volume IDs\n* `timeout` - connection timeout for EC2 API.\n* `snapshots_to_keep` - used with action `:prune` for number of snapshots to maintain.\n\n`elastic_ip.rb`\n-------------\n\nActions:\n\n* `associate` - associate the IP.\n* `disassociate` - disassociate the IP.\n\nAttribute Parameters:\n\n* `aws_secret_access_key`, `aws_access_key` - passed to `Opscode::AWS:Ec2` to authenticate, required.\n* `ip` - the IP address.\n* `timeout` - connection timeout for EC2 API.\n\n\n---\nUsage\n=====\n\nFor both the `ebs_volume` and `elastic_ip` resources, put the following at the top of the recipe where they are used.\n\n include_recipe \"aws\"\n aws = data_bag_item(\"aws\", \"main\")\n\naws_ebs_volume\n--------------\n\nThe resource only handles manipulating the EBS volume, additional resources need to be created in the recipe to manage the attached volume as a filesystem or logical volume.\n\n aws_ebs_volume \"db_ebs_volume\" do\n aws_access_key aws['aws_access_key_id']\n aws_secret_access_key aws['aws_secret_access_key']\n size 50\n device \"/dev/sdi\"\n action [ :create, :attach ]\n end\n\nThis will create a 50G volume, attach it to the instance as `/dev/sdi`.\n\n aws_ebs_volume \"db_ebs_volume_from_snapshot\" do\n aws_access_key aws['aws_access_key_id']\n aws_secret_access_key aws['aws_secret_access_key']\n size 50\n device \"/dev/sdi\"\n snapshot_id \"snap-ABCDEFGH\"\n action [ :create, :attach ]\n end\n\nThis will create a new 50G volume from the snapshot ID provided and attach it as `/dev/sdi`.\n\naws_elastic_ip\n--------------\n\nThe `elastic_ip` resource provider does not support allocating new IPs. This must be done before running a recipe that uses the resource. After allocating a new Elastic IP, we recommend storing it in a databag and loading the item in the recipe.\n\nDatabag structure:\n\n % knife data bag show aws eip_load_balancer_production\n {\n \"id\": \"eip_load_balancer_production\",\n \"public_ip\": \"YOUR_ALLOCATED_IP\"\n }\n\nThen to set up the Elastic IP on a system:\n\n ip_info = data_bag_item(\"aws\", \"eip_load_balancer_production\")\n\n aws_elastic_ip \"eip_load_balancer_production\" do\n aws_access_key aws['aws_access_key_id']\n aws_secret_access_key aws['aws_secret_access_key']\n lb ip_info['public_ip']\n action :associate\n end\n\nThis will use the loaded `aws` and `ip_info` databags to pass the required values into the resource to configure. Note that when associating an Elastic IP to an instance, connectivity to the instance will be lost because the public IP address is changed. You will need to reconnect to the instance with the new IP.\n\nYou can also store this in a role as an attribute or assign to the node directly, if preferred.\n\n---\nLicense and Author\n==================\n\nAuthor:: Chris Walters ()\nAuthor:: AJ Christensen ()\n\nCopyright 2009-2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "aws": "Installs the right_aws gem during compile time" - }, - "version": "0.99.0" -} \ No newline at end of file diff --git a/bluepill/metadata.json b/bluepill/metadata.json deleted file mode 100644 index e0a3b7e69..000000000 --- a/bluepill/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "bluepill", - "description": "Installs bluepill gem and configures to manage services, includes bluepill_service LWRP", - "long_description": "Description\n===========\n\nInstalls bluepill RubyGem and configures it to manage services. Also includes a LWRP.\n\nRequirements\n============\n\nBluepill is a pure Ruby service management tool/library, so this cookbook should work on any system. The attributes do set up paths based on FHS locations, see below.\n\nAttributes\n==========\n\nDefault locations for bluepill are in \"FHS compliant\" locations.\n\n* `node[\"bluepill\"][\"bin\"]` - Path to bluepill program, default is 'bluepill' in the RubyGems binary directory.\n* `node[\"bluepill\"][\"logfile\"]` - Location of the bluepill log file, default \"/var/log/bluepill.log\".\n* `node[\"bluepill\"][\"conf_dir\"]` - Location of service config files (pills), default \"/etc/bluepill\".\n* `node[\"bluepill\"][\"pid_dir\"]` - Location of pidfiles, default \"/var/run/bluepill\"\n* `node[\"bluepill\"][\"state_dir\"]` - Location of state directory, default \"/var/lib/bluepill\"\n* `node[\"bluepill\"][\"init_dir\"]` - Location of init script directory, default selected by platform.\n\nResources/Providers\n===================\n\nThis cookbook contains an LWRP, `bluepill_service`. This can be used with the normal Chef service resource, by using the `provider` parameter, or by specifying the `bluepill_service` shortcut. These two resources are equivalent.\n\n service \"my_app\" do\n provider bluepill_service\n action [:enable, :load, :start]\n end\n\n bluepill_service \"my_app\" do\n action [:enable, :load, :start]\n end\n\nThe load action should probably always be specified, to ensure that if bluepill isn't running already it gets started. The \n\nThe recipe using the service must contain a template resource for the pill and it must be named `my_app.pill.erb`, where `my_app` is the service name passed to the bluepill service resource. \n\nUsage\n=====\n\nBe sure to include the bluepill recipe in the run list to ensure that the gem and bluepill-related directories are created. This will also make the cookbook available on the system and other cookbooks won't need to explicitly depend on it in the metadata.\n\nIf the default directory locations in the attributes/default.rb aren't what you want, change them by setting them either in the attributes file itself, or create attributes in a role applied to any systems that will use bluepill.\n\nExample pill template resource and .erb file:\n\n template \"/etc/bluepill/my_app\" do\n source \"my_app.pill.erb\"\n end\n\n Bluepill.application(\"my_app\") do |app|\n app.process(\"my_app\") do |process|\n process.pid_file = \"/var/run/my_app.pid\"\n process.start_command = \"/usr/bin/my_app\"\n end\n end\n\nSee bluepill's documentation for more information on creating pill templates.\n \n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "bluepill::default": "Installs bluepill rubygem and set up management directories" - }, - "version": "0.2.0" -} \ No newline at end of file diff --git a/boost/metadata.json b/boost/metadata.json deleted file mode 100644 index 2af0c363d..000000000 --- a/boost/metadata.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.0", - "providing": { - }, - "recipes": { - "boost": "Installs libboost-dev" - }, - "replacing": { - }, - "name": "boost", - "description": "Installs libboost", - "groupings": { - }, - "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/build-essential/metadata.json b/build-essential/metadata.json deleted file mode 100644 index ac4a77f07..000000000 --- a/build-essential/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "build-essential", - "description": "Installs C compiler / build tools", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "fedora": ">= 0.0.0", - "redhat": ">= 0.0.0", - "centos": ">= 0.0.0", - "ubuntu": ">= 0.0.0", - "debian": ">= 0.0.0" - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "build-essential": "Installs C compiler and build tools on Linux" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/chef-client/metadata.json b/chef-client/metadata.json deleted file mode 100644 index f71b65760..000000000 --- a/chef-client/metadata.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "chef-client", - "description": "Manages aspects of only chef-client", - "long_description": "DESCRIPTION\n===========\n\nThis cookbook is used to configure a system as a Chef Client.\n\nREQUIREMENTS\n============\n\nChef 0.9.12 or later is required.\n\nSupported Platforms\n-------------------\n\nThe following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error.\n\n* Debian\n* Ubuntu\n* Red Hat\n* CentOS\n* Fedora\n* ArchLinux\n* FreeBSD\n* Mac OS X\n\nOther Cookbooks\n---------------\n\nOther cookbooks can be used with this cookbook but they are not explicitly required. The default settings in this cookbook do not require their use. The other cookbooks (on cookbooks.opsocde.com) are:\n\n* bluepill\n* daemontools\n* runit\n\nSee __USAGE__ below.\n\nATTRIBUTES\n==========\n\n* `node[\"chef_client\"][\"interval\"]` - Sets `Chef::Config[:interval]` via command-line option for number of seconds between chef-client daemon runs. Default 1800.\n* `node[\"chef_client\"][\"splay\"]` - Sets `Chef::Config[:splay]` via command-line option for a random amount of seconds to add to interval. Default 20.\n* `node[\"chef_client\"][\"log_dir\"]` - Sets directory used in `Chef::Config[:log_location]` via command-line option to a location where chef-client should log output. Default \"/var/log/chef\".\n* `node[\"chef_client\"][\"server_url\"]` - Sets `Chef::Config[:chef_server_url]` in the config file to the Chef Server URI. Default \"http://localhost:4000\". See __USAGE__.\n* `node[\"chef_client\"][\"validation_client_name\"]` - Sets `Chef::Config[:validation_client_name]` in the config file to the name of the validation client. Default \"chef-validator\". See __USAGE__.\n* `node[\"chef_client\"][\"init_style\"]` - Sets up the client service based on the style of init system to use. Default is based on platform and falls back to \"none\". See __USAGE__.\n* `node[\"chef_client\"][\"run_path\"]` - Directory location where chef-client should write the PID file. Default based on platform, falls back to \"/var/run\".\n* `node[\"chef_client\"][\"cache_path\"]` - Directory location for `Chef::Config[:file_cache_path]` where chef-client will cache various files. Default is based on platform, falls back to \"/var/chef/cache\".\n* `node[\"chef_client\"][\"backup_path\"]` - Directory location for `Chef::Config[:file_backup_path]` where chef-client will backup templates and cookbook files. Default is based on platform, falls back to \"/var/chef/backup\".\n\nRECIPES\n=======\n\nThis section describes the recipes in the cookbook and how to use them in your environment.\n\nconfig\n------\n\nSets up the `/etc/chef/client.rb` config file from a template and reloads the configuration for the current chef-client run.\n\nservice\n-------\n\nUse this recipe on systems that should have a `chef-client` daemon running, such as when Knife bootstrap was used to install Chef on a new system.\n\nThis recipe sets up the `chef-client` service depending on the `init_style` attribute (see above). The following init styles are supported:\n\n* init - uses the init script included in the chef gem, supported on debian and redhat family distributions.\n* upstart - uses the upstart job included in the chef gem, supported on ubuntu.\n* arch - uses the init script included in this cookbook for ArchLinux, supported on arch.\n* runit - sets up the service under runit, supported on ubuntu, debian and gentoo.\n* bluepill - sets up the service under bluepill. As bluepill is a pure ruby process monitor, this should work on any platform.\n* daemontools -sets up the service under daemontools, supported on debian, ubuntu and arch\n* bsd - prints a message about how to update BSD systems to enable the chef-client service, supported on Free/OpenBSD and OSX.\n\ndefault\n-------\n\nIncludes the `chef-client::service` recipe by default.\n\n`delete_validation`\n-------------------\n\nUse this recipe to delete the validation certificate (default `/etc/chef/validation.pem`) when using a `chef-client` after the client has been validated and authorized to connect to the server.\n\nBeware if using this on your Chef Server. First copy the validation.pem certificate file to another location, such as your knife configuration directory (`~/.chef`) or [Chef Repository](http://wiki.opscode.com/display/chef/Chef+Repository).\n\nUSAGE\n=====\n\nCreate a `base` role that will represent the base configuration for any system that includes managing aspects of the chef-client. Add recipes to the run list of the role, customize the attributes, and apply the role to nodes. For example, the following role (Ruby DSL) will set the init style to `init`, delete the validation certificate (as the client would already be authenticated) and set up the chef-client as a service using the init style.\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"init\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[chef-client::config]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client::config` recipe is only required with init style `init` (default setting for the attribute on debian/redhat family platforms, because the init script doesn't include the `pid_file` option which is set in the config.\n\nThe default Chef Server will be `http://localhost:4000` which is the `Chef::Config[:chef_server_url]` default value. To use the config recipe with the Opscode Platform, for example, add the following to the `override_attributes`\n\n override_attributes(\n \"chef_client\" => {\n \"server_url\" => \"https://api.opscode.com/organizations/ORGNAME\",\n \"validation_client_name\" => \"ORGNAME-validator\"\n }\n )\nWhere ORGNAME is your Opscode Platform organization name. Be sure to add these attributes to the role if modifying per the section below.\n\nYou can also set all of the `Chef::Config` http proxy related settings. By default Chef will not use a proxy.\n\n override_attributes(\n \"chef_client\" => {\n \"http_proxy\" => \"http://proxy.vmware.com:3128\",\n \"https_proxy\" => \"http://proxy.vmware.com:3128\",\n \"http_proxy_user\" => \"my_username\",\n \"http_proxy_pass\" => \"Awe_some_Pass_Word!\",\n \"no_proxy\" => \"*.vmware.com,10.*\"\n }\n )\n\nAlternate Init Styles\n---------------------\n\nThe alternate init styles available are:\n\n* runit\n* bluepill\n* daemontools\n\nFor usage, see below.\n\n# Runit\n\nTo use runit, download the cookbook from the cookbook site.\n\n knife cookbook site vendor runit -d\n\nChange the `init_style` to runit in the base role and add the runit recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"runit\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[runit]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with runit. The runit run script will be located in `/etc/sv/chef-client/run`. The output log will be in the runit service directory, `/etc/sv/chef-client/log/main/current`.\n\n# Bluepill\n\nTo use bluepill, download the cookbook from the cookbook site.\n\n knife cookbook site vendor bluepill -d\n\nChange the `init_style` to runit in the base role and add the bluepill recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"bluepill\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[bluepill]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-client service configured with bluepill. The bluepill \"pill\" will be located in `/etc/bluepill/chef-client.pill`. The output log will be to client.log file in the `node[\"chef_client\"][\"log_dir\"]` location, `/var/log/chef/client` by default.\n\n# Daemontools\n\nTo use daemontools, download the cookbook from the cookbook site.\n\n knife cookbook site vendor daemontools -d\n\nChange the `init_style` to runit in the base role and add the daemontools recipe to the role's run list:\n\n name \"base\"\n description \"Base role applied to all nodes\"\n override_attributes(\n \"chef_client\" => {\n \"init_style\" => \"daemontools\"\n }\n )\n run_list(\n \"recipe[chef-client::delete_validation]\",\n \"recipe[daemontools]\",\n \"recipe[chef-client]\"\n )\n\nThe `chef-client` recipe will create the chef-cilent service configured under daemontools. It uses the same sv run scripts as the runit recipe. The run script will be located in `/etc/sv/chef-client/run`. The output log will be in the daemontools service directory, `/etc/sv/chef-client/log/main/current`.\n\nTEMPLATES\n=========\n\nchef-client.pill.erb\n--------------------\n\nBluepill configuration for the chef-client service.\n\nclient.rb.erb\n-------------\n\nConfiguration for the client, lands in `/etc/chef/client.rb`.\n\n`sv-chef-client-*run.erb`\n-------------------------\n\nRunit and Daemontools run script for chef-client service and logs.\n\nLogs will be located in the `node[\"chef_client\"][\"log_dir\"]`.\n\nLICENSE AND AUTHORS\n===================\n\n* Author: Joshua Timberman \n* Author: Seth Chisamore \n* Copyright 2010-2011, 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\n", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": ">= 0.0.0", - "debian": ">= 0.0.0", - "redhat": ">= 0.0.0", - "centos": ">= 0.0.0", - "fedora": ">= 0.0.0", - "freebsd": ">= 0.0.0", - "openbsd": ">= 0.0.0", - "mac_os_x": ">= 0.0.0" - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "chef-client": "Includes the service recipe by default.", - "chef-client::config": "Configures the client.rb from a template.", - "chef-client::service": "Sets up a client daemon to run periodically", - "chef-client::delete_validation": "Deletes validation.pem after client registers" - }, - "version": "0.99.5" -} \ No newline at end of file diff --git a/chef/metadata.json b/chef/metadata.json deleted file mode 100644 index 31cfc85ef..000000000 --- a/chef/metadata.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "name": "chef", - "description": "Installs and configures Chef for chef-client and chef-server", - "long_description": "IMPORTANT CHANGES - version 0.99.9\n==================================\n\nIn the interest of user experience and clarity of intention, this cookbook is deprecated. It has been split into two cookbooks. For compatibility reasons, it will depend on the cookbooks it is split into and use the recipes from those cookbooks where applicable.\n\n* chef-client: All the client related configuration/setup.\n* chef-server: All the server related configuration/setup.\n\nDESCRIPTION\n===========\n\nThis cookbook is used to configure the system to be a Chef Client or a Chef Server. It is a complex cookbook, please read this entire document to understand how it works. For more information on how Chef itself works, see the [Chef Wiki](http://wiki.opscode.com)\n\nREQUIREMENTS\n============\n\nChef 0.8.16 or later is required.\n\nChef 0.9.0 or later is required to use the `chef.init_style` attribute value `init`, in order to have the init scripts available.\n\nPlatform\n--------\n\nIf using this cookbook to manage a Chef Server system that was installed from Debian/Ubuntu packages, note that in the packages, the configuration files are split up for server.rb, solr.rb and webui.rb, and the `chef::server` recipe may not work as desired.\n\nA recent version of Ubuntu or Debian is recommended for the Chef Server.\n\n* Ubuntu 9.10/10.04\n* Debian testing/unstable\n\nThese versions have newer versions of CouchDB and RabbitMQ packaged.\n\n`chef::client` is tested on Ubuntu 8.04+, Debian 5.0, CentOS 5.x, Fedora 10+, OpenBSD 4.6, FreeBSD 7.1 and Gentoo.\n\n`chef::bootstrap_client` is tested on the above. OpenSolaris 11 is also tested, but there's a bug in Ohai that requires some manual intervention (OHAI-122).\n\n`chef::server` is tested on Ubuntu 8.04+, Debian 5.0.\n\n`chef::bootstrap_server` is tested on Ubuntu 8.04+, Debian 5.0.\n\nClient\n------\n\n`runit` cookbook is suggested for RubyGems installation. No other cookbooks are required for clients.\n\nServer\n------\n\nThe `chef::bootstrap_server` recipe uses the following other cookbooks from Opscode.\n\n* couchdb\n* `rabbitmq_chef`\n* openssl\n* zlib\n* xml\n* java\n\nThe `chef::server_proxy` recipe uses the following cookbook:\n\n* apache2\n\nATTRIBUTES\n==========\n\nThe attributes for configuring the `chef` cookbook are under the `chef` namespace on the node, i.e., `@node[:chef]` or `@node.chef`.\n\nWhen using the bootstrap recipe, set the desired attributes using a JSON file. See \"BOOTSTRAPPING\" for examples.\n\numask\n-----\n\nSets the umask for files created by the server process via `Chef::Config[:umask]` in `/etc/chef/server.rb`\n\n`url_type`\n----------\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` for clients and the URLs will be `https://server/`.\n\nBy default the only URL config setting for Chef 0.8.x+ is `Chef::Config[:chef_server_url]`. The other older URLs are still supported so you can split out the various functions of the Chef Server, but configuration of those is outside the scope of this cookbook.\n\n`init_style`\n------------\n\nSpecifies the init style to use. Possible values:\n\n* runit - uses runit to set up the service. Logs will be in `/etc/sv/chef-client/log/main`. Default value for this attribute.\n* init - uses init scripts that are included in the `chef` gem. Logs will be in `/var/log/chef`. Only usable with debian/ubuntu and red hat family distributions.\n* daemontools - uses daemontools to set up the service. Logs will be in `/etc/sv/chef-client/log/main`.\n* bluepill - uses bluepill to set up the service.\n* bsd - Prints a message with the chef-client command to use in rc.local.\n\nIf your platform doesn't have a `runit` package or if the cookbook doesn't detect it, but you still want to use runit, set `init_style` to `none` and install runit separately. You may need to configure the runit services separately.\n\nUsing the `init` value for this attribute will retrieve the init scripts that are distributed with the Chef gem.\n\nThis cookbook does not yet support Upstart for Ubuntu/Debian, but that is planned for a future release, and will be specified via this attribute.\n\npath\n----\n\nThis is the base location where Chef will store data and other artifacts. Default `/srv/chef` for RubyGems installed systems. If using Chef packages for your platform, the location preference varies. The default on Debian and Red Hat based systems is a filesystem hiearchy standard (FHS) suggestion. 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----------\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------------\n\nLocation where the client will cache cookbooks and other data. Default is `cache` underneath the `chef[:path]` location. Linux distributions adhering to the FHS prefer `/var/cache/chef` instead.\n\nBase directory for data that is easily regenerated such as cookbook tarballs (`Chef::Config[:cookbook_tarballs]`) on the server, downloaded cookbooks on the client, etc. See the config templates.\n\n`backup_path`\n-------------\n\nLocation where backups of files, corresponds to the `file_backup_path` location. Defaults to `backup` under `chef[:path]` location. Set to `false` to use the old behavior which stores the backup files in the same directory as the target.\n\nFHS location suggestion: `/var/lib/chef/backup`.\n\n`serve_path`\n------------\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`\n----------------\n\nVersion of Chef to install for the server. Used by the `server_proxy` recipe to set the location of the DocumentRoot of the WebUI. Automatically determined via ohai's `chef_packages[:chef][:version]` by default.\n\n`client_version`\n----------------\n\nVersion of Chef to install for the client. Used to display a log message about the location of the init scripts when `init_style` is `init`, and can be used to upgrade `chef` gem with the `chef::bootstrap_client` recipe. Automatically determined via ohai's `chef_packages[:chef][:version]` by default.\n\n`client_interval`\n-----------------\n\nNumber of seconds to run chef-client periodically. Default `1800` (30 minutes).\n\n`client_splay`\n--------------\n\nSplay interval to randomly add to interval. Default `20`.\n\n`log_dir`\n---------\n\nWhen `init_style` is `init`, this directory needs to be created. The default is `/var/log/chef`.\n\n`client_log`, `indexer_log`, `server_log`\n-----------------------------------------\n\nThese options are deprecated to reduce complexity and potential confusion.\n\n`server_port`\n-------------\n\nPort for the Server API service to listen on. Default `4000`.\n\n`webui_port`\n------------\n\nPort for the Server WebUI service to listen on. Default `4040`.\n\n`webui_enabled`\n---------------\n\nAs of version 0.8.x+, the WebUI part of the Chef Server is optional, and disabled by default. To enable it, set this to true.\n\n`server_fqdn`\n-------------\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 URL the server expects to use by default `Chef::Config[:chef_server_url]`, 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 URL the client uses to connect to the server as `Chef::Config[:chef_server_url]`.\n\n`server_url`\n------------\n\nFull URI for the Chef Server. Used for `chef_server_url` config setting. The default value combines the attributes `chef.url_type`, `chef.server_fqdn` and `chef.server_port`, creating for example \"http://chef.example.com:4000\". If you are using the Opscode Platform, set this to \"https://api.opscode.com/organizations/ORGNAME\", where ORGNAME is your organization's simple string name.\n\nSERVER PROXY\n------------\n\nThe following attributes are used by the `server_proxy.rb` recipe, and are stored in the `server_proxy.rb` attributes file.\n\n`doc_root`\n----------\n\nDocumentRoot for the WebUI. Also gets set in the vhost for the API, but it is not used since the vhost merely proxies to the server on port 4000.\n\n`server_ssl_req`\n----------------\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\nThis attribute is now in the `server_proxy.rb` attributes file, as it is specific to that context.\n\n`server_proxy.css_expire_hours`\n-------------------------------\n\nSets expiration time for CSS in the WebUI.\n\n`server_proxy.js_expire_hours`\n------------------------------\n\nSets expiration time for JavaScript in the WebUI.\n\nRECIPES AND USAGE\n=================\n\nThis section describes the recipes in the cookbook and how to use them in your environment.\n\nBOOTSTRAPPING\n-------------\n\nThe first two recipes described are for \"bootstrapping\" a system to be a Chef Client or Chef Server, respectively. Only use these recipes with RubyGems installations of Chef.\n\nThese recipes are typically used with chef-solo using a JSON file of attributes and a run list, and a solo config file. For more information see [Bootstrap Chef RubyGems Installation](http://wiki.opscode.com/display/chef/Bootstrap+Chef+RubyGems+Installation) on the Chef Wiki.\n\n`bootstrap_client`\n------------------\n\nONLY FOR RUBYGEMS INSTALLATIONS. Do not use this recipe if you installed Chef from packages for your platform.\n\nUse this recipe to \"bootstrap\" a client so it can connect to a Chef Server. This recipe does the following:\n\n* Ensures the gem installed matches the version desired (`client_version` attribute).\n* Includes the `chef::client_service` recipe to ensure that `chef-client` is running as a service.\n* Sets up some directories for Chef to use.\n* Creates the client configuration file `/etc/chef/client.rb` based on the configuration passed via JSON.\n\nFor configuring a new client to connect to the Opscode Platform:\n\n {\n \"chef\": {\n \"server_url\": \"https://api.opscode.com/organizations/ORGNAME\"\n },\n \"run_list\": \"recipe[chef::bootstrap_client]\"\n }\n\nFor configuring a new client to connect to a local Chef Server:\n\n {\n \"chef\": {\n \"server_url\": \"http://chef.example.com:4000\"\n },\n \"run_list\": \"recipe[chef::bootstrap_client]\"\n }\n\nThis is the minimal JSON to use for the client configuration. See the ATTRIBUTES section above for more options.\n\n`bootstrap_server`\n------------------\n\nONLY FOR RUBYGEMS INSTALLATIONS. Do not use this recipe if you installed Chef from packages for your platform.\n\nUse this recipe to \"bootstrap\" a system to become a Chef Server. This recipe does the following:\n\n* Includes the `chef::bootstrap_client` recipe to configure itself to be its own client.\n* Installs CouchDB from package or source depending on the platform.\n* Installs Java for the `chef-solr` search engine.\n* Installs RabbitMQ (`rabbitmq_chef` cookbook) for the `chef-solr-indexer` consumer.\n* Installs all the Server-related Gems.\n* Creates the server configuration file `/etc/chef/server.rb` based on the configuration passed via JSON.\n* Sets up some directories for the server to use.\n* Sets up the `chef-server`, `chef-solr`, `chef-solr-indexer` services depending on the `init_style` attribute (see above).\n\nMinimal JSON to use for the server configuration:\n\n {\n \"chef\": {\n \"server_url\": \"http://localhost.localdomain:4000\",\n },\n \"run_list\": \"recipe[chef::bootstrap_server]\"\n }\n\nNote that the `chef-server-webui` is optional and can be enabled if desired by adding this to the JSON under \"chef\":\n\n \"webui_enabled\": true\n\nclient\n------\n\nThe client recipe is used to manage the configuration of an already-installed and configured Chef client. It can be used after a RubyGems installation bootstrap (per above), or with clients that were installed from platform packaging.\n\nThe recipe itself manages the `/etc/chef/client.rb` config file based on the attributes in this cookbook. When the client config is updated, the recipe will also reread the configuration during the Chef run, so the current Chef run can be dynamically changed.\n\nThis recipe does not manage the `chef-client` service. It is assumed to have been set up and started from the `bootstrap_client` recipe above, or from OS / distribution packaging. The `chef-client` service should not be restarted as a result of `/etc/chef/client.rb` changing, as that can cause the current process running the client to be restarted, having unpredictable results.\n\n`client_service`\n----------------\n\nUse this recipe on systems that should have a `chef-client` daemon running, such as when Knife bootstrap was used to install Chef on a new system.\n\nThis recipe sets up the `chef-client` service depending on the `init_style` attribute (see above). It is included by the `chef::bootstrap_client` recipe.\n\ndefault\n-------\n\nThere is no spoon :-).\n\n`delete_validation`\n-------------------\n\nUse this recipe to delete the validation certificate (default `/etc/chef/validation.pem`) when using a `chef-client` after the client has been validated and authorized to connect to the server.\n\nBeware if using this on your Chef Server. First copy the validation.pem certificate file to another location, such as your knife configuration directory (`~/.chef`) or [Chef Repository](http://wiki.opscode.com/display/chef/Chef+Repository).\n\nserver\n------\n\nThe server recipe includes the `chef::client` recipe above.\n\nThe recipe itself manages the services and the Server config file `/etc/chef/server.rb`. See above under Platform requirements for cavaet when running Chef Server installed via Debian/Ubuntu packages. Changes to the recipe to manage additional templates may be required.\n\nThe following services are managed:\n\n* chef-solr\n* chef-solr-indexer\n* chef-server\n* chef-webui (if installed)\n\nChanges to the `/etc/chef/server.rb` will trigger a restart of these services.\n\nSince the Chef Server itself typically runs the CouchDB service for the data store, the recipe will do a compaction on the Chef database and all the views associated with the Chef Server. These compactions only occur if the database/view size is more than 100Mb. It will use the configured CouchDB URL, which is `http://localhost:5984` by default. The actual value used for the CouchDB server is from the `Chef::Config[:couchdb_url]`, so this can be dynamically changed.\n\n`server_proxy`\n--------------\n\nThis recipe sets up an Apache2 VirtualHost to proxy HTTPS for the Chef Server API and WebUI.\n\nThe API will be proxied on port 443. If the `chef-serer-webui` is installed, it will be proxied on port 444. The recipe dynamically creates the OpenSSL certificate based on the `chef.server_ssl_req` attribute. It uses some additional configuration for Apache to improve performance of the webui. The virtual host template is `chef_server.conf.erb`. The DocumentRoot setting is used for the WebUI, but not the API, and is set with the attribute `chef.doc_root`.\n\nTEMPLATES\n=========\n\n`chef_server.conf.erb`\n----------------------\n\nVirtualHost file used by Apache2 in the `chef::server_proxy` recipe.\n\nclient.rb.erb\n-------------\n\nConfiguration for the client, lands in `/etc/chef/client.rb`.\n\nserver.rb.erb\n-------------\n\nConfiguration for the server and server components, lands in `/etc/chef/server.rb`. See above regarding Debian/Ubuntu packaging config files when using packages to install Chef.\n\n`sv-*run.erb`\n-------------\n\nVarious runit \"run\" scripts for the Chef services that get configured when `init_style` is \"runit\".\n\nLICENSE AND AUTHORS\n===================\n\n* Author: Joshua Timberman \n* Author: Joshua Sierles \n\n* Copyright 2008-2010, Opscode, Inc\n* Copyright 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "freebsd": [ - - ], - "openbsd": [ - - ] - }, - "dependencies": { - "runit": [ - - ], - "bluepill": [ - - ], - "daemontools": [ - - ], - "couchdb": [ - - ], - "rabbitmq_chef": [ - - ], - "apache2": [ - - ], - "openssl": [ - - ], - "zlib": [ - - ], - "xml": [ - - ], - "java": [ - - ], - "chef-server": [ - - ], - "chef-client": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "chef": "Default recipe is empty, use one of the other recipes.", - "chef::client": "Sets up a client to talk to a chef-server", - "chef::client_service": "Sets up a client daemon to run periodically", - "chef::bootstrap_client": "Set up rubygem installed chef client", - "chef::delete_validation": "Deletes validation.pem after client registers", - "chef::server": "Configures a chef API server as a merb application", - "chef::bootstrap_server": "Set up rubygem installed chef server", - "chef::server_proxy": "Configures Apache2 proxy for API and WebUI" - }, - "version": "0.99.9" -} \ No newline at end of file diff --git a/cloudkick/metadata.json b/cloudkick/metadata.json deleted file mode 100644 index 7bd839dde..000000000 --- a/cloudkick/metadata.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "cloudkick", - "description": "Installs/Configures the Cloudkick Agent", - "long_description": "Description\n===========\n\nInstalls and configures the Cloudkick Agent, and integrates it with Chef.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n\nCookbooks\n---------\n\n* apt (leverages apt_repository LWRP)\n* yum (leverages yum_repository LWRP)\n\nThe `apt_repository` and `yum_repository` LWRPs are used from these cookbooks to create the proper repository entries so the cloudkick agent can be downloaded and installed.\n\nUsage\n=====\n\nIn order for the agent to function, you'll need to have defined your Cloudkick API key and secret. We recommend you do this in a Role, which should also take care of applying the cloudkick::default recipe.\n\nAssuming you name the role 'cloudkick', here is the required json:\n\n {\n \"name\": \"cloudkick\",\n \"chef_type\": \"role\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n\n },\n \"description\": \"Configures Cloudkick\",\n \"run_list\": [\n \"recipe[cloudkick]\"\n ],\n \"override_attributes\": {\n \"cloudkick\": {\n \"oauth_key\": \"YOUR KEY HERE\"\n \"oauth_secret\": \"YOUR SECRET HERE\"\n }\n }\n }\n\nIf you want Cloudkick installed everywhere, we recommend you just add the cloudkick attributes to a base role.\n\nAll of the data about the node from Cloudkick is available in node[:cloudkick] - for example: \n\n \"cloudkick\": {\n \"oauth_key\": \"YOUR KEY HERE\",\n \"oauth_secret\": \"YOUR SECRET HERE\",\n \"data\": {\n \"name\": \"slice204393\",\n \"status\": \"running\",\n \"ipaddress\": \"173.203.83.199\",\n \"provider_id\": \"padc2665\",\n \"tags\": [\n \"agent\",\n \"cloudkick\"\n ],\n \"agent_state\": \"connected\",\n \"id\": \"n87cfc79c5\",\n \"provider_name\": \"Rackspace\",\n \"color\": \"#fffffff\"\n }\n }\n\nOf particular interest is the inclusion of the Cloudkick tags. This will allow you to search Chef via tags placed on nodes within Cloudkick:\n\n $ knife search node 'cloudkick_data_tags:agent' -a fqdn\n {\n \"rows\": [\n {\n \"fqdn\": \"slice204393\",\n \"id\": \"slice204393\"\n }\n ],\n \"start\": 0,\n \"total\": 1\n }\n \nWe automatically add a tag for each Role applied to your node. For example, if your node had a run list of:\n\n \"run_list\": [ \"role[webserver]\", \"role[database_master]\" ]\n\nThe node will automatically have the 'webserver' and 'database_master' tags within Cloudkick.\n\nLicense and Author\n==================\n\nAuthor:: Adam Jacob ()\nAuthor:: Seth Chisamore ()\nCopyright:: 2010-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "apt": ">= 0.0.0", - "yum": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "cloudkick::default": "Installs and configures Cloudkick" - }, - "version": "1.0.1" -} \ No newline at end of file diff --git a/couchdb/metadata.json b/couchdb/metadata.json deleted file mode 100644 index 9e25c7911..000000000 --- a/couchdb/metadata.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "couchdb", - "description": "Installs CouchDB package and starts service", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - ">= 8.10" - ], - "debian": [ - ">= 5.0" - ], - "openbsd": [ - - ], - "freebsd": [ - - ], - "rhel": [ - - ], - "centos": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "erlang": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "couchdb": "Installs and configures CouchDB package", - "couchdb::source": "Installs and configures CouchDB from source" - }, - "version": "0.14.1" -} \ No newline at end of file diff --git a/cron/metadata.json b/cron/metadata.json deleted file mode 100644 index a60db7f01..000000000 --- a/cron/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "providing": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "dependencies": { - }, - "recipes": { - }, - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "recommendations": { - }, - "platforms": { - }, - "license": "Apache 2.0", - "version": "0.0.1", - "suggestions": { - }, - "name": "cron", - "conflicting": { - }, - "long_description": "DESCRIPTION\n===========\n\nInstalls the cron package.\n\nREQUIREMENTS\n============\n\nWorks on any platform with a package named 'cron'.\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright 2010, 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", - "description": "Installs cron" - } \ No newline at end of file diff --git a/daemontools/metadata.json b/daemontools/metadata.json deleted file mode 100644 index 4edc02e83..000000000 --- a/daemontools/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "daemontools", - "description": "Installs/Configures daemontools", - "long_description": "Description\n===========\n\nInstalls DJB's Daemontools and includes a service LWRP.\n\nRequirements\n============\n\nShould work on ArchLinux, Debian and Ubuntu. May work on Red Hat family distributions.\n\nRequires build-essential and ucspi-tcp cookbooks.\n\nAttributes\n==========\n\n* `node[:daemontools][:bin_dir]` - Sets the location of the binaries for daemontools, default is selected by platform, or '/usr/local/bin' as a fallback.\n\nResource/Provider\n=================\n\nThis cookbook includes an LWRP for managing daemontools services.\n\nUsage\n=====\n\nLicense and Author\n==================\n\nAuthor: Joshua Timberman ()\n\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ], - "ucspi-tcp": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "daemontools": "Installs daemontools by source or package depending on platform" - }, - "version": "0.9.0" -} \ No newline at end of file diff --git a/database/metadata.json b/database/metadata.json deleted file mode 100644 index f13d28152..000000000 --- a/database/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "database", - "description": "Sets up the database master or slave", - "long_description": "Database Cookbook\n=================\n\nConfigures mysql database masters and slaves and uses EBS for storage, integrating together with the application cookbook utilizing data bags for application related information.\n\nThis cookbook is written primarily to use MySQL and the Opscode mysql cookbook. Other RDBMS may be supported at a later date.\n\nThis cookbook does not automatically restore database dumps, but does install tools to help with that.\n\nRequirements\n============\n\nChef 0.8 or higher required.\n\nPlatform\n--------\n\nUbuntu, Debian, Red Hat, CentOS or Fedora.\n\nCookbooks\n---------\n\nThe following Opscode cookbooks are dependencies:\n\n* mysql\n* xfs\n* aws\n\nRecipes\n=======\n\n`ebs_volume`\n------------\n\nLoads the aws information from the data bag. Searches the applications data bag for the database master or slave role and checks that role is applied to the node. Loads the EBS information and the master information from data bags. Uses the aws cookbook LWRP, `aws_ebs_volume` to manage the volume.\n\nOn a master node:\n* if we have an ebs volume already as stored in a data bag, attach it.\n* if we don't have the ebs information then create a new one and attach it.\n* store the volume information in a data bag via a ruby block.\n\nOn a slave node:\n* use the master volume information to generate a snapshot.\n* create the new volume from the snapshot and attach it.\n\nAlso on a master node, generate some configuration for running a snapshot via `chef-solo` from cron.\n\nOn a new filesystem volume, create as XFS, then mount it in /mnt, and also bind-mount it to the mysql data directory (default /var/lib/mysql).\n\nmaster\n------\n\nThis recipe no longer loads AWS specific information, and the database position for replication is no longer stored in a databag because the client might not have permission to write to the databag item. This may be handled in a different way at a future date.\n\nSearches the apps databag for applications, and for each one it will check that the specified database master role is set in both the databag and applied to the node's run list. Then, retrieves the passwords for `root`, `repl` and `debian` users and saves them to the node attributes. If the passwords are not found in the databag, it prints a message that they'll be generated by the mysql cookbook.\n\nThen it adds the application databag database settings to a hash, to use later.\n\nIt sets up the template resource for `/etc/mysql/app_grants.sql`, passing in the database settings so privileges for application specific database users can be created.\n\nThen it will iterate over the databases and create them with the `mysql_database` LWRP, detecting their presence with the mysql rubygem.\n\nslave\n-----\n\n_TODO_: Retrieve the master status from a data bag, then start replication using a ruby block. The replication status needs to be handled in some other way for now since the master recipe above doesn't actually set it in the databag anymore.\n\nsnapshot\n--------\n\nRun via Chef Solo. Retrieves the db snapshot configuration from the specified JSON file. Uses the `mysql_database` LWRP to lock and unlock tables, and does a filesystem freeze and EBS snapshot.\n\nDeprecated Recipes\n==================\n\nThe following recipe is considered deprecated. It is kept for reference purposes.\n\n`ebs_backup`\n------------\n\nOlder style of doing mysql snapshot and replication using Adam Jacob's [ec2_mysql](http://github.com/adamhjk/ec2_mysql) script and library.\n\nData Bags\n=========\n\nThis cookbook uses the apps data bag item for the specified application; see the `application` cookbook's README.md. It also creates data bag items in a bag named 'aws' for storing volume information. In order to interact with EC2, it expects aws to have a main item:\n\n {\n \"id\": \"main\",\n \"ec2_private_key\": \"private key as a string\",\n \"ec2_cert\": \"certificate as a string\",\n \"aws_account_id\": \"\",\n \"aws_secret_access_key\": \"\",\n \"aws_access_key_id\": \"\"\n }\n\nNote: with the Open Source Chef Server, the server using the database recipes must be an admin client or it will not be able to create data bag items. You can modify whether the client is admin by editing it with knife.\n\n knife client edit \n {\n ...\n \"admin\": true\n ...\n }\n\nThis is not required if the Chef Server is the Opscode Platform, instead use the ACL feature to modify access for the node to be able to update the data bag.\n\nUsage\n=====\n\nAside from the application data bag (see the README in the application cookbook), create a role for the database master. Use a role.rb in your chef-repo, or create the role directly with knife.\n\n % knife role show my_app_database_master\n {\n \"name\": \"my_app_database_master\",\n \"chef_type\": \"role\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n },\n \"description\": \"\",\n \"run_list\": [\n \"recipe[mysql::server]\",\n \"recipe[database::master]\"\n ],\n \"override_attributes\": {\n }\n }\n\nAlso create a `production` role, or other role based on your desired environment. This is also used in the `application` cookbook.\n\n % knife role show production\n {\n \"name\": \"production\",\n \"chef_type\": \"role\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n \"app_environment\": \"production\"\n },\n \"description\": \"production environment role\",\n \"run_list\": [\n\n ],\n \"override_attributes\": {\n }\n }\n\nThe cookbook `my_app_database` is recommended to set up any application specific database resources such as configuration templates, trending monitors, etc. It is not required, but you would need to create it separately in `site-cookbooks`. Add it to the `my_app_database_master` role.\n\nLicense and Author\n==================\n\nAuthor:: Adam Jacob ()\nAuthor:: Joshua Timberman ()\nAuthor:: AJ Christensen ()\nAuthor:: Seth Chisamore ()\n\nCopyright 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": ">= 0.0.0", - "ubuntu": ">= 0.0.0", - "centos": ">= 0.0.0", - "suse": ">= 0.0.0", - "fedora": ">= 0.0.0", - "redhat": ">= 0.0.0" - }, - "dependencies": { - "mysql": ">= 0.0.0", - "aws": ">= 0.0.0", - "xfs": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "database": "Empty placeholder", - "database::ebs_backup": "Considered deprecated, older way of backing up EBS volumes", - "database::ebs_volume": "Sets up an EBS volume in EC2 for the database", - "database::master": "Creates application specific user and database", - "database::snapshot": "Locks tables and freezes XFS filesystem for replication, assumes EC2 + EBS" - }, - "version": "0.99.0" -} \ No newline at end of file diff --git a/djbdns/metadata.json b/djbdns/metadata.json deleted file mode 100644 index f2318b707..000000000 --- a/djbdns/metadata.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "name": "djbdns", - "description": "Installs djbdns and configures DNS services", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "rhel": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ], - "runit": [ - - ], - "daemontools": [ - - ], - "bluepill": [ - - ], - "ucspi-tcp": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "djbdns/tinydns_ipaddress": { - "display_name": "DJB DNS TinyDNS IP Address", - "description": "Specify the IP address for TinyDNS", - "default": "127.0.0.1", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/tinydns_internal_ipaddress": { - "display_name": "DJB DNS TinyDNS Internal IP Address", - "description": "Specify the IP address for internal TinyDNS", - "default": "127.0.0.1", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/axfrdns_ipaddress": { - "display_name": "DJB DNS AXFR IP Address", - "description": "Specify the IP address for AXFR service", - "default": "127.0.0.1", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/public_dnscache_ipaddress": { - "display_name": "DJB DNS Public DNS Cache IP Address", - "description": "Specify the IP address for the public dnscache", - "default": "ipaddress", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/public_dnscache_allowed_networks": { - "display_name": "DJB DNS Public DNS Cache Allowed Networks", - "description": "Networks allowed to query the public dnscache", - "type": "array", - "default": [ - "ipaddress.split('.')[0,2].join('.')" - ], - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/tinydns_internal_resolved_domain": { - "display_name": "DJB DNS TinyDNS Internal Resolved Domain", - "description": "Internal domain TinyDNS is resolver", - "default": "domain", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "djbdns/bin_dir": { - "display_name": "DJB DNS Binaries Directory", - "description": "Location of the djbdns binaries", - "default": "/usr/local/bin", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "djbdns": "Installs djbdns from package or source and creates users", - "djbdns::axfr": "Sets up djbdns AXFR service", - "djbdns::cache": "Sets up public dnscache service", - "djbdns::internal_server": "Sets up internal TinyDNS", - "djbdns::server": "Sets up external TinyDNS" - }, - "version": "0.99.0" -} diff --git a/drbd/metadata.json b/drbd/metadata.json deleted file mode 100644 index 0bbbb7ab4..000000000 --- a/drbd/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - "lvm": [ - - ] - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "drbd": "Installs drbd" - }, - "replacing": { - }, - "name": "drbd", - "description": "Installs but does not configure drbd", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/dynect/metadata.json b/dynect/metadata.json deleted file mode 100644 index d9915c36a..000000000 --- a/dynect/metadata.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "dynect", - "description": "LWRP for managing DNS records with Dynect's REST API", - "long_description": "DESCRIPTION\n===========\n\nAutomatically configures system DNS using Dyn's API.\n\nREQUIREMENTS\n============\n\nChef 0.8+.\n\nA Dynect account.\n\nThe `dynect_rest` gem. The `dynect::default` recipe installs this gem from gemcutter.\n\nWorks on any platform Chef runs on that can install gems from Rubygems.org.\n\nATTRIBUTES\n==========\n\nThe following attributes need to be set either in a role or on a node directly, they are not set at the cookbook level:\n\n* dynect.customer - Customer ID\n* dynect.username - Username\n* dynect.password - Password\n* dynect.zone - Zone\n* dynect.domain - Domain\n\nExample JSON:\n\n {\n \"dynect\": {\n \"customer\": \"CUSTOMER\",\n \"username\": \"USERNAME\",\n \"password\": \"PASSWORD\",\n \"zone\": \"ZONE\",\n \"domain\": \"DOMAIN\"\n }\n }\n\nEC2 specific attributes:\n\n* dynect.ec2.type - type of system, web, db, etc. Default is 'ec2'.\n* dynect.ec2.env - logical application environment the system is in. Default is 'prod'.\n\nRESOURCES\n=========\n\nrr\n--\n\nDNS Resource Record.\n\nActions:\n\nApplies to the DNS record being managed.\n\n* `:create`\n* `:replace`\n* `:update`\n* `:delete`\n\nAttribute Parameters:\n\n* `record_type` - DNS record type (CNAME, A, etc)\n* `rdata` - record data, see the Dyn API documentation.\n* `ttl` - time to live in seconds\n* `fqdn` - fully qualified domain name\n* `username` - dyn username\n* `password` - dyn password\n* `customer` - dyn customer id\n* `zone` - DNS zone\n\nNone of the parameters have default values.\n\nExample:\n\n dynect_rr \"webprod\" do\n record_type \"A\"\n rdata({\"address\" => \"10.1.1.10\"})\n fqdn \"webprod.#{node.dynect.domain}\"\n customer node[:dynect][:customer]\n username node[:dynect][:username]\n password node[:dynect][:password]\n zone node[:dynect][:zone]\n end\n\nRECIPES\n=======\n\nThis cookbook provides the following recipes.\n\ndefault\n-------\n\nThe default recipe installs Adam Jacob's `dynect_rest` gem during the Chef run's compile time to ensure it is available in the same run as utilizing the `dynect_rr` resource/provider.\n\nec2\n---\n\n**Only use this recipe on Amazon AWS EC2 hosts!**\n\nThe `dynect::ec2` recipe provides an example of working with the Dyn API with EC2 instances. It creates CNAME records based on the EC2 instance ID (`node.ec2.instance_id`), and a constructed hostname from the dynect.ec2 attributes.\n\nThe recipe also edits resolv.conf to search compute-1.internal and the dynect.domain and use dynect.domain as the default domain, and it will set the nodes hostname per the DNS settings.\n\na_record\n--------\n\nThe `dynect::a_record` recipe will create an `A` record for the node using the detected hostname and IP address from `ohai`.\n\nFURTHER READING\n===============\n\nInformation on the Dynect API:\n\n* [PDF](http://cdn.dyndns.com/pdf/Dynect-API.pdf)\n\nDynect REST Ruby Library:\n\n* [Gem](http://rubygems.org/gems/dynect_rest)\n* [Code](http://github.com/adamhjk/dynect_rest)\n\nLICENSE AND AUTHOR\n==================\n\n- Author: Adam Jacob ()\n- Copyright: 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "dynect": "Installs the dynect_rest RubyGem", - "dynect::ec2": "Dynamically configures Dyn resource records for EC2 nodes based on instance ID and prepopulated attributes on the node", - "dynect::a_record": "Example resource usage to configure an A record" - }, - "version": "0.3.2" -} \ No newline at end of file diff --git a/emacs/metadata.json b/emacs/metadata.json deleted file mode 100644 index 25bc7fe91..000000000 --- a/emacs/metadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.0", - "providing": { - }, - "recipes": { - "emacs": "Installs Emacs" - }, - "replacing": { - }, - "name": "emacs", - "description": "Installs emacs", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/erlang/metadata.json b/erlang/metadata.json deleted file mode 100644 index eaecd8c13..000000000 --- a/erlang/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "providing": { - }, - "attributes": { - }, - "replacing": { - }, - "dependencies": { - }, - "groupings": { - }, - "recommendations": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.2", - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "recipes": { - "erlang": "Installs erlang" - }, - "maintainer_email": "cookbooks@opscode.com", - "name": "erlang", - "conflicting": { - }, - "description": "Installs erlang, optionally install GUI tools.", - "long_description": "" - } \ No newline at end of file diff --git a/fail2ban/metadata.json b/fail2ban/metadata.json deleted file mode 100644 index af46404fd..000000000 --- a/fail2ban/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "1.0.0", - "providing": { - }, - "recipes": { - "fail2ban": "Installs and configures fail2ban" - }, - "replacing": { - }, - "name": "fail2ban", - "description": "Installs and configures fail2ban", - "groupings": { - }, - "long_description": "" - } diff --git a/gecode/metadata.json b/gecode/metadata.json deleted file mode 100644 index 958eec4c4..000000000 --- a/gecode/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "gecode", - "description": "Installs gecode", - "long_description": "Description\n===========\n\nInstalls Gecode 3.5.0+ development package.\n\nRequirements\n============\n\nTested on Ubuntu and Debian with Opscode APT repository and build from source.\n\nTested on CentOS for build from source. See USAGE for information on installing RPMs.\n\nRequires the following cookbooks:\n\n* apt - for installing packages from apt.opscode.com\n* build-essential - for compiling from source\n\nUsage\n=====\n\nThe recipe is primarily used to install gecode's development package or from source in order to install the `dep_selector` gem, which needs to compile native extensions.\n\nNote that compiling gecode takes a long time, up to ~30 minutes on a 4 core Macbook Pro.\n\nOn Debian and Ubuntu systems, the recipe will attempt to install packages from apt.opscode.com. It uses the apt repository LWRP in Opscode's apt cookbook to enable the repository.\n\nOn Red Hat family distros, the recipe will attempt to install gecode from source. To install using a package the recipe needs to be updated to account for a package repository. Implementation varies depending on the package repository. For example, to retrieve the /etc/yum.repos.d/somewhere.repo that has the package available, add a condition to the main 'if' block:\n\n remote_file \"/etc/yum.repos.d/somewhere.repo\" do\n source \"http://somewhere.example.com/yum/el5/somewhere.repo\"\n owner \"root\"\n group \"root\"\n mode 0644\n end\n\n package \"gecode-devel\"\n\nLicense and Author\n==================\n\nAuthor:: Chris Walters ()\nAuthor:: Nuo Yan ()\nAuthor:: Joshua Timberman ()\n\nCopyright 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "apt": [ - - ], - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.99.0" -} \ No newline at end of file diff --git a/gems/metadata.json b/gems/metadata.json deleted file mode 100644 index c3df4400f..000000000 --- a/gems/metadata.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "name": "gems", - "description": "Sets up a local gem server repository or mirror", - "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.", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "apache2": [ - - ], - "rsync": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "gem_server": { - "display_name": "Gem Server", - "description": "Hash of Gem Server attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "gem_server/virtual_host_name": { - "display_name": "Gem Server Virtual Hostname", - "description": "Apache ServerName for the virtual host", - "default": "gems.domain", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "gem_server/virtual_host_alias": { - "display_name": "Gem Server Virtual Host Aliases", - "description": "Array of Apache ServerAlias'es", - "type": "array", - "default": "gems", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "gem_server/directory": { - "display_name": "Gem Server Directory", - "description": "Filesystem location of where the gems repository is served from", - "default": "/srv/gems", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "gems": "Empty, use one of the other recipes", - "gems::server": "Sets up a local gem server repository", - "gems::mirror": "Crons an rsync of rubyforge" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/git/metadata.json b/git/metadata.json deleted file mode 100644 index e8794b29b..000000000 --- a/git/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "git", - "description": "Installs git and/or sets up a Git server daemon", - "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.", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - "runit": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "git": "Installs git", - "git::server": "Sets up a runit_service for git daemon" - }, - "version": "0.9.0" -} \ No newline at end of file diff --git a/gnu_parallel/metadata.json b/gnu_parallel/metadata.json deleted file mode 100644 index 814202b53..000000000 --- a/gnu_parallel/metadata.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "gnu_parallel", - "description": "Installs/Configures gnu_parallel", - "long_description": "Description\n===========\n\nInstalls GNU parallel.\n\nRequirements\n============\n\nRequires `build-essential` cookbook for installing from source, which is the default.\n\nAttributes\n==========\n\nFor now see the attributes file :).\n\nUsage\n=====\n\nInclude recipe in a run list, get some GNU parallel installed. Set attributes (see attributes file for available values and defaults).\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright 2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.99.1" -} \ No newline at end of file diff --git a/god/metadata.json b/god/metadata.json deleted file mode 100644 index b99e914a4..000000000 --- a/god/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "god", - "description": "Installs and configures god and provides a define for monitoring", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - "runit": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "god": "Installs god and starts it as a runit service" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/gunicorn/metadata.json b/gunicorn/metadata.json deleted file mode 100644 index 7cae5f1fc..000000000 --- a/gunicorn/metadata.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "gunicorn", - "description": "Installs/Configures Gunicorn", - "long_description": "Description\n===========\n\nInstalls and configures the latest version of Gunicorn (via pip), aka `Green Unicorn`, a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn project. Includes an LWRP for managing Gunicorn config files. By default Gunicorn is installed system-wide but you can target a particular `virtualenv` by overriding the `node[\"gunicorn\"][\"virtualenv\"]` attribute.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n\nCookbooks\n---------\n\n* python\n\nAttributes\n==========\n\n* `node[\"gunicorn\"][\"virtualenv\"]` - the virtualenv you want to target Gunicorn installation into. The virtualenv will be created if it doesn't exist.\n\nResource/Provider\n=================\n\nThis cookbook includes LWRPs for managing gunicorn config files.\n\n`gunicorn_config`\n-----------------\n\nCreates a Gunicorn configuration file at the path specified. Meant to be deployed with a service init scheme/supervisor such as runit. Please see the `appliation::gunicorn` recipe for a complete working example. In depth information about Gunicorn's configuration values can be [found in the Gunicorn documentation](http://gunicorn.org/configure.html).\n\n# Actions\n\n- :create: create a Gunicorn configuration file.\n- :delete: delete an existing Gunicorn configuration file.\n\n# Attribute Parameters\n\n- path: name attribute. The path where the configuration file will be created\n- template: template to use when rendering the configuration file. default is `gunicorn.py.erb` (part of this cookbook)\n- cookbook: cookbook to look for template file in. default is this cookbook `gunicorn`\n- listen: the socket to bind to. A string of the form: 'HOST', 'HOST:PORT', 'unix:PATH'. default is `0.0.0.0:8000` or listen on port 8000 on all interfaces\n- backlog: The maximum number of pending connections. default is `2048`\n- preload_app: Whether application code should be loaded before the worker processes are forked. default is `false`\n- worker_processes: The number of worker process for handling requests. default is `4`\n- worker_class: The type of workers to use. default is `sync`\n- worker_timeout: The number of seconds to wait before a worker is killed and restarted. default is `60`\n- worker_keepalive: The number of seconds to wait for requests on a Keep-Alive connection. default is `2`\n- worker_max_requests: The maximum number of requests a worker will process before restarting. default is `0` or restarts disabled\n- server_hooks: A hash with whose values will be rendered as a [Gunicorn server hook](http://gunicorn.org/configure.html#server-hooks) callables (functions) named after the hash item's key name. default is `{}` or no serves hooks\n- owner: The owner for the configuration file.\n- group: The group owner of the configuration file (string or id).\n- pid: A filename to use for the PID file. default is no pidfile\n\n# Example\n \n # create a config with the default values\n gunicorn_config \"/etc/gunicorn/myapp.py\" do\n action :create\n end\n \n # tweak some worker related values...we're web scale baby\n gunicorn_config \"/etc/gunicorn/myapp.py\" do\n worker_processes 8\n backlog 4096\n action :create\n end\n \n # use the 'pre_fork' server hook to \n # sleep for a second before forking\n gunicorn_config \"/etc/gunicorn/myapp.py\" do\n server_hooks({:pre_fork => 'import time;time.sleep(1)'})\n action :create\n end\n \nUsage\n=====\n\nSimply include the recipe where you want Gunicorn installed.\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "python": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/hadoop/metadata.json b/hadoop/metadata.json deleted file mode 100644 index 0e6fd09d5..000000000 --- a/hadoop/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - "java": [ - - ] - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.1", - "providing": { - }, - "recipes": { - "hadoop::pig": "Installs hadoop's pig package", - "hadoop::conf_pseudo": "Installs hadoop-conf-pseudo and enables hadoop services", - "hadoop::hive": "Installs hadoop's hive package", - "hadoop": "Installs hadoop from Cloudera's repo", - "hadoop::doc": "Installs hadoop documentation" - }, - "replacing": { - }, - "name": "hadoop", - "description": "Installs hadoop and sets up basic cluster per Cloudera's quick start docs", - "groupings": { - }, - "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." - } \ No newline at end of file diff --git a/haproxy/metadata.json b/haproxy/metadata.json deleted file mode 100644 index 2b7ef833b..000000000 --- a/haproxy/metadata.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "haproxy", - "description": "Installs and configures haproxy", - "long_description": "= DESCRIPTION:\n\nInstalls haproxy and prepares the configuration location.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10 and higher.\n\n== Cookbooks:\n\n= ATTRIBUTES:\n\n* `node['haproxy']['member_port']` - the port that member systems will be listening on, default 80\n* `node['haproxy']['enable_admin']` - whether to enable the admin interface. default true. Listens on port 22002.\n* `node['haproxy']['app_server_role']` - used by the `app_lb` recipe to search for a specific role of member systems. Default `webserver`.\n\n= USAGE:\n\nUse either the default recipe or the app_lb recipe.\n\nWhen using the default recipe, modify the haproxy.cfg.erb file with listener(s) for your sites/servers.\n\nThe app_lb recipe is designed to be used with the application cookbook, and provides search mechanism to find the appropriate application servers. Set this in a role that includes the haproxy::app_lb recipe. For example,\n\n name \"load_balancer\"\n description \"haproxy load balancer\"\n run_list(\"recipe[haproxy::app_lb]\")\n override_attributes(\n \"haproxy\" => {\n \"app_server_role\" => \"webserver\"\n }\n )\n\nThe search also relies on an attribute \"app_environment\" being set on the node and a role named with the same value. For example, production:\n\n\n name \"production\"\n description \"Nodes in the production environment.\"\n default_attributes(\n \"app_environment\" => \"production\"\n )\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2009-2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "haproxy": "Installs and configures haproxy", - "haproxy::app_lb": "Installs and configures haproxy by searching for nodes of a particular role" - }, - "version": "0.8.1" -} \ No newline at end of file diff --git a/heartbeat/metadata.json b/heartbeat/metadata.json deleted file mode 100644 index 79dedfced..000000000 --- a/heartbeat/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - "drbd": [ - - ] - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.0", - "providing": { - }, - "recipes": { - "heartbeat": "Installs, but does not configure, heartbeat" - }, - "replacing": { - }, - "name": "heartbeat", - "description": "Installs but does not configure heartbeat", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/imagemagick/metadata.json b/imagemagick/metadata.json deleted file mode 100644 index cd1f4a7e7..000000000 --- a/imagemagick/metadata.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "imagemagick", - "description": "Installs/Configures imagemagick", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "fedora": [ - - ], - "centos": [ - - ], - "rhel": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "imagemagick": "Installs imagemagick package", - "imagemagick::rmagick": "Installs rmagick gem" - }, - "version": "0.2.0" -} \ No newline at end of file diff --git a/iptables/metadata.json b/iptables/metadata.json deleted file mode 100644 index 39662ab4d..000000000 --- a/iptables/metadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "providing": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "dependencies": { - }, - "recipes": { - "iptables": "Installs iptables and sets up .d style config directory of iptables rules" - }, - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "recommendations": { - }, - "platforms": { - "debian": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.9.2", - "suggestions": { - }, - "name": "iptables", - "conflicting": { - }, - "long_description": "", - "description": "Sets up iptables to use a script to maintain rules" - } \ No newline at end of file diff --git a/java/metadata.json b/java/metadata.json deleted file mode 100644 index 7a40ab46f..000000000 --- a/java/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "java", - "description": "Installs Java runtime.", - "long_description": "Description\n===========\n\nInstalls a Java. Uses OpenJDK by default but supports installation of the Sun's Java (Debian and Ubuntu platforms only).\n\n---\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu (OpenJDK, Sun)\n* CentOS, Red Hat, Fedora (OpenJDK, Sun)\n\nCookbooks\n---------\n\n* apt\n\n---\nAttributes\n==========\n\n* `node[\"java\"][\"install_flavor\"]` - Flavor of JVM you would like installed (`sun` or `openjdk`), default `openjdk`.\n\n---\nRecipes\n=======\n\ndefault\n-------\n\nInclude the default recipe in a run list, to get `java`. By default the `openjdk` flavor of Java is installed, but this can be changed by using the `install_flavor` attribute.\n\nopenjdk\n-------\n\nThis recipe installs the `openjdk` flavor of Java.\n\nsun\n---\n\nThis recipe installs the `sun` flavor of Java. \n\nOn Debian and Ubuntu systems the recipe will add the correct apt repository (Debian non-free or Ubuntu partner), preseed the package and update java alternatives.\n\nOn RedHat flavored Linux (RHEL, CentOS, Fedora), the installation of the Sun flavor of Java is slightly more complicated as the `rpm` package is not readily available in any public Yum repository. The `rpm` package can be downloaded directly from Sun but comes wrapped as a compressed bin file. After the file has been downloaded, decompressed and license accepted the `rpm` package can be retrieved by this recipe using the `remote_file` or `cookbook_file` resources. The recipe will choose the correct resource based on the existence of the `node['sun']['rpm_url']` attribute. See below for an example role using this attribute in the proper way. If you would like to deliver the `rpm` package file as part of this cookbook place the `rpm` package file in the `files/default` directory and the cookbook will retrieve the file during installation.\n\n---\nUsage\n=====\n\nSimply include the `java` recipe where ever you would like Java installed. \n\nTo install Sun flavored Java on Debian or Ubuntu override the `node['java']['install_flavor']` attribute with in role:\n\n name \"java\"\n description \"Install Sun Java on Ubuntu\"\n override_attributes(\n \"java\" => {\n \"install_flavor\" => \"sun\"\n }\n )\n run_list(\n \"recipe[java]\"\n )\n\nOn RedHat flavored Linux be sure to set the `rpm_url` attribute if you placed the `rpm` file on a remote server:\n\n name \"java\"\n description \"Install Sun Java on CentOS\"\n override_attributes(\n \"java\" => {\n \"install_flavor\" => \"sun\",\n \"version\" => \"6u24\",\n \"rpm_url\" => \"https://s3.amazonaws.com/foo\"\n }\n )\n run_list(\n \"recipe[java]\"\n )\n\n\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2008-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ], - "centos": [ - - ], - "redhat": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "apt": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "java": "Installs Java runtime", - "java::openjdk": "Installs the OpenJDK flavor of Java", - "java::sun": "Installs the Sun flavor of Java" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/jetty/metadata.json b/jetty/metadata.json deleted file mode 100644 index 794cdbad8..000000000 --- a/jetty/metadata.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "providing": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "description": "Installs/Configures jetty", - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "attributes": { - }, - "recommendations": { - }, - "dependencies": { - "java": [ - - ], - "jpackage": [ - - ] - }, - "suggestions": { - }, - "long_description": "Description\n===========\n\nInstalls and configures Jetty, Java servlet engine and webserver.\n\nRequirements\n============\n\nPlatform: \n\n* Debian, Ubuntu (OpenJDK, Sun)\n* CentOS, Red Hat, Fedora (OpenJDK)\n\nThe following Opscode cookbooks are dependencies:\n\n* java\n\nAttributes\n==========\n\n* `node[\"jetty\"][\"host\"]` - Listen to connections from this network host, default '0.0.0.0'.\n* `node[\"jetty\"][\"port\"]` - The network port used by Jetty, default '8080.\n* `node[\"jetty\"][\"jetty_args\"]` - Additional arguments to pass to Jetty, default ''.\n* `node[\"jetty\"][\"java_options\"]` - Extra options to pass to the JVM, default '-Xmx256m -Djava.awt.headless=true'.\n\nUsage\n=====\n\nSimply include the recipe where you want Jetty installed.\n\nTODO\n====\n\n* enable SSL support\n* instrument logging\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2010, 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", - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "name": "jetty", - "version": "0.0.1", - "conflicting": { - }, - "license": "Apache 2.0", - "recipes": { - "jetty::default": "Installs and configures Jetty" - } -} \ No newline at end of file diff --git a/jira/metadata.json b/jira/metadata.json deleted file mode 100644 index 3e1da37f6..000000000 --- a/jira/metadata.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "providing": { - }, - "attributes": { - "jira/version": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "enterprise-3.13.1", - "type": "string", - "recipes": [ - - ], - "description": "Version of Jira to download and install", - "display_name": "Jira Version" - }, - "jira/database_host": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "localhost", - "type": "string", - "recipes": [ - - ], - "description": "Hostname of the database server", - "display_name": "Jira Database Host" - }, - "jira/run_user": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "www-data", - "type": "string", - "recipes": [ - - ], - "description": "User the Jira instance should run as", - "display_name": "Jira Run User" - }, - "jira/virtual_host_name": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "jira.domain", - "type": "string", - "recipes": [ - - ], - "description": "Apache ServerName for Jira virtual host", - "display_name": "Jira Virtual Hostname" - }, - "jira/install_path": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "/srv/jira", - "type": "string", - "recipes": [ - - ], - "description": "Filesystem location for Jira", - "display_name": "Jira Install Path" - }, - "jira/virtual_host_alias": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "jira", - "type": "string", - "recipes": [ - - ], - "description": "Apache ServerAlias for Jira virtual host", - "display_name": "Jira Virtual Hostalias" - }, - "jira": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "type": "hash", - "recipes": [ - - ], - "description": "Hash of Jira attributes", - "display_name": "Jira" - }, - "jira/database_user": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "jira", - "type": "string", - "recipes": [ - - ], - "description": "Name of the database user for Jira", - "display_name": "Jira Database User" - }, - "jira/database_password": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "change_me", - "type": "string", - "recipes": [ - - ], - "description": "Password for the Jira Database User", - "display_name": "Jira Database Password" - }, - "jira/database": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "mysql", - "type": "string", - "recipes": [ - - ], - "description": "Type of database Jira should use", - "display_name": "Jira Database" - } - }, - "replacing": { - }, - "dependencies": { - "runit": [ - - ], - "java": [ - - ], - "apache2": [ - - ] - }, - "groupings": { - }, - "recommendations": { - "mysql": [ - - ] - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.2", - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "recipes": { - "jira": "Installs and configures Jira" - }, - "maintainer_email": "cookbooks@opscode.com", - "name": "jira", - "conflicting": { - }, - "description": "Installs and configures jira", - "long_description": "" - } \ No newline at end of file diff --git a/jpackage/metadata.json b/jpackage/metadata.json deleted file mode 100644 index f83faea97..000000000 --- a/jpackage/metadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "providing": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "description": "Installs/Configures jpackage", - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "attributes": { - }, - "recommendations": { - }, - "dependencies": { - "java": [ - - ] - }, - "suggestions": { - }, - "long_description": "Description\n===========\n\nConfigures and installs JPackage. Used to install Java-related packages on Red Hat flavored linuxes\n\nThe JPackage Project has two primary goals:\n\n* To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.\n* To establish an efficient and robust policy for Java software packaging and installation.\n\nRequirements\n============\n\nPlatform: \n\n* CentOS, Red Hat, Fedora\n\nThe following Opscode cookbooks are dependencies:\n\n* java\n\nAttributes\n==========\n\n* `node[\"jpackage\"][\"version\"]` - The JPackage version to install, default \"5.0\".\n\nUsage\n=====\n\nSimply include the recipe where you want JPackage installed.\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright 2010, 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", - "platforms": { - "fedora": [ - - ], - "centos": [ - - ], - "redhat": [ - - ] - }, - "name": "jpackage", - "version": "0.10.0", - "conflicting": { - }, - "license": "Apache 2.0", - "recipes": { - "jpackage::default": "Installs and configures jpackage" - } -} \ No newline at end of file diff --git a/keepalived/metadata.json b/keepalived/metadata.json deleted file mode 100644 index ba064d90f..000000000 --- a/keepalived/metadata.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "keepalived": "Installs and configures keepalived" - }, - "replacing": { - }, - "name": "keepalived", - "description": "Installs and configures keepalived", - "groupings": { - }, - "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 deleted file mode 100644 index 660c0b867..000000000 --- a/kickstart/metadata.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "kickstart", - "description": "Creates apache2 vhost and serves a kickstart file.", - "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* kickstart[:virtual_host_name] - set the ServerName for apache2 vhost.\n* kickstart[:mirror_url] - set the full URL to the \"CentOS\" directory w/ the rpms to install.\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", - "maintainer": "Opscode", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ] - }, - "dependencies": { - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "kickstart": "Empty, use one of the other recipes", - "kickstart::server": "Sets up kickstart as an apache vhost" - }, - "version": "0.4.0" -} \ No newline at end of file diff --git a/logrotate/metadata.json b/logrotate/metadata.json deleted file mode 100644 index 6c57f436c..000000000 --- a/logrotate/metadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "logrotate", - "description": "Keeps logrotate package updated and has definition for logrotate configs", - "long_description": "DESCRIPTION\n====\n\nManages the logrotate package and provides a definition to manage application specific logrotate configuration.\n\nREQUIREMENTS\n====\n\nShould work on any platform that includes a 'logrotate' package and writes logrotate configuration to /etc/logrotate.d. Tested on Ubuntu, Debian and Red Hat/CentOS.\n\nDEFINITIONS\n====\n\n* ``logrotate_app``\n\nThis definition can be used to drop off customized logrotate config files on a per application basis.\n\nThe definition takes the following params:\n\n* path: specifies a single path (string) or multiple paths (array) that should have logrotation stanzas created in the config file. No default, this must be specified.\n* enable: true/false, if true it will create the template in /etc/logrotate.d.\n* frequency: sets the frequency for rotation. Default value is 'weekly'. Valid values are: daily, weekly, monthly, yearly, see the logrotate man page for more information.\n* template: sets the template source, default is \"logrotate.erb\".\n* cookbook: select the template source from the specified cookbook. By default it will use the cookbook where the definition is used.\n* create: creation parameters for the logrotate \"create\" config, follows the form \"mode owner group\".\n\nSee USAGE below.\n\nUSAGE\n====\n\nThe default recipe will ensure logrotate is always up to date.\n\nTo create application specific logrotate configs, use the `logrotate_app` definition. For example, to rotate logs for a tomcat application named myapp that writes its log file to /var/log/tomcat/myapp.log:\n\n logrotate_app \"tomcat-myapp\" do\n cookbook \"logrotate\"\n path \"/var/log/tomcat/myapp.log\"\n frequency \"daily\"\n rotate 30\n create \"644 root adm\"\n end\n\nTo rotate multiple logfile paths, specify the path as an array:\n\n logrotate_app \"tomcat-myapp\" do\n cookbook \"logrotate\"\n path [ \"/var/log/tomcat/myapp.log\", \"/opt/local/tomcat/catalina.out\" ]\n frequency \"daily\"\n create \"644 root adm\"\n rotate 7\n end\n\nLICENSE AND AUTHOR\n====\n\nAuthor:: Scott M. Likens ()\nAuthor:: Joshua Timberman ()\nCopyright:: 2009, Scott M. Likens\nCopyright:: 2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "logrotate": "Keeps logrotate package updated" - }, - "version": "0.8.2" -} \ No newline at end of file diff --git a/logwatch/metadata.json b/logwatch/metadata.json deleted file mode 100644 index 5a1b390cc..000000000 --- a/logwatch/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - "perl": [ - - ] - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.1", - "providing": { - }, - "recipes": { - "logwatch": "Installs logwatch" - }, - "replacing": { - }, - "name": "logwatch", - "description": "Installs logwatch, a nice log analyzer", - "groupings": { - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n" - } \ No newline at end of file diff --git a/lvm/metadata.json b/lvm/metadata.json deleted file mode 100644 index 8c78a1f03..000000000 --- a/lvm/metadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "lvm": "Installs lvm2 package" - }, - "replacing": { - }, - "name": "lvm", - "description": "Installs lvm2 package", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/man/metadata.json b/man/metadata.json deleted file mode 100644 index c972c0779..000000000 --- a/man/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "man": "Installs man package" - }, - "replacing": { - }, - "name": "man", - "description": "Installs man-db", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/maradns/metadata.json b/maradns/metadata.json deleted file mode 100644 index 20fd42922..000000000 --- a/maradns/metadata.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "providing": { - }, - "attributes": { - "maradns": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "type": "hash", - "recipes": [ - - ], - "description": "Hash of MaraDNS attributes", - "display_name": "MaraDNS" - }, - "maradns/recursive_acl": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "", - "type": "string", - "recipes": [ - - ], - "description": "Sets the recursive_acl setting in mararc.erb", - "display_name": "MaraDNS Recursive ACL" - } - }, - "replacing": { - }, - "dependencies": { - }, - "groupings": { - }, - "recommendations": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.1", - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "recipes": { - "maradns": "Installs and configures maradns" - }, - "maintainer_email": "cookbooks@opscode.com", - "name": "maradns", - "conflicting": { - }, - "description": "Installs and configures maradns", - "long_description": "" - } \ No newline at end of file diff --git a/maven/metadata.json b/maven/metadata.json deleted file mode 100644 index 8daee0a31..000000000 --- a/maven/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "providing": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "description": "Installs/Configures maven", - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "attributes": { - }, - "recommendations": { - }, - "dependencies": { - "java": [ - - ], - "jpackage": [ - - ] - }, - "suggestions": { - }, - "long_description": "Description\n===========\n\nInstalls and configures Apache Maven\n\nRequirements\n============\n\nPlatform: \n\n* Debian, Ubuntu, CentOS, Red Hat, Fedora\n\nThe following Opscode cookbooks are dependencies:\n\n* java\n* jpackage\n\nAttributes\n==========\n\nUsage\n=====\n\nSimply include the recipe where you want Apache Maven installed.\n\nTODO\n====\n\n* plugin support\n* global config template - %M2_HOME%/conf/settings.xml\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright 2010, 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", - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "name": "maven", - "version": "0.10.0", - "conflicting": { - }, - "license": "Apache 2.0", - "recipes": { - } -} \ No newline at end of file diff --git a/memcached/metadata.json b/memcached/metadata.json deleted file mode 100644 index cff128b78..000000000 --- a/memcached/metadata.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "name": "memcached", - "description": "Installs memcached and provides a define to set up an instance of memcache via runit", - "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* memcached[:listen] - IP address 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "runit": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "memcached/memory": { - "display_name": "Memcached Memory", - "description": "Memory allocated for memcached instance", - "default": "64", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "memcached/port": { - "display_name": "Memcached Port", - "description": "Port to use for memcached instance", - "default": "11211", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "memcached/user": { - "display_name": "Memcached User", - "description": "User to run memcached instance as", - "default": "nobody", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "memcached/listen": { - "display_name": "Memcached IP Address", - "description": "IP address to use for memcached instance", - "default": "0.0.0.0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "memcached": "Installs and configures memcached" - }, - "version": "0.10.4" -} \ No newline at end of file diff --git a/mercurial/metadata.json b/mercurial/metadata.json deleted file mode 100644 index f4b37d17b..000000000 --- a/mercurial/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "mercurial": "Installs mercurial" - }, - "replacing": { - }, - "name": "mercurial", - "description": "Installs mercurial", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/motd-tail/metadata.json b/motd-tail/metadata.json deleted file mode 100644 index ba5d5e7f4..000000000 --- a/motd-tail/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "motd-tail", - "description": "Updates motd.tail with Chef Roles", - "long_description": "Queries Chef for the roles assigned to the node and updates motd.tail\n", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "motd": "Updates motd.tail with Chef Roles" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/munin/metadata.json b/munin/metadata.json deleted file mode 100644 index 9fbe235e1..000000000 --- a/munin/metadata.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "munin", - "description": "Installs and configures munin", - "long_description": "DESCRIPTION\n====\n\nInstalls and configures Munin for a server and for clients using Chef 0.8 search capabilities.\n\nREQUIREMENTS\n====\n\nRequires Chef 0.8+ for search capability of roles and data bags.\n\nThe monitoring server that uses this recipe should have a role named 'monitoring'. A role named after the environment (e.g., \"production\") and a node attribute `app_environment` with a value of the same should be created for all nodes. The server uses this to search for only nodes that belong to its same environment.\n\nBecause of the heavy use of search, this recipe will not work with Chef Solo, as it cannot do any searches without a server.\n\nPlatform\n----\n\nTested on Ubuntu 9.04, Ubuntu 9.10, Ubuntu 10.04, Debian 5, and ArchLinux.\n\nCookbooks\n----\n\nOpscode cookbooks\n\n* apache2\n\nTo install perl cpan modules for munin plugins\n\n* perl\n\nATTRIBUTES\n====\n\n* `['munin']['server_role']` - role of the munin server. Default is monitoring.\n* `['munin']['docroot']` - document root for the server apache vhost. on archlinux, the default is `/srv/http/munin`, or `/var/www/munin` on other platforms.\n\nRECIPES\n====\n\nclient\n----\n\nThe client recipe installs munin-node package and starts the service. It also searches for a node with the role for the munin server, by default `node['munin']['server_role']`. On Archlinux, it builds the list of plugins to enable.\n\nserver\n----\n\nThe server recipe will set up the munin server with Apache. It will create a cron job for generating the munin graphs, search for any nodes that have munin attributes (`node['munin']`), and use those nodes to connect for the graphs.\n\nUSAGE\n====\n\nCreate a role named `monitoring` that includes the munin::server recipe in the run list. Adjust the docroot to suit your environment.\n\n % cat roles/monitoring.rb\n name \"monitoring\"\n description \"The monitoring server\"\n run_list(\n \"recipe[munin::server]\"\n )\n\nApply this role to a node and it will be the munin server. Optionally create a DNS entry for it as munin, that will be used in the Apache vhost.\n\nClients will automatically search for the server based on the value of the `node['munin']['server_role']` attribute. If you don't use `monitoring` as the role name, change it in a role that is applied to any nodes that get the `munin::client` recipe.\n\nCustom Plugins\n----\n\nThis section describes how to add custom munin plugins.\n\nThe munin cookbook now has a definition that can be used to enable a new plugin for data gathering on a client. If an existing munin plugin is desired, call the definition\n\n munin_plugin \"nfs_client\"\n\nBy default the plugin file name is the name parameter here. Specify the plugin parameter to use something else.\n\n munin_plugin \"nfs_client\"\n plugin \"nfs_client_\"\n end\n\nThis creates a symlink from the plugins distribution directory, `/usr/share/munin/plugins` to the enabled plugins directory, `/etc/munin/plugins`, and once the server poller picks it up will have new graph data for that plugin. See the plugins distribution directory for available\n plugins or add your own.\n\nIf a custom plugin is required, add the plugin file to the munin cookbook in `site-cookbooks/munin/files/default/plugins`. Call the definition specifying that the plugin file should be downloaded from the cookbook.\n\n munin_plugin \"nfs_client_custom\"\n create_file true\n end\n\nBy default in both cases, the plugin is enabled. If a plugin should be disabled, use the `enable` parameter\n\n munin_plugin \"nfs_client_custom\"\n enable false\n end\n\nSome plugins may require other configuration. For example, to use the memcache plugins, you'll need the `Cache::Memcache` cpan module installed, and use the `munin_plugin` definition. The perl cookbook from opscode includes a definition to handle this easily.\n\n cpan_module \"Cache::Memcached\"\n\nThen for example in your memcache recipe\n\n %w(\n memcached_bytes_\n memcached_connections_\n memcached_hits_\n memcached_items_\n memcached_requests_\n memcached_responsetime_\n memcached_traffic_\n ).each do |plugin_name|\n munin_plugin plugin_name do\n plugin \"#{plugin_name}#{node[:ipaddress].gsub('.','_')}_#{node[:memcached][:port]}\"\n create_file true\n end\n end\n\nLICENSE and AUTHOR\n====\n\nAuthor:: Nathan Haneysmith \nAuthor:: Joshua Timberman \n\nCopyright 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "arch": [ - - ], - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "munin": "Empty, use one of the other recipes", - "munin::client": "Instlls munin and configures a client by searching for the server, which should have a role named monitoring", - "munin::server": "Installs munin and configures a server, node should have the role 'monitoring' so clients can find it" - }, - "version": "0.10.1" -} diff --git a/mysql/metadata.json b/mysql/metadata.json deleted file mode 100644 index f531e5a10..000000000 --- a/mysql/metadata.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "name": "mysql", - "description": "Installs and configures mysql for client or server", - "long_description": "Description\n===========\n\nInstalls and configures MySQL client or server.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n\nCookbooks\n---------\n\nRequires Opscode's openssl cookbook for secure password generation.\n\nRequires a C compiler and Ruby development package in order to build mysql gem with native extensions. On Debian and Ubuntu systems this is satisfied by installing the \"build-essential\" and \"ruby-dev\" packages before running Chef. See USAGE below for information on how to handle this during a Chef run.\n\nResources and Providers\n=======================\n\nThe cookbook contains a LWRP, `mysql_database` which can be used to manage databases through calls to the MySQL API. The mysql gem is installed to make this usable. The provider currently supports three actions:\n\n* `flush_tables_with_read_lock` - sends the sql command \"flush tables with read lock\", used for setting up mysql master/slave replication.\n* `unflush_tables` - sends the sql command \"unflush tables\", used for setting up master/slave replication.\n* `create_db` - specify a database to be created.\n* `query` - send an arbitrary query to the database, this should be used with care. Pass the SQL statement to use with the `sql` resource attribute.\n\nFor example see the USAGE section below.\n\nAttributes\n==========\n\n* `mysql[:server_root_password]` - Set the server's root password with this, default is a randomly generated password with `OpenSSL::Random.random_bytes`.\n* `mysql[:server_repl_password]` - Set the replication user 'repl' password with this, default is a randomly generated password with `OpenSSL::Random.random_bytes`.\n* `mysql[:server_debian_password]` - Set the debian-sys-maint user password with this, default is a randomly generated password with `OpenSSL::Random.random_bytes`.\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\nUsage\n=====\n\nOn client nodes,\n\n include_recipe \"mysql::client\"\n\nThis will install the MySQL client libraries and development headers on the system. It will also install the Ruby Gem `mysql`, so that the cookbook's LWRP (above) can be used. This is done during the compile-phase of the Chef run. On platforms that are known to have a native package (currently Debian, Ubuntu, Red hat, Centos, Fedora and SUSE), the package will be installed. Other platforms will use the RubyGem.\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 mysql_database \"create application_production database\" do\n host \"localhost\"\n username \"root\"\n password node[:mysql][:server_root_password]\n database \"application_production\"\n action :create_db\n end\n\nThis will connect to the MySQL server running on localhost as \"root\" and password as `mysql[:server_root_password]` attribute (see below) and create the database specified with the `database` parameter. The provider will attempt to determine whether the database exists first.\n\nOn server nodes,\n\n include_recipe \"mysql::server\"\n\nOn Debian and Ubuntu, this will preseed the mysql-server package with the randomly generated root password from the attributes file. On other platforms, it simply installs the required packages. It will also create an SQL file, /etc/mysql/grants.sql, that will be used to set up grants for the root, repl and debian-sys-maint users.\n\nOn EC2 nodes,\n\n include_recipe \"mysql::server_ec2\"\n\nWhen the `ec2_path` doesn't exist we look for a mounted filesystem (eg, EBS) and move the datadir there.\n\nThe client recipe is already included by server and 'default' recipes.\n\nFor more infromation on the compile vs execution phase of a Chef run:\n\n* http://wiki.opscode.com/display/chef/Anatomy+of+a+Chef+Run\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\nAuthor:: AJ Christensen ()\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2009-2011 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": ">= 0.0.0", - "ubuntu": ">= 0.0.0", - "centos": ">= 0.0.0", - "suse": ">= 0.0.0", - "fedora": ">= 0.0.0", - "redhat": ">= 0.0.0" - }, - "dependencies": { - "openssl": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "mysql/server_root_password": { - "display_name": "MySQL Server Root Password", - "description": "Randomly generated password for the mysqld root user", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/bind_address": { - "display_name": "MySQL Bind Address", - "description": "Address that mysqld should listen on", - "default": "ipaddress", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/datadir": { - "display_name": "MySQL Data Directory", - "description": "Location of mysql databases", - "default": "/var/lib/mysql", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/ec2_path": { - "display_name": "MySQL EC2 Path", - "description": "Location of mysql directory on EC2 instance EBS volumes", - "default": "/mnt/mysql", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable": { - "display_name": "MySQL Tunables", - "description": "Hash of MySQL tunable attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/key_buffer": { - "display_name": "MySQL Tuntable Key Buffer", - "default": "250M", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/max_connections": { - "display_name": "MySQL Tunable Max Connections", - "default": "800", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/wait_timeout": { - "display_name": "MySQL Tunable Wait Timeout", - "default": "180", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/net_read_timeout": { - "display_name": "MySQL Tunable Net Read Timeout", - "default": "30", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/net_write_timeout": { - "display_name": "MySQL Tunable Net Write Timeout", - "default": "30", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/back_log": { - "display_name": "MySQL Tunable Back Log", - "default": "128", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/table_cache": { - "display_name": "MySQL Tunable Table Cache for MySQL < 5.1.3", - "default": "128", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/table_open_cache": { - "display_name": "MySQL Tunable Table Cache for MySQL >= 5.1.3", - "default": "128", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "mysql/tunable/max_heap_table_size": { - "display_name": "MySQL Tunable Max Heap Table Size", - "default": "32M", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "mysql": "Includes the client recipe to configure a client", - "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_ec2": "Performs EC2-specific mountpoint manipulation" - }, - "version": "1.0.3" -} \ No newline at end of file diff --git a/nagios/metadata.json b/nagios/metadata.json deleted file mode 100644 index fb45c0e35..000000000 --- a/nagios/metadata.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "nagios", - "description": "Installs and configures nagios", - "long_description": "= DESCRIPTION:\n\nInstalls and configures Nagios 3 for a server and for clients using Chef 0.8 search capabilities.\n\n= REQUIREMENTS:\n\nRequires Chef 0.8+ for search capability of roles and data bags.\n\nA data bag named 'users' should exist, see \"DATA BAG\" below.\n\nThe monitoring server that uses this recipe should have a role named 'monitoring' or similar. A \"per-environment\" role should be created as well. See \"ROLES\" below.\n\nBecause of the heavy use of search, this recipe will not work with Chef Solo, as it cannot do any searches without a server.\n\n== Platform:\n\nTested on Ubuntu 9.04+ and Debian 5+.\n\n== Cookbooks:\n\n* apache2\n\n= ATTRIBUTES:\n\nAttributes under the 'nagios' namespace.\n\n== Client:\n\nThe following attributes are used for the client NRPE checks for warning and critical levels.\n\nchecks.memory.critical\nchecks.memory.warning\nchecks.load.critical\nchecks.load.warning\nchecks.smtp_host - default relayhost to check for connectivity. Default is an empty string, set via an attribute in a role.\nserver_role - the role that the nagios server will have in its run list that the clients can search for.\n\n== Server:\n\ndir - base server configuration directory.\nlog_dir - where the server logs.\ncache_dir - cached directory.\ndocroot - DocumentRoot for webui.\nconfig_subdir - for dropping in configurations as needed.\nnotifications_enabled - set to 1 to enable notification.\ncheck_external_commands\ndefault_contact_groups\nsysadmin_email - default notification email.\nsysadmin_sms_email - default notification sms.\nserver_auth_method - authentication with the server can be done with openid (using apache2::mod_auth_openid), or htauth (basic). The default is openid, any other value will use htauth (basic).\ntemplates\ninterval_length - minimum interval.\ndefault_host.check_interval\ndefault_host.retry_interval\ndefault_host.max_check_attempts\ndefault_host.notification_interval\ndefault_service.check_interval\ndefault_service.retry_interval\ndefault_service.max_check_attempts\ndefault_service.notification_interval\n\n= DATA BAGS:\n\nCreate a `users` data bag that will contain the users that will be able to log into the Nagios webui. Each user can use htauth with a specified password, or an openid. Users that should be able to log in should be in the sysadmin group. Example user data bag item:\n\n {\n \"id\": \"nagiosadmin\",\n \"groups\": \"sysadmin\",\n \"htpasswd\": \"hashed_htpassword\",\n \"openid\": \"http://nagiosadmin.myopenid.com/\",\n \"nagios\": {\n \"pager\": \"nagiosadmin_pager@example.com\",\n \"email\": \"nagiosadmin@example.com\"\n }\n }\n\nWhen using server_auth_method 'openid', use the openid in the data bag item. Any other value for this attribute (e.g., \"htauth\", \"htpasswd\", etc) will use the htpasswd value as the password in `/etc/nagios3/htpasswd.users`.\n\nThe openid must have the http:// and trailing /. The htpasswd must be the hashed value. Get this value with:\n\n % htpasswd -n nagiosadmin\n New password:\n Re-type new password:\n nagiosadmin:mbfzZrHsUUjds\n\nFor example use the \"mbfzZrHsUUjds\" value in the data bag.\n\n= ROLES:\n\nCreate a role to use for the monitoring server. The role name should match the value of the attribute \"nagios[:server_role]\". By default, this is 'monitoring'. For example:\n\n % cat roles/monitoring.rb\n name \"monitoring\"\n description \"Monitoring server\"\n run_list(\n \"recipe[nagios::server]\"\n )\n\n default_attributes(\n \"nagios\" => {\n \"server_auth_method\" => \"htauth\"\n }\n )\n\nAlso create per-environment role. For example, production nodes:\n\n % cat roles/production.rb\n name \"production\"\n description \"Nodes in the production environment.\"\n default_attributes(\n \"app_environment\" => \"production\"\n )\n\nMake sure to apply the production role to all nodes that should be monitored by the production monitoring server.\n\n= USAGE:\n\nFor a Nagios server, create a role named 'monitoring', and add the following recipe to the run_list:\n\n recipe[nagios::server]\n\nThis will allow client nodes to search for the server by this role and add its IP address to the allowed list for NRPE.\n\nTo install Nagios and NRPE on a client node:\n\n include_recipe \"nagios::client\"\n\nThis is a fairly complicated cookbook. We'll describe the components in detail.\n\n== Definitions:\n\nnagios_conf:: This definition is used to drop in a configuration file in the base Nagios configuration directory's conf.d. This can be used for customized configurations for various services.\n\n== Libraries:\n\ndefault:: The library included with the cookbook provides some helper methods used in templates.\n\n* nagios_boolean\n* nagios_interval - calculates interval based on interval length and a given number of seconds.\n* nagios_attr - retrieves a nagios attribute from the node.\n\n== Recipes:\n\n=== Client\n\nThe client recipe searches for allowed servers via a role named 'monitoring'. The recipe will also install the required packages and start the NRPE service. A custom plugin for checking memory is also added.\n\nClient commands for NRPE can be modified by editing the nrpe.cfg.erb template.\n\n=== Server\n\nThe server recipe sets up Apache as the web front end. The nagios::client recipe is also included. This recipe also does a number of searches to dynamically build the hostgroups to monitor, hosts that belong to them and admins to notify of events/alerts.\n\nThe recipe does the following:\n\n1. Searches for members of the sysadmins group by searching through 'users' data bag and adds them to a list for notification/contacts.\n2. Search all nodes for a role matching the app_environment.\n3. Search all available roles and build a list which will be the Nagios hostgroups.\n4. Search for all nodes of each role and add the hostnames to the hostgroups.\n5. Installs various packages required for the server.\n6. Sets up some configuration directories.\n7. Moves the package-installed Nagios configuration to a 'dist' directory.\n8. Disables the 000-default site (present on Debian/Ubuntu Apache2 package installations).\n9. Enables the Nagios web front end configuration.\n10. Sets up the configuration templates for services, contacts, hostgroups and hosts.\n\n*NOTE*: You will probably need to change the services.cfg.erb template for your environment.\n\nTo add custom commands for service checks, these can be done on a per-role basis by editing the 'services.cfg.erb' template. This template has some pre-configured checks that use role names used in an example infrastructure. Here's a brief description:\n\n* monitoring - check_smtp (e.g., postfix relayhost) w/ NRPE and tcp port 514 (e.g., rsyslog)\n* load_balancer - check_nginx with NRPE.\n* appserver - check_unicorn with NRPE, e.g. a Rails application using Unicorn.\n* database_master - check_mysql_server with NRPE for a MySQL database master.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Sierles \nAuthor:: Nathan Haneysmith \nAuthor:: Joshua Timberman \n\nCopyright 2009, 37signals\nCopyright 2009-2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "nagios": "Includes the client recipe.", - "nagios::client": "Installs and configures a nagios client with nrpe", - "nagios::server": "Installs and configures a nagios server" - }, - "version": "0.4.4" -} diff --git a/nginx/metadata.json b/nginx/metadata.json deleted file mode 100644 index a172682e7..000000000 --- a/nginx/metadata.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "name": "nginx", - "description": "Installs and configures nginx", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "redhat": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ], - "runit": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "nginx/dir": { - "display_name": "Nginx Directory", - "description": "Location of nginx configuration files", - "default": "/etc/nginx", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/log_dir": { - "display_name": "Nginx Log Directory", - "description": "Location for nginx logs", - "default": "/var/log/nginx", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/user": { - "display_name": "Nginx User", - "description": "User nginx will run as", - "default": "www-data", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/binary": { - "display_name": "Nginx Binary", - "description": "Location of the nginx server binary", - "default": "/usr/sbin/nginx", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/gzip": { - "display_name": "Nginx Gzip", - "description": "Whether gzip is enabled", - "default": "on", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/gzip_http_version": { - "display_name": "Nginx Gzip HTTP Version", - "description": "Version of HTTP Gzip", - "default": "1.0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/gzip_comp_level": { - "display_name": "Nginx Gzip Compression Level", - "description": "Amount of compression to use", - "default": "2", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/gzip_proxied": { - "display_name": "Nginx Gzip Proxied", - "description": "Whether gzip is proxied", - "default": "any", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/gzip_types": { - "display_name": "Nginx Gzip Types", - "description": "Supported MIME-types for gzip", - "type": "array", - "default": [ - "text/plain", - "text/html", - "text/css", - "application/x-javascript", - "text/xml", - "application/xml", - "application/xml+rss", - "text/javascript" - ], - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "nginx/keepalive": { - "display_name": "Nginx Keepalive", - "description": "Whether to enable keepalive", - "default": "on", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/keepalive_timeout": { - "display_name": "Nginx Keepalive Timeout", - "default": "65", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/worker_processes": { - "display_name": "Nginx Worker Processes", - "description": "Number of worker processes", - "default": "1", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/worker_connections": { - "display_name": "Nginx Worker Connections", - "description": "Number of connections per worker", - "default": "1024", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "nginx/server_names_hash_bucket_size": { - "display_name": "Nginx Server Names Hash Bucket Size", - "default": "64", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "nginx": "Installs nginx package and sets up configuration with Debian apache style with sites-enabled/sites-available", - "nginx::source": "Installs nginx from source and sets up configuration with Debian apache style with sites-enabled/sites-available" - }, - "version": "0.99.0" -} \ No newline at end of file diff --git a/nscd/metadata.json b/nscd/metadata.json deleted file mode 100644 index e74c3214a..000000000 --- a/nscd/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - "openldap": [ - - ] - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.0", - "providing": { - }, - "recipes": { - "nscd": "Installs and configures nscd" - }, - "replacing": { - }, - "name": "nscd", - "description": "Installs and configures nscd", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/ntp/metadata.json b/ntp/metadata.json deleted file mode 100644 index d2f101bf2..000000000 --- a/ntp/metadata.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "name": "ntp", - "description": "Installs and configures ntp as a client or server", - "long_description": "DESCRIPTION\n===========\n\nInstalls and configures ntp, optionally set up a local NTP server.\n\nREQUIREMENTS\n============\n\nShould work on any Red Hat-family or Debian-family Linux distribution.\n\nUSAGE\n=====\n\nSet up the ntp attributes in a role. For example in a base.rb role applied to all nodes:\n\n name \"base\"\n description \"Role applied to all systems\"\n default_attributes(\n \"ntp\" => {\n \"servers\" => [\"time.int.example.org\"]\n }\n )\n\nThen in an ntpserver.rb role that is applied to NTP servers (e.g., time.int.example.org):\n\n name \"ntp_server\"\n description \"Role applied to the system that should be an NTP server.\"\n default_attributes(\n \"ntp\" => {\n \"is_server\" => \"true\",\n \"servers\" => [\"0.pool.ntp.org\", \"1.pool.ntp.org\"]\n }\n )\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "ntp": { - "display_name": "NTP", - "description": "Hash of NTP attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "ntp/service": { - "display_name": "NTP Service", - "description": "Name of the NTP service", - "default": "ntp", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "ntp/is_server": { - "display_name": "NTP Is Server?", - "description": "Set to true if this is an NTP server", - "default": "false", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "ntp/servers": { - "display_name": "NTP Servers", - "description": "Array of servers we should talk to", - "type": "array", - "default": [ - "0.pool.ntp.org", - "1.pool.ntp.org" - ], - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "ntp": "Installs and configures ntp either as a server or client" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/ohai/metadata.json b/ohai/metadata.json deleted file mode 100644 index baf86fe3a..000000000 --- a/ohai/metadata.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "ohai", - "description": "Distributes a directory of custom ohai plugins", - "long_description": "Description\n===========\n\nCreates a configured plugin path for distributing custom Ohai plugins, and reloads them via Ohai within the context of a Chef Client run during the compile phase.\n\nAttributes\n==========\n\n`node[:ohai][:plugin_path]` - location to drop off plugins directory, default is `/etc/chef/ohai_plugins`. This is not FHS-compliant, an FHS location would be something like `/var/lib/ohai/plugins`, or `/var/lib/chef/ohai_plugins` or similar.\n\nNeither an FHS location or the default value of this attribute are in the default Ohai plugin path. Set the Ohai plugin path with the config setting \"`Ohai::Config[:plugin_path`\" in the Chef config file. The attribute is not set to the default plugin path that Ohai ships with because we don't want to risk destroying existing essential plugins for Ohai.\n\nUsage\n=====\n\nPut the recipe `ohai` at the start of the node's run list to make sure that custom plugins are loaded early on in the Chef run and data is available for later recipes.\n\nThe execution of the custom plugins occurs within the recipe during the compile phase, so you can write new plugins and use the data they return in your Chef recipes.\n\nFor information on how to write custom plugins for Ohai, please see the Chef wiki pages.\n\nhttp://wiki.opscode.com/display/chef/Writing+Ohai+Plugins\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2010, 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", - "maintainer": "Opscode, Inc", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "ohai/plugin_path": { - "display_name": "Ohai Plugin Path", - "description": "Distribute plugins to this path.", - "type": "string", - "required": "optional", - "default": "/etc/chef/ohai_plugins", - "choice": [ - - ], - "calculated": false, - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "ohai::default": "Distributes a directory of custom ohai plugins" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/openldap/metadata.json b/openldap/metadata.json deleted file mode 100644 index 21e56cefa..000000000 --- a/openldap/metadata.json +++ /dev/null @@ -1,269 +0,0 @@ -{ - "name": "openldap", - "description": "Configures a server to be an OpenLDAP master, replication slave or client for auth", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "openssh": [ - - ], - "nscd": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "openldap/basedn": { - "display_name": "OpenLDAP BaseDN", - "description": "BaseDN for the LDAP directory", - "default": "dc=domain,dc=com", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/server": { - "display_name": "OpenLDAP Server", - "description": "LDAP Server, used for URIs", - "default": "ldap.domain", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/rootpw": { - "display_name": "OpenLDAP Root Password", - "description": "Password for 'admin' root user, should be a SHA hash that OpenLDAP supports", - "default": "nil", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/dir": { - "display_name": "OpenLDAP Dir", - "description": "Main configuration directory for OpenLDAP", - "default": "/etc/ldap", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/run_dir": { - "display_name": "OpenLDAP Run Directory", - "description": "Run directory for LDAP server processes", - "default": "/var/run/slapd", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/module_dir": { - "display_name": "OpenLDAP Module Directory", - "description": "Location for OpenLDAP add-on modules", - "default": "/usr/lib/ldap", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/ssl_dir": { - "display_name": "OpenLDAP SSL Directory", - "description": "Location for LDAP SSL certificates", - "default": "openldap_dir/ssl", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/cafile": { - "display_name": "OpenLDAP CA File", - "description": "Location for CA certificate", - "default": "openldap_dir_ssl/ca.crt", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/slapd_type": { - "display_name": "OpenLDAP Slapd Type", - "description": "Whether the server is a master or slave", - "default": "nil", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/slapd_master": { - "display_name": "OpenLDP Slapd Master", - "description": "Search nodes for attribute slapd_type master, for slaves", - "default": "nil", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/slapd_replpw": { - "display_name": "OpenLDAP Slapd Replication Password", - "description": "Password for slaves to replicate from master", - "default": "nil", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/slapd_rid": { - "display_name": "OpenLDAP Slapd Replication ID", - "description": "Slave's ID, must be unique", - "default": "102", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/auth_type": { - "display_name": "OpenLDAP Auth Type", - "description": "Used in Apache configs, AuthBasicProvider", - "default": "openldap", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/auth_binddn": { - "display_name": "OpenLDAP Auth BindDN", - "description": "Used in auth_url and Apache configs, AuthBindDN", - "default": "ou=people,openldap_basedn", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/auth_bindpw": { - "display_name": "OpenLDAP Auth Bind Password", - "description": "Used in Apache configs, AuthBindPassword", - "default": "nil", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openldap/auth_url": { - "display_name": "OpenLDAP Auth URL", - "description": "Used in Apache configs, AuthLDAPURL", - "default": "ldap://openldap_server/openldap_auth_binddn?uid?sub?(objectClass=*)", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "openldap": "Empty, use one of the other recipes", - "openldap::auth": "Set up openldap for user authentication", - "openldap::client": "Install openldap client packages", - "openldap::server": "Set up openldap to be a slapd server" - }, - "version": "0.9.3" -} \ No newline at end of file diff --git a/openssh/metadata.json b/openssh/metadata.json deleted file mode 100644 index 34c54c332..000000000 --- a/openssh/metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "openssh", - "description": "Installs openssh", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "openssh": "Installs openssh" - }, - "version": "0.8.0" -} \ No newline at end of file diff --git a/openssl/metadata.json b/openssl/metadata.json deleted file mode 100644 index 1bbe4909f..000000000 --- a/openssl/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - }, - "license": "Apache 2.0", - "version": "0.1.0", - "providing": { - }, - "recipes": { - "openssl": "Empty, this cookbook provides a library, see README" - }, - "replacing": { - }, - "name": "openssl", - "description": "Installs/Configures openssl", - "groupings": { - }, - "long_description": "= DESCRIPTION:\n\nLibrary provides a method to generate secure passwords for use in recipes.\n\n= REQUIREMENTS:\n\nOpenSSL Ruby bindings must be installed, which are a requirement for Chef anyway.\n\n= USAGE:\n\nMost often this will be used to generate a secure password for an attribute.\n\n include Opscode::OpenSSL::Password\n\n set_unless[:my_password] = secure_password\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.json b/openvpn/metadata.json deleted file mode 100644 index 6b6b3c100..000000000 --- a/openvpn/metadata.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "name": "openvpn", - "description": "Installs and configures openvpn and includes rake tasks for managing certs", - "long_description": "DESCRIPTION\n====\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\nREQUIREMENTS\n====\n\nOpenSSL bindings for Ruby\n\nOpenSSL 0.9.7 or later\n\nTested on Ubuntu, but should work anywhere that has a package for OpenVPN.\n\nNot Supported\n----\n\nThis cookbook is designed to set up a basic installation of OpenVPN that will work for many common use cases. The following configurations are not supported by default with this cookbook:\n\n* setting up routers and other network devices\n* ethernet-bridging (tap interfaces)\n* dual-factor authentication\n* many other advanced OpenVPN configurations\n\nFor further modification of the cookbook see __USAGE__ below.\n\nFor more information about OpenVPN, see the [official site](http://openvpn.net/).\n\nATTRIBUTES\n====\n\nThese attributes are set by the cookbook by default.\n\n* `node[\"openvpn\"][\"local\"]` - IP to listen on, defaults to node[:ipaddress]\n* `node[\"openvpn\"][\"proto\"]` - Valid values are 'udp' or 'tcp', defaults to 'udp'.\n* `node[\"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 this cookbook.\n* `node[\"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* `node[\"openvpn\"][\"netmask\"]` - Netmask for the subnet, default is 255.255.0.0.\n* `node[\"openvpn\"][\"gateway\"]` - FQDN for the VPN gateway server. Default is `node[\"fqdn\"]`.\n* `node[\"openvpn\"][\"log\"]` - Server log file. Default /var/log/openvpn.log\n* `node[\"openvpn\"][\"key_dir\"]` - Location to store keys, certificates and related files. Default `/etc/openvpn/keys`.\n* `node[\"openvpn\"][\"signing_ca_cert\"]` - CA certificate for signing, default `/etc/openvpn/keys/ca.crt`\n* `node[\"openvpn\"][\"signing_ca_key\"]` - CA key for signing, default `/etc/openvpn/keys/ca.key`\n* `node[\"openvpn\"][\"push\"]` - Array of routes to add as `push` statements in the server.conf. Default is empty.\n\nThe following attributes are used to populate the `easy-rsa` vars file. Defaults are the same as the vars file that ships with OpenVPN.\n\n* `node[\"openvpn\"][\"key\"][\"ca_expire\"]` - In how many days should the root CA key expire - `CA_EXPIRE`.\n* `node[\"openvpn\"][\"key\"][\"expire\"]` - In how many days should certificates expire - `KEY_EXPIRE`.\n* `node[\"openvpn\"][\"key\"][\"size\"]` - Default key size, set to 2048 if paranoid but will slow down TLS negotiation performance - `KEY_SIZE`.\n\nThe following are for the default values for fields place in the certificate from the vars file. Do not leave these blank.\n\n* `node[\"openvpn\"][\"key\"][\"country\"]` - `KEY_COUNTRY`\n* `node[\"openvpn\"][\"key\"][\"province\"]` - `KEY_PROVINCE`\n* `node[\"openvpn\"][\"key\"][\"city\"]` - `KEY_CITY`\n* `node[\"openvpn\"][\"key\"][\"org\"]` - `KEY_ORG`\n* `node[\"openvpn\"][\"key\"][\"email\"]` - `KEY_EMAIL`\n\nRECIPES\n====\n\ndefault\n----\n\nSets up an OpenVPN server.\n\nusers\n----\n\nUtilizes a data bag called `users` to generate OpenVPN keys for each user.\n\nUSAGE\n====\n\n\nCreate a role for the OpenVPN server. See above for attributes that can be entered here.\n\n % cat roles/openvpn.rb\n name \"openvpn\"\n description \"The server that runs OpenVPN\"\n run_list(\"recipe[openvpn]\")\n override_attributes(\n \"openvpn\" => {\n \"gateway\" => \"vpn.example.com\",\n \"subnet\" => \"10.8.0.0\",\n \"netmask\" => \"255.255.0.0\",\n \"key\" => {\n \"country\" => \"US\",\n \"province\" => \"CA\",\n \"city\" => \"SanFrancisco\",\n \"org\" => \"Fort-Funston\",\n \"email\" => \"me@example.com\"\n }\n }\n )\n\nTo push routes to clients, add `node['openvpn']['push']` as an array attribute, e.g. if the internal network is 192.168.100.0/24:\n\n override_attributes(\n \"openvpn\" => {\n \"push\" => [\n \"push 'route 192.168.100.0 255.255.255.0'\"\n ]\n }\n )\n\nTo automatically create new certificates and configurations for users, create data bags for each user. The only content required is the `id`, but this can be used in conjunction with other cookbooks by Opscode such as `users` or `samba`. See __SSL Certificates__ below for more about generating client certificate sets.\n\n % cat data_bags/users/jtimberman.json\n {\n \"id\": \"jtimberman\"\n }\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. Modify to suit your needs, upload the cookbook and re-run chef on the openvpn server. For example, you'll probably want to enable IP forwarding (sample Linux setting is commented out).\n\nCustomizing Server Configuration\n----\n\nTo further customize the server configuration, there are two templates that can be modified in this cookbook.\n\n* templates/default/server.conf.erb\n* templates/default/server.up.sh.erb\n\nThe first is the OpenVPN server configuration file. Modify to suit your needs for more advanced features of [OpenVPN](http://openvpn.net). The second is an `up` script run when OpenVPN starts. This is where you can add firewall rules, enable IP forwarding and other OS network settings required for OpenVPN. Attributes in the cookbook are provided as defaults, you can add more via the openvpn role if you need them.\n\nSSL Certificates\n----\n\nSome of the easy-rsa tools are copied to /etc/openvpn/easy-rsa to provide the minimum to generate the certificates using the default and users recipes. We provide a Rakefile to make it easier to generate client certificate sets if you're not using the data bags above. To generate new client certificates you will need `rake` installed (either as a gem or a package), then run:\n\n cd /etc/openvpn/easy-rsa\n source ./vars\n rake client name=\"CLIENT_NAME\" gateway=\"vpn.example.com\"\n\nReplace `CLIENT_NAME` and `vpn.example.com` with your desired values. The rake task will generate a tar.gz file with the configuration and certificates for the client.\n\nLICENSE and AUTHOR\n====\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2009-2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "openvpn/local": { - "display_name": "OpenVPN Local", - "description": "Local interface (ip) to listen on", - "default": "ipaddress", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openvpn/proto": { - "display_name": "OpenVPN Protocol", - "description": "UDP or TCP", - "default": "udp", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openvpn/type": { - "display_name": "OpenVPN Type", - "description": "Server or server-bridge", - "default": "server", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openvpn/subnet": { - "display_name": "OpenVPN Subnet", - "description": "Subnet to hand out to clients", - "default": "10.8.0.0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "openvpn/netmask": { - "display_name": "OpenVPN Netmask", - "description": "Netmask for clients", - "default": "255.255.0.0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "openvpn": "Installs and configures openvpn", - "openvpn::users": "Sets up openvpn cert/configs for users data bag items" - }, - "version": "0.99.1" -} diff --git a/ossec/metadata.json b/ossec/metadata.json deleted file mode 100644 index b56d20cb5..000000000 --- a/ossec/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "ossec", - "description": "Installs/Configures ossec", - "long_description": "Description\n====\n\nInstalls OSSEC from source in a server-agent installation. See:\n\nhttp://www.ossec.net/main/manual/manual-installation/\n\nRequirements\n====\n\nTested on Ubuntu and ArchLinux, but should work on any Unix/Linux platform supported by OSSEC. Installation by default is done from source, so the build-essential cookbook needs to be used (see below).\n\nThis cookbook doesn't configure Windows systems yet. For information on installing OSSEC on Windows, see the [free chapter](http://www.ossec.net/ossec-docs/OSSEC-book-ch2.pdf)\n\nCookbooks\n----\n\nbuild-essential is required for the default installation because it compiles from source. The cookbook may require modification to support other platforms' build tools - modify it accordingly before using.\n\nAttributes\n====\n\nDefault values are based on the defaults from OSSEC's own install.sh installation script.\n\n* `node['ossec']['server_role']` - When using server/agent setup, this role is used to search for the OSSEC server, default `ossec_server`.\n* `node['ossec']['checksum']` - SHA256 checksum of the source. Verified with SHA1 sum from OSSEC site.\n* `node['ossec']['version']` - Version of OSSEC to download/install. Used in URL.\n* `node['ossec']['url']` - URL to download the source.\n* `node['ossec']['logs']` - Array of log files to analyze. Default is an empty array. These are in addition to the default logs in the ossec.conf.erb template.\n* `node['ossec']['syscheck_freq']` - Frequency that syscheck is executed, default 22 hours (79200 seconds)\n* `node['ossec']['server']['maxagents']` - Maximum number of agents, default setting is 256, but will be set to 1024 in the ossec::server recipe if used. Add as an override attribute in the `ossec_server` role if more nodes are required.\n\nThe `user` attributes are used to populate the config file (ossec.conf) and preload values for the installation script.\n\n* `node['ossec']['user']['language']` - Language to use for installation, default en.\n* `node['ossec']['user']['install_type']` - What kind of installation to perform, default is local. Using the client or server recipe will set this to `agent` or `server`, respectively.\n* `node['ossec']['user']['dir']` - Installation directory for OSSEC, default `/var/ossec`.\n* `node['ossec']['user']['delete_dir']` - Whether to delete the existing OSSEC installation directory, default true.\n* `node['ossec']['user']['active_response']` - Whether to enable active response feature of OSSEC, default true. It is safe and recommended to leave this enabled.\n* `node['ossec']['user']['syscheck']` - Whether to enable the integrity checking process, syscheck. Default true. It is safe and recommended to leave this enabled.\n* `node['ossec']['user']['rootcheck']` - Whether to enable the rootkit checking process, rootcheck. Default true. It is safe and recommended to leave this enabled.\n* `node['ossec']['user']['update']` - Whether an update installation should be done, default false.\n* `node['ossec']['user']['update_rules']` - Whether to update rules files, default true.\n* `node['ossec']['user']['binary_install']` - If true, use the binaries in the bin directory rather than compiling. Default false. The cookbook doesn't yet support binary installations.\n* `node['ossec']['user']['agent_server_ip']` - The IP of the OSSEC server. The client recipe will attempt to determine this value via search. Default is nil, only required for agent installations.\n* `node['ossec']['user']['enable_email']` - Enable or disable email alerting. Default is true.\n* `node['ossec']['user']['email']` - Destination email address for OSSEC alerts. Default is `ossec@example.com` and should be changed via a role attribute.\n* `node['ossec']['user']['smtp']` - Sets the SMTP relay to send email out. Default is 127.0.0.1, which assumes that a local MTA is set up (e.g., postfix).\n* `node['ossec']['user']['remote_syslog']` - Whether to enable the remote syslog server on the OSSEC server. Default false, not relevant for non-server.\n* `node['ossec']['user']['firewall_response']` - Enable or disable the firewall response which sets up firewall rules for blocking. Default is true.\n* `node['ossec']['user']['pf']` - Enable PF firewall on BSD, default is false.\n* `node['ossec']['user']['pf_table']` - The PF table to use on BSD. Default is false, set this to the desired table if enabling `pf`.\n* `node['ossec']['user']['white_list']` - Array of additional IP addresses to white list. Default is empty.\n\nRecipes\n====\n\ndefault\n----\n\nThe default recipe downloads and installs the OSSEC source and makes sure the configuration file is in place and the service is started. Use only this recipe if setting up local-only installation. The server and client recipes (below) will set their installation type and include this recipe.\n\nagent\n----\n\nOSSEC uses the term `agent` instead of client. The agent recipe includes the `ossec::client` recipe.\n\nclient\n----\n\nConfigures the system as an OSSEC agent to the OSSEC server. This recipe will search for the server based on `node['ossec']['server_role']`. It will also set the `install_type` and `agent_server_ip` attributes. The ossecd user will be created with the SSH key so the server can distribute the agent key.\n\nserver\n----\n\nSets up a system to be an OSSEC server. This recipe will set the `node['ossec']['server']['maxagents']` value to 1024 if it is not set on the node (e.g., via a role). It will search for all nodes that have an `ossec` attribute and add them as an agent.\n\nTo manage additional agents on the server that don't run chef, or for agentless OSSEC configuration (for example, routers), add a new node for them and create the `node['ossec']['agentless']` attribute as true. For example if we have a router named gw01.example.com with the IP `192.168.100.1`:\n\n % knife node create gw01.example.com\n {\n \"name\": \"gw01.example.com\",\n \"json_class\": \"Chef::Node\",\n \"automatic\": {\n },\n \"normal\": {\n \"hostname\": \"gw01\",\n \"fqdn\": \"gw01.example.com\",\n \"ipaddress\": \"192.168.100.1\",\n \"ossec\": {\n \"agentless\": true\n }\n },\n \"chef_type\": \"node\",\n \"default\": {\n },\n \"override\": {\n },\n \"run_list\": [\n ]\n }\n\nEnable agentless monitoring in OSSEC and register the hosts on the server. Automated configuration of agentless nodes is not yet supported by this cookbook. For more information on the commands and configuration directives required in `ossec.conf`, see the [OSSEC Documentation](http://www.ossec.net/doc/manual/agent/agentless-monitoring.html)\n\nUsage\n====\n\nThe cookbook can be used to install OSSEC in one of the three types:\n\n* local - use the ossec::default recipe.\n* server - use the ossec::server recipe.\n* agent - use the ossec::client recipe\n\nFor local-only installations, add just `recipe[ossec]` to the node run list, or put it in a role (like a base role).\n\nServer/Agent\n----\n\nThis section describes how to use the cookbook for server/agent configurations.\n\nThe server will use SSH to distribute the OSSEC agent keys. Create a data bag `ossec`, with an item `ssh`. It should have the following structure:\n\n {\n \"id\": \"ssh\",\n \"pubkey\": \"\",\n \"privkey\": \"\"\n }\n\nGenerate an ssh keypair and get the privkey and pubkey values. The output of the two ruby commands should be used as the privkey and pubkey values respectively in the data bag.\n\n ssh-keygen -t rsa -f /tmp/id_rsa\n ruby -e 'puts IO.read(\"/tmp/id_rsa\")'\n ruby -e 'puts IO.read(\"/tmp/id_rsa.pub\")'\n\nFor the OSSEC server, create a role, `ossec_server`. Add attributes per above as needed to customize the installation.\n\n % cat roles/ossec_server.rb\n name \"ossec_server\"\n description \"OSSEC Server\"\n run_list(\"recipe[ossec::server]\")\n override_attributes(\n \"ossec\" => {\n \"user\" => {\n \"email\" => \"ossec@yourdomain.com\",\n \"smtp\" => \"smtp.yourdomain.com\"\n }\n }\n )\n\nFor OSSEC agents, create a role, `ossec_client`.\n\n % cat roles/ossec_client.rb\n name \"ossec_client\"\n description \"OSSEC Client Agents\"\n run_list(\"recipe[ossec::client]\")\n override_attributes(\n \"ossec\" => {\n \"user\" => {\n \"email\" => \"ossec@yourdomain.com\",\n \"smtp\" => \"smtp.yourdomain.com\"\n }\n }\n )\n\nCustomization\n----\n\nThe main configuration file is maintained by Chef as a template, `ossec.conf.erb`. It should just work on most installations, but can be customized for the local environment. Notably, the rules, ignores and commands may be modified.\n\nFurther reading:\n\n* [OSSEC Documentation](http://www.ossec.net/doc/index.html)\n* [OSSEC Wiki](http://www.ossec.net/wiki/OSSEC)\n\nLicense and Author\n====\n\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ], - "arch": [ - - ], - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.1" -} \ No newline at end of file diff --git a/pacman/metadata.json b/pacman/metadata.json deleted file mode 100644 index ad57b0758..000000000 --- a/pacman/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "pacman", - "description": "Updates package list for pacman and has LWRP for pacman groups", - "long_description": "DESCRIPTION\n===========\n\nRefreshes the pacman package cache from the FTP servers and provides LWRPs related to pacman\n\nREQUIREMENTS\n============\n\nPlatform: ArchLinux. Pacman is not relevant on other platforms.\n\nRESOURCES\n=========\n\n`pacman_group`\n--------------\n\nUse the `pacman_group` resource to install or remove pacman package groups. Note that at this time the LWRP will check if the group is installed but doesn't do a lot of error checking or handling. File a ticket on the COOK project at tickets.opscode.com for improvements and feature requests.\n\nThe `options` parameter can be used to pass arbitrary options to the pacman command.\n\n`pacman_aur`\n------------\n\nUse the `pacman_aur` resource to install packages from ArchLinux's AUR repository.\n\n### Actions:\n\n* :build - Builds the package.\n* :install - Installs the built package.\n\n### Parameters:\n\n* version - hardcode a version\n* builddir - specify an alternate build directory, defaults to `Chef::Config[:file_cache_path]/builds`.\n* options - pass arbitrary options to the pacman command.\n* `pkgbuild_src` - whether to use an included PKGBUILD file, put the PKGBUILD file in in the `files/default` directory.\n* patches - array of patch names, as files in `files/default` that should be applied for the package.\n\nhttp://aur.archlinux.org/\n\nUSAGE\n=====\n\nInclude `recipe[pacman]` early in the run list, preferably first, to ensure that the package caches are updated before trying to install new packages.\n\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.1" -} \ No newline at end of file diff --git a/passenger_apache2/metadata.json b/passenger_apache2/metadata.json deleted file mode 100644 index 16804990d..000000000 --- a/passenger_apache2/metadata.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "passenger_apache2", - "description": "Installs passenger for Apache2", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "packages": [ - - ], - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "passenger_apache2": "Installs Passenger as an Apache module", - "passenger_apache2::mod_rails": "Enables Apache module configuration for passenger module" - }, - "version": "0.99.0" -} \ No newline at end of file diff --git a/pdns/metadata.json b/pdns/metadata.json deleted file mode 100644 index 5b3580cd7..000000000 --- a/pdns/metadata.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "pdns", - "description": "Installs/Configures pdns", - "long_description": "Description\n===========\n\nInstalls and configures PowerDNS (pdns). Sets up a recursor by default and can set up an Authoritative Server with multiple backends.\n\nRequirements\n============\n\nTested on ArchLinux, and Ubuntu. Should work on Debian and Red Hat family, but needs EPEL repository enabled.\n\nAttributes\n==========\n\nAttributes used by the recipes and templates. Some correspond to configuration file values. The default setting in the attribute matches the default value in PowerDNS itself where possible and is populated in the appropriate template (`/etc/powerdns/recursor.conf` and `/etc/powerdns/pdns.conf` respectively for the recursor or server). Where applicable, values are namespaced in the attributes by `server` or `recursor`.\n\nWhere a list of values is used by the PowerDNS config, we use an Array value populated with the defaults. This gives more flexibility in recipes to manipulate the list easily using Ruby Array methods.\n\n* `node[\"pdns\"][\"user\"]` - User to setuid the pdns daemons, default pdns.\n* `node[\"pdns\"][\"group\"]` - Group to setuid the pdns daemons, default pdns.\n* `node[\"pdns\"][\"server\"][\"config_dir\"]` - Config directory location for pdns.conf.\n* `node[\"pdns\"][\"recursor\"][\"config_dir\"]` - Config directory location for recursor.conf.\n\nserver\n------\n\n* `node[\"pdns\"][\"server\"][\"backend\"]` - Selects the PDNS database backend, default 'sqlite3' (only option available at this time).\n* `node[\"pdns\"][\"server\"][\"sqlite_file\"]` - Filename for the sqlite database. Only used if the backend is gsqlite.\n* `node[\"pdns\"][\"server\"][\"local_address\"]` - Array list of the local IPv4 or IPv6 addresses to bind to, corresponds to the recursor.conf value `local-address` default [\"127.0.0.1\"] under the assumption that the recursor is used with an Authoritative Server on the same system and passes local zone requests to the loopback.\n\nrecursor\n--------\n\n* `node[\"pdns\"][\"recursor\"][\"allow_from\"]` - Array list of netmasks to recurse, corresponds to recursor.conf value `allow-from`, default [\"127.0.0.0/8\", \"0.0.0.0/8\", \"92.168.0.0/16\", \"72.16.0.0/12\", \":1/128\", \"e80::/10\"].\n* `node[\"pdns\"][\"recursor\"][\"auth_zones\"]` - Array list of 'zonename=filename' pairs served authoritatively, corresponds to recursor.conf value `auth-zones`, default [].\n* `node[\"pdns\"][\"recursor\"][\"forward_zones\"]` - Array list of 'zonename=IP' pairs. Queries for the zone are forwarded to the specified IP, corresponds to recursor.conf value `forward-zones`, default [].\n* `node[\"pdns\"][\"recursor\"][\"forward_zones_recurse\"]` - Array list of 'zonename=IP' pairs. Like `forward_zones` above, sets the `recursion_desired` bit to 1, corresponds to recursor.conf value `forward-zones-recurse`, default [].\n* `node[\"pdns\"][\"recursor\"][\"local_address\"]` - Array list of the local IPv4 or IPv6 addresses to bind to, corresponds to the recursor.conf value `local-address` default [ipaddress] under the assumption that the recursor is used with an Authoritative Server on the same system.\n* `node[\"pdns\"][\"recursor\"][\"local_port\"]` - Local port to bind, default '53'.\n\nRecipes\n=======\n\ndefault\n-------\n\nIncludes the `pdns::recursor` recipe.\n\nrecursor\n--------\n\nSets up a PowerDNS Recursor.\n\nserver\n------\n\nSets up a PowerDNS Authoritative Server. Uses the SQLite backend by default with the `pdns::sqlite` recipe.\n\nsqlite\n------\n\nSets up an SQLite database backend for the `pdns::server`. This backend is the default.\n\nUsage\n=====\n\nTo set up a Recursor, simply put `recipe[pdns]` in the run list. Modify the attributes via a role or on the node directly as required for the local configuration. If using the recursor with an Authoritative Server running on the same system, the local address and port should be changed to a public IP and the forward zones recurse setting to point at the loopback for the local zone. This is generally assumed, and the default listen interface for the recursor is set to the nodes ipaddress attribute.\n\nTo set up an authoritative server, put `recipe[pdns::server]` in the run list. If another backend besides SQLite is desired, change the `node[\"pdns\"][\"server\"][\"backend\"]` attribute.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "sqlite": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.0.1" -} \ No newline at end of file diff --git a/perl/metadata.json b/perl/metadata.json deleted file mode 100644 index b73d88a10..000000000 --- a/perl/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "perl", - "description": "Installs perl and provides a define for maintaining CPAN modules", - "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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "redhat": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "perl": "Installs perl and provides a script to install cpan modules" - }, - "version": "0.10.0" -} \ No newline at end of file diff --git a/php/metadata.json b/php/metadata.json deleted file mode 100644 index 23f0beaa0..000000000 --- a/php/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "php", - "description": "Installs and maintains php and php modules", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": ">= 0.0.0", - "ubuntu": ">= 0.0.0", - "centos": ">= 0.0.0", - "redhat": ">= 0.0.0", - "fedora": ">= 0.0.0" - }, - "dependencies": { - "build-essential": ">= 0.0.0", - "xml": ">= 0.0.0", - "mysql": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "php": "Installs php", - "php::package": "Installs php using packages.", - "php::source": "Installs php from source.", - "php::module_apc": "Install the php5-apc package", - "php::module_curl": "Install the php5-curl package", - "php::module_fileinfo": "Install the php5-fileinfo package", - "php::module_fpdf": "Install the php-fpdf package", - "php::module_gd": "Install the php5-gd package", - "php::module_ldap": "Install the php5-ldap package", - "php::module_memcache": "Install the php5-memcache package", - "php::module_mysql": "Install the php5-mysql package", - "php::module_pgsql": "Install the php5-pgsql packag", - "php::module_sqlite3": "Install the php5-sqlite3 package" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/postfix/metadata.json b/postfix/metadata.json deleted file mode 100644 index 82fc46c23..000000000 --- a/postfix/metadata.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "providing": { - }, - "attributes": { - "postfix/smtp_sasl_password_maps": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "hash:/etc/postfix/sasl_passwd", - "type": "string", - "recipes": [ - - ], - "description": "hashmap of SASL passwords", - "display_name": "Postfix SMTP SASL Password Maps" - }, - "postfix/smtp_sasl_security_options": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "noanonymous", - "type": "string", - "recipes": [ - - ], - "description": "Sets the value of smtp_sasl_security_options in main.cf", - "display_name": "Postfix SMTP SASL Security Options" - }, - "postfix/myorigin": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "$myhostname", - "type": "string", - "recipes": [ - - ], - "description": "Sets the myorigin value in main.cf", - "display_name": "Postfix Myorigin" - }, - "postfix/smtp_sasl_user_name": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "", - "type": "string", - "recipes": [ - - ], - "description": "User to auth SMTP via SASL", - "display_name": "Postfix SMTP SASL Username" - }, - "postfix/mail_relay_networks": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "127.0.0.0/8", - "type": "string", - "recipes": [ - - ], - "description": "Sets the mynetworks value in main.cf", - "display_name": "Postfix Mail Relay Networks" - }, - "postfix/myhostname": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "fqdn", - "type": "string", - "recipes": [ - - ], - "description": "Sets the myhostname value in main.cf", - "display_name": "Postfix Myhostname" - }, - "postfix/smtp_tls_cafile": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "/etc/postfix/cacert.pem", - "type": "string", - "recipes": [ - - ], - "description": "CA certificate file for SMTP over TLS", - "display_name": "Postfix SMTP TLS CA File" - }, - "postfix/mail_type": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "client", - "type": "string", - "recipes": [ - - ], - "description": "Is this node a client or server?", - "display_name": "Postfix Mail Type" - }, - "postfix/smtp_sasl_passwd": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "", - "type": "string", - "recipes": [ - - ], - "description": "Password for smtp_sasl_user_name", - "display_name": "Postfix SMTP SASL Password" - }, - "postfix/smtp_use_tls": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "yes", - "type": "string", - "recipes": [ - - ], - "description": "Whether SMTP SASL Auth should use TLS encryption", - "display_name": "Postfix SMTP Use TLS?" - }, - "postfix/relayhost": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "", - "type": "string", - "recipes": [ - - ], - "description": "Sets the relayhost value in main.cf", - "display_name": "Postfix Relayhost" - }, - "postfix/smtp_sasl_auth_enable": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "no", - "type": "string", - "recipes": [ - - ], - "description": "Enable SMTP SASL Authentication", - "display_name": "Postfix SMTP SASL Auth Enable" - }, - "postfix/mydomain": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "domain", - "type": "string", - "recipes": [ - - ], - "description": "Sets the mydomain value in main.cf", - "display_name": "Postfix Mydomain" - }, - "postfix": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "type": "hash", - "recipes": [ - - ], - "description": "Hash of Postfix attributes", - "display_name": "Postfix" - } - }, - "replacing": { - }, - "dependencies": { - }, - "groupings": { - }, - "recommendations": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.2", - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "recipes": { - "postfix::sasl_auth": "Set up postfix to auth to a server with sasl", - "postfix": "Installs and configures postfix" - }, - "maintainer_email": "cookbooks@opscode.com", - "name": "postfix", - "conflicting": { - }, - "description": "Installs and configures postfix for client or outbound relayhost, or to do SASL auth", - "long_description": "" - } \ No newline at end of file diff --git a/postgresql/metadata.json b/postgresql/metadata.json deleted file mode 100644 index 84c1b516b..000000000 --- a/postgresql/metadata.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "postgresql", - "description": "Installs and configures postgresql for clients or servers", - "long_description": "= DESCRIPTION:\n\nInstalls and configures postgresql client or server.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on CentOS 5.5, Ubuntu 10.04 but should support centos, redhat, fedora, suse, ubuntu and debian.\n\n== Cookbooks:\n\n= ATTRIBUTES: \n\n* postgresql[:dir] - configuration file location.\n* postgresql[:version] - Version of postgresql to use. Configured in attributes based on platform.\n* postgresql[:ssl] - used on debian family installs to enable ssl support. The debian post installation script automatically builds the certificates.\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). This will check the platform that the node is and include either redhat family recipe (postgresql::server_redhat) or debian family (postgresql::server_debian) because the two styles differ quite a bit.\n\nThe templates provided by this cookbook will probably need to be tweaked for the local environment, no tuning parameters are specified in them. The templates are separated by family designation in the template directory, since Chef doesn't do \"platform family\" style file specificity.\n\n= LICENSE and AUTHOR:\n \nAuthor:: Joshua Timberman ()\n\nCopyright:: 2009-2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "rhel": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ], - "suse": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "postgresql": "Empty, use one of the other recipes", - "postgresql::client": "Installs postgresql client package(s)", - "postgresql::server": "Installs postgresql server packages, debian family style", - "postgresql::redhat": "Installs postgresql server packages, redhat family style" - }, - "version": "0.11.1" -} \ No newline at end of file diff --git a/powershell/metadata.json b/powershell/metadata.json deleted file mode 100644 index 3a8bc443d..000000000 --- a/powershell/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "powershell", - "description": "Installs/Configures PowerShell 2.0 on the Windows platform", - "long_description": "Description\n===========\n\nInstalls and configures PowerShell 2.0. Also include an LWRP for executing scripts using the PowerShell interpreter.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Windows XP\n* Windows Server 2003\n* Windows Vista\n* Windows 7\n* Windows Server 2008 (R1, R2)\n\nAttributes\n==========\n\nResource/Provider\n=================\n\n`powershell_script`\n-------------------\n\nfoooooooooo\n\n# Actions\n\n- :run: run the script\n\n# Attribute Parameters\n\n- command: name attribute. Name of the command to execute.\n- creates: a file this command creates - if the file exists, the command will not be run.\n- code: quoted string of code to execute.\n- cwd: current working directory to run the command from.\n- environment: A hash of environment variables to set before running this command.\n- group: A group name or group ID that we should change to before running this command.\n- path: An array of paths to use when searching for the command.\n- user: A user name or user ID that we should change to before running this command.\n\nUsage\n=====\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/pxe_dust/metadata.json b/pxe_dust/metadata.json deleted file mode 100644 index 9ce37f55c..000000000 --- a/pxe_dust/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "pxe_dust", - "description": "Configures installing Ubuntu with preseed files via PXE booting.", - "long_description": "Description\n===========\n\nInstalls and configures a tftpd server for serving Ubuntu installers over PXE and setting them to run a provided preseed.cfg.\n\nRequirements\n============\n\nWritten and tested with Chef 0.9.14 and Ubuntu 10.10.\n\nAttributes\n==========\n\nAttributes under the `pxe_dust` namespace.\n\n* `[\"pxe_dust\"][\"arch\"]` - Architecture of the netboot.tar.gz to use as the source of pxeboot images.\n* `[\"pxe_dust\"][\"tftpboot\"]` - Path of the tftpboot directory used for sharing images.\n* `[\"pxe_dust\"][\"version\"]` - Ubuntu version of the netboot.tar.gz to use as the source of pxeboot images.\n* `[\"pxe_dust\"][\"user\"][\"fullname\"]` - Full name of the default user, default \"Ubuntu\".\n* `[\"pxe_dust\"][\"user\"][\"username\"]` - Username of the default user, default \"ubuntu\".\n* `[\"pxe_dust\"][\"user\"][\"crypted_password\"]` - SHA512 password for the default user, default nil. This must be generated and added as an attribute or you won't be able to login.\n\nTemplates\n=========\n\nsyslinux.cfg.erb\n----------------\n\nSets the boot prompt to automatically run the installer.\n\ntxt.cfg.erb\n-----------\n\nSets the URL to the preseed file.\n\npreseed.cfg.erb\n---------------\n\nThe preseed file is full of opinions, you will want to update this. If there is a node providing an apt-cacher proxy via the `[apt::cacher]` recipe, it is provided in the preseed.cfg.\n\nRecipes\n=======\n\nDefault\n-------\n\nThe default recipe passes through to `pxe_dust::server`.\n\nServer\n------\n\nThe server includes the `apache2` recipe and installs the `tftpd-hpa` package.\n\nThe recipe does the following:\n\n1. Downloads the proper netboot.tar.gz to boot from.\n2. Untars it to the tftpboot directory.\n3. Instructs the installer prompt to automatically install.\n4. Passes the URL of the preseed.cfg to the installer.\n5. Uses the preseed.cfg template to pass in any `apt-cacher` proxies.\n\nUsage\n=====\n\nCreate a role, `pxe_server`.\n\n name \"pxe_server\"\n description \"PXE Dust Boot Server\"\n run_list(\"recipe[pxe_dust::server]\")\n default_attributes(\n \"pxe_dust\" => {\n \"user\" => {\n \"username\" => \"ubuntu\",\n \"fullname\" => \"Ubuntu\",\n \"crypted_password\" => \"$6$Trby4Y5R$bi90k7uYY5ImXe5MWGFW9kel2BnMCcYO9EnwngTFIXKG2/nWcLKTJZ3verMFnpFbITI9.eHwZ.HR1UPeKbCAV1\"\n )\n\nOn an Ubuntu system, the password can be generated by installing the `mkpasswd` package and running:\n\n mkpasswd -m sha-512\n\nThe example above is the hash of the password `ubuntu`, if you'd like to test. This attribute must be set to a valid sha-512 hash of the password or you will not be able to log in.\n\nThis cookbook does not provide DHCP or bootp to listen for PXE boot requests, this URL will have to be provided by another cookbook or manually. The author had to do this manually on a DD-WRT router.\n\nSide note, for DD-WRT bootp support [this forum post was followed](http://www.dd-wrt.com/phpBB2/viewtopic.php?t=4662). The key syntax was\n\n dhcp-boot=pxelinux.0,,192.168.1.147\n\nin the section `Additional DNSMasq Options` where the IP address is that of the tftpd server we're configuring here and pxelinux.0 is from the netboot tarball.\n\nLicense and Author\n==================\n\nAuthor:: Matt Ray \nAuthor:: Joshua Timberman \n\nCopyright:: 2011 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ] - }, - "dependencies": { - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.1" -} \ No newline at end of file diff --git a/python/metadata.json b/python/metadata.json deleted file mode 100644 index 693849eb8..000000000 --- a/python/metadata.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "python", - "description": "Installs Python, pip and virtualenv. Includes LWRPs for managing Python packages with `pip` and `virtualenv` isolated Python environments.", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ], - "centos": [ - - ], - "redhat": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "python": "Installs python, pip, and virtualenv", - "python::package": "Installs python using packages.", - "python::source": "Installs python from source.", - "python::pip": "Installs pip from source.", - "python::virtualenv": "Installs virtualenv using the python_pip resource." - }, - "version": "1.0.2" -} \ No newline at end of file diff --git a/radiant/metadata.json b/radiant/metadata.json deleted file mode 100644 index 7d495cfeb..000000000 --- a/radiant/metadata.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "name": "radiant", - "description": "Installs radiant from Git repository", - "long_description": "= DESCRIPTION:\n\nInstalls RadiantCMS, a Ruby on Rails content management system.\n\n= REQUIREMENTS:\n\n== Platform:\n\nThe db_bootstrap recipe requires using the Opscode application cookbook.\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\nThe `db_bootstrap` recipe requires Chef 0.9.10+ for the notifies resource syntax.\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* radiant[:db_bootstrap] - rake task to bootstrap a fresh database, use once and with care, it will delete the database contents.\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== Database Bootstrap\n\nThis recipe is DESTRUCTIVE.\n\nNormally when running the db:bootstrap rake task in Radiant, it prompts the user:\n\nThis task will destroy any data in the database. Are you sure you want to continue? [yn] y\n\nThis recipe wraps the rake db:bootstrap from above. Only use this recipe if you know what you are doing. Otherwise, run the db:bootstrap manually.\n\nThis recipe is designed to be used with the Opscode application cookbook, and only one time. It removes itself with a Ruby block resource when the rake resource executes successfully.\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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "git": [ - - ], - "sqlite": [ - - ], - "rails": [ - - ], - "apache2": [ - - ], - "mysql": [ - - ], - "passenger_apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "radiant/branch": { - "display_name": "Radiant Branch", - "description": "Branch from Git to use", - "default": "HEAD", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "radiant/migrate": { - "display_name": "Radiant Migrate", - "description": "Whether to do a migration", - "default": "false", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "radiant/migrate_command": { - "display_name": "Radiant Migrate Command", - "description": "Command to perform migration", - "default": "rake db:migrate", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "radiant/environment": { - "display_name": "Radiant Environment", - "description": "Rails environment to use", - "default": "production", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "radiant/revision": { - "display_name": "Radiant Revision", - "description": "Revision to use from Git", - "default": "HEAD", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "radiant/action": { - "display_name": "Radiant Action", - "description": "Whether to deploy the application or not", - "default": "nothing", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "radiant": "Installs Radiant CMS", - "radiant::db_bootstrap": "Bootstrap the Radiant database, used with application cookbook (destructive)" - }, - "version": "0.11.3" -} \ No newline at end of file diff --git a/reprepro/metadata.json b/reprepro/metadata.json deleted file mode 100644 index e8272f29b..000000000 --- a/reprepro/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "reprepro", - "description": "Installs/Configures reprepro for an apt repository", - "long_description": "DESCRIPTION\n===========\n\nSets up an APT repository suitable for using the reprepro tool to manage distributions and components.\n\nREQUIREMENTS\n============\n\nPlatform: Debian or Ubuntu.\n\nRequires Chef 0.8.x+, client/server. Does not work with Chef Solo due to data bag use.\n\nYou'll need to generate the PGP key separately and provide the data in the databag.\n\nUSAGE\n=====\n\nAttributes\n----------\n\nAttributes in this cookbook are set via the default recipe with data from the data bag. The following attributes are used, in the `reprepro` namespace.\n\n* `fqdn` - the fqdn that would go in sources.list\n* `description` - a description of the repository\n* `pgp_email` - the email address of the pgp key\n* `pgp_fingerprint` - the finger print of the pgp key\n\nData Bag\n--------\n\nCreate a data bag to store the repository information. \n\n {\n \"id\": \"main\",\n \"fqdn\": \"apt.example.com\",\n \"repo_dir\": \"/srv/apt\",\n \"incoming\": \"/srv/apt_incoming\",\n \"description\": \"APT Repository for our packages.\",\n \"codenames\": [\n \"lucid\", \"karmic\", \"jaunty\", \"intrepid\", \"hardy\", \"sid\", \"squeeze\", \"lenny\"\n ],\n \"pgp\": {\n \"email\": \"packages@example.com\",\n \"fingerprint\": \"PGP Fingerprint for the key\",\n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n-----END PGP PUBLIC KEY BLOCK-----\\n\",\n \"private\": \"-----BEGIN PGP PRIVATE KEY BLOCK-----\\n-----END PGP PRIVATE KEY BLOCK-----\\n\"\n },\n \"pulls\": {\n \"name\": \"sid\",\n \"from\": \"sid\",\n \"component\": \"main\"\n },\n \"architectures\": [\n \"amd64\",\"i386\",\"all\",\"source\"\n ]\n }\n\nLICENSE AND AUTHOR\n==================\n\nAuthor: Joshua Timberman ()\n\nCopyright 2010, 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", - "maintainer": "Opscode", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "build-essential": [ - - ], - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "reprepro": "Installs and configures reprepro for an apt repository" - }, - "version": "0.2.2" -} \ No newline at end of file diff --git a/resolver/metadata.json b/resolver/metadata.json deleted file mode 100644 index c1dd32ddc..000000000 --- a/resolver/metadata.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "providing": { - }, - "attributes": { - "resolver/nameservers": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": [ - "" - ], - "type": "array", - "recipes": [ - - ], - "description": "Default nameservers", - "display_name": "Resolver Nameservers" - }, - "resolver/search": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "default": "domain", - "type": "string", - "recipes": [ - - ], - "description": "Default domain to search", - "display_name": "Resolver Search" - }, - "resolver": { - "required": "optional", - "calculated": false, - "choice": [ - - ], - "type": "hash", - "recipes": [ - - ], - "description": "Hash of Resolver attributes", - "display_name": "Resolver" - } - }, - "replacing": { - }, - "dependencies": { - }, - "groupings": { - }, - "recommendations": { - }, - "platforms": { - "openbsd": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "macosx": [ - - ], - "freebsd": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.2", - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "recipes": { - "resolver": "Configures /etc/resolv.conf via attributes" - }, - "maintainer_email": "cookbooks@opscode.com", - "name": "resolver", - "conflicting": { - }, - "description": "Configures /etc/resolv.conf", - "long_description": "DESCRIPTION\n===========\n\nConfigures /etc/resolv.conf.\n\nUSAGE\n=====\n\nSet the resolver attributes in a role, for example from my base.rb:\n\n \"resolver\" => {\n \"nameservers\" => [\"10.13.37.120\", \"10.13.37.40\"],\n \"search\" => \"int.example.org\"\n }\n\nThe resulting /etc/resolv.conf will look like:\n\n domain int.example.org\n search int.example.org\n nameserver 10.13.37.120\n nameserver 10.13.37.40\n\nLICENSE AND AUTHOR\n==================\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/rsync/metadata.json b/rsync/metadata.json deleted file mode 100644 index 4ebec4fdc..000000000 --- a/rsync/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "rsync": "Installs rsync" - }, - "replacing": { - }, - "name": "rsync", - "description": "Installs rsync", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/rsyslog/metadata.json b/rsyslog/metadata.json deleted file mode 100644 index 38e9cd42e..000000000 --- a/rsyslog/metadata.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "rsyslog", - "description": "Installs and configures rsyslog", - "long_description": "DESCRIPTION\n===========\n\nInstalls rsyslog to replace sysklogd for client and/or server use. By default, server will be set up to log to files.\n\nREQUIREMENTS\n============\n\nPlatform\n--------\n\nTested on Ubuntu 8.04, 9.10, 10.04.\n\nFor Ubuntu 8.04, the rsyslog package will be installed from a PPA via the default.rb recipe in order to get 4.2.0 backported from 10.04.\n\n* https://launchpad.net/~a.bono/+archive/rsyslog\n\nUbuntu 8.10 and 9.04 are no longer supported releases and have not been tested with this cookbook.\n\nCookbooks\n---------\n\n* cron (http://cookbooks.opscode.com/cookbooks/cron)\n\nATTRIBUTES\n==========\n\n* `rsyslog[:log_dir]` - specify the directory to store logs (applicable to server only), default /srv/rsyslog\n* `rsyslog[:server]` - specify the remote rsyslog server. default false (no remote server)\n* `rsyslog[:protocol]` - specify whether to use udp or tcp for remote log transmission. tcp is default.\n\nUSAGE\n=====\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\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - ">= 8.04" - ], - "debian": [ - ">= 5.0" - ] - }, - "dependencies": { - "cron": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "rsyslog": { - "display_name": "Rsyslog", - "description": "Hash of Rsyslog attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "rsyslog/log_dir": { - "display_name": "Rsyslog Log Directory", - "description": "Filesystem location of logs from clients", - "default": "/srv/rsyslog", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "rsyslog/server": { - "display_name": "Rsyslog Server?", - "description": "Is this node an rsyslog server?", - "default": "false", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "rsyslog/protocol": { - "display_name": "Rsyslog Protocol", - "description": "Set which network protocol to use for rsyslog", - "default": "tcp", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "rsyslog": "Installs rsyslog", - "rsyslog::client": "Sets up a client to log to a remote rsyslog server", - "rsyslog::server": "Sets up an rsyslog server" - }, - "version": "0.99.2" -} \ No newline at end of file diff --git a/runit/metadata.json b/runit/metadata.json deleted file mode 100644 index f25fbb2ef..000000000 --- a/runit/metadata.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "name": "runit", - "description": "Installs runit and provides runit_service definition", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "gentoo": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "runit": { - "display_name": "Runit", - "description": "Hash of runit attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "runit/sv_bin": { - "display_name": "Runit sv bin", - "description": "Location of the sv binary", - "default": "/usr/bin/sv", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "runit/chpst_bin": { - "display_name": "Runit chpst bin", - "description": "Location of the chpst binary", - "default": "/usr/bin/chpst", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "runit/service_dir": { - "display_name": "Runit service directory", - "description": "Symlinks to services managed under runit", - "default": "/etc/service", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "runit/sv_dir": { - "display_name": "Runit sv directory", - "description": "Location of services managed by runit", - "default": "/etc/sv", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "runit": "Installs and configures runit" - }, - "version": "0.14.2" -} diff --git a/samba/metadata.json b/samba/metadata.json deleted file mode 100644 index 63ef067a5..000000000 --- a/samba/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "samba", - "description": "Installs/Configures samba", - "long_description": "Description\n===========\n\nInstalls and configures Samba version 3.\n\nRequirements\n============\n\nAssumes Samba version 3.\n\nShould work on Debian-family, Red Hat-family and ArchLinux systems.\n\nUses Chef Server for data bag to build configuration file shares.\n\nRequires a users data bag for the users when the password backend is not LDAP. If using the Opscode `users` cookbook, this already needs to exist, though a password needs to be specified for Samba.\n\nLimitations\n===========\n\nDoes not (yet) integrate with LDAP/AD.\n\nUses plaintext passwords for the user data bag entry to create the SMB users if the password backend is tdbsam or smbpasswd. See below under usage.\n\nDoes not modify the Samba daemons to launch (i.e., ArchLinux's `/etc/conf.d/samba` `SAMBA_DAMONS`).\n\nAttributes\n==========\n\nThe attributes are used to set up the default values in the smb.conf, and set default locations used in the recipe. Where appropriate, the attributes use the default values in Samba.\n\n* `node[\"samba\"][\"workgroup\"]` - The SMB workgroup to use, default \"SAMBA\".\n* `node[\"samba\"][\"interfaces\"]` - Interfaces to listen on, default \"lo 127.0.0.1\".\n* `node[\"samba\"][\"hosts_allow\"]` - Allowed hosts/networks, default \"127.0.0.0/8\".\n* `node[\"samba\"][\"bind_interfaces_only\"]` - Limit interfaces to serve SMB, default \"no\"\n* `node[\"samba\"][\"server_string\"]` - Server string value, default \"Samba Server\".\n* `node[\"samba\"][\"load_printers\"]` - Whether to load printers, default \"no\".\n* `node[\"samba\"][\"passdb_backend\"]` - Which password backend to use, default \"tdbsam\".\n* `node[\"samba\"][\"dns_proxy\"]` - Whether to search NetBIOS names through DNS, default \"no\".\n* `node[\"samba\"][\"security\"]` - Samba security mode, default \"user\".\n* `node[\"samba\"][\"map_to_guest\"]` - What Samba should do with logins that don't match Unix users, default \"Bad User\".\n* `node[\"samba\"][\"socket_options\"]` - Socket options, default \"`TCP_NODELAY`\"\n* `node[\"samba\"][\"config\"]` - Location of Samba configuration, default \"/etc/samba/smb.conf\".\n* `node[\"samba\"][\"log_dir\"]` - Location of Samba logs, default \"/var/log/samba/%m.log\".\n\nRecipes\n=======\n\nclient\n------\n\nInstalls smbclient to provide access to SMB shares.\n\ndefault\n-------\n\nIncludes the client recipe by default.\n\nserver\n------\n\nSets up a Samba server. See \"Usage\" below for more information.\n\nResources/Providers\n===================\n\nThis cookbook includes a resource/provider for managing samba users with the smbpasswd program.\n\n samba_user \"jtimberman\" do\n password \"plaintextpassword\"\n action [:create, :enable]\n end\n\nFor now, this resource can only create, enable or delete the user. It only supports setting the user's initial password. It assumes a password db backend that utilizes the smbpasswd program.\n\nThis will not enforce the password to be set to the value specified. Meaning, if the local user changes their password with `smbpasswd`, the recipe will not reset it. This may be changed in a future version of this cookbook.\n\nUsage\n=====\n\nThe `samba::default` recipe includes `samba::client`, which simply installs smbclient package. Remaining information in this section pertains to `samba::server` recipe.\n\nSet attributes as desired in a role, and create a data bag named `samba` with an item called `shares`. Also create a `users` data bag with an item for each user that should have access to samba.\n\nExample data bag item for a single share named `export` in the `shares` item.\n\n % cat data_bags/samba/shares.json\n {\n \"id\": \"shares\",\n \"shares\": {\n \"export\": {\n \"comment\": \"Exported Share\",\n \"path\": \"/srv/export\",\n \"guest ok\": \"no\",\n \"printable\": \"no\",\n \"write list\": [\"jtimberman\"],\n \"create mask\": \"0664\",\n \"directory mask\": \"0775\"\n }\n }\n }\n\nEach of the hashes in `shares` will be a stanza in the smb.conf.\n\nExample data bag item for a user. Note that the user must exist on the system already. This is the minimal users data bag to set up the `smbpasswd` entry. More options are available for those using the `users` cookbook, see the readme for that cookbook for more information.\n\n % cat data_bags/users/jtimberman.json\n {\n \"id\": \"jtimberman\",\n \"smbpasswd\": \"plaintextpassword\"\n }\n\nUnfortunately, smbpasswd does not take a hashed password as an argument - the password is echoed and piped to the smbpasswd program. This is a limitation of Samba.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "arch": [ - - ], - "debian": [ - - ], - "ubuntu": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "redhat": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "samba::default": "Includes the samba::client recipe", - "samba::client": "Installs smbclient package", - "samba::server": "Installs samba server packages and configures smb.conf" - }, - "version": "0.10.3" -} \ No newline at end of file diff --git a/sbuild/metadata.json b/sbuild/metadata.json deleted file mode 100644 index 3fee995c7..000000000 --- a/sbuild/metadata.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "sbuild", - "description": "Creates an sbuild host for debian packages.", - "long_description": "= NOTICE:\n\nThis cookbook uses LVM directly. Please understand what the recipe and definition do before using it on your system. It has been tested on Debian sid (unstable) only!\n\nThat said, the packages hosted by Opscode on apt.opscode.com were built on a system using this cookbook :-).\n\n= DESCRIPTION:\n\nInstalls and configures a server to be an 'sbuild' system to build debian packages from source. Provides a definition that will create logical volumes for snapshot use.\n\n= REQUIREMENTS:\n\nChef 0.8.x+ is required for data bag use (see below).\n\n== Platform:\n\nThis cookbook is very much Debian / Ubuntu specific. It has been tested mainly on Debian sid/unstable.\n\n== Cookbooks:\n\n* xfs\n* lvm\n\n== Server Configuration:\n\nThis cookbook utilizes a 'users' data bag. The requirement here is for any users that will perform sbuilds have a groups attribute 'sbuild'.\n\n knife data bag show users\n [\n \"jtimberman\"\n ]\n\n knife data bag show users jtimberman\n {\n \"id\": \"jtimberman\",\n \"groups\": \"sbuild\"\n }\n\nThis will allow the cookbook to create user specific settings.\n\nYou must create a volume group on your build server that will contain the logical volumes for sbuild's schroots. The default in the sbuild_lv define is 'buildvg', but you can name it whatever you like. See USAGE, below.\n\n= ATTRIBUTES:\n\nAll attributes are under the node[:sbuild] space.\n\n* mailto - address to send mail about sbuilds, default 'root'.\n* key_id - sets the PGP key ID to use, default \"\".\n* pgp_options - default options for PGP, but commented out in config file (use debsign).\n* maintainer_name - package maintainer name, default \"\".\n* lv_size - size of logical volumes to create, default \"5G\" (should be enough for most systems).\n* snapshot_size - size of snapshots for schroots, default \"4G\" (should be enough for most systems).\n\n= USAGE:\n\nThe default recipe will install a number of useful packages for building debian packages from source. It will also make sure the device mapper kernel module is loaded for LVM, create some nice configuration for users who are in the 'sbuild' group (see above about data bags). Finally, it will create a script to perform automated updates to schroot sources, to ensure your debootstrapped build environments have the latest packages.\n\nThe schroots recipe contains some commented examples of using the sbuild_lv definition.\n\nThe sbuild_lv definition does the heavy lifting. Here's an example, and what it does:\n\n sbuild_lv \"lucid\" do\n release \"lucid\"\n distro \"ubuntu\"\n vg \"buildvg\"\n end\n\nThis will:\n\n# Create a logical volume named after the sbuild_lv (lucid) in the vg (buildvg), size will be lv_size (5G).\n# Create an XFS filesystem on the logical volume. Replace the 'execute mkfs.xfs' resource in the definition to use another filesystem if you prefer.\n# Create an schroot configuration for the named sbuild_lv (/etc/schroot/chroot.d/lucid).\n# Create a script that needs to be executed to finish setup of the schroot (/usr/local/bin/mk_chroot_lucid.sh).\n\nThe mk_chroot script should then be executed to finish creating the schroot. Since this does a debootstrap (debian installation), we don't run it within Chef, as it can be very time consuming to execute. The script itself performs the following:\n\n* Mounts the volume.\n* Runs debootstrap for the specified distro and release.\n* Sets up the APT sources.list to use in the schroot.\n* Creates a '/finish.sh' script in the schroot that gets a few more release specific packages.\n* Runs the '/finish.sh' within the schroot.\n* Prints some usage information on how to use the schroot it just created.\n\n= RESOURCES:\n\nSome resources that are helpful in building debian/ubuntu packages with sbuild:\n\nhttp://www.pseudorandom.co.uk/2007/sbuild/\nhttp://www.pseudorandom.co.uk/2008/sbuild-dm/\nhttps://help.ubuntu.com/community/SbuildLVMHowto\n\n= LICENSE AND AUTHOR:\n\nAuthor:: Joshua Timberman ()\nCopyright:: 2010, 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", - "maintainer": "Opscode", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "xfs": [ - - ], - "lvm": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "sbuild": "Installs packages for building Debian packages with sbuild", - "sbuild::schroots": "Sets up logical volumes for sbuild chroots for sid, karmic and lucid" - }, - "version": "0.3.3" -} \ No newline at end of file diff --git a/screen/metadata.json b/screen/metadata.json deleted file mode 100644 index 47c408001..000000000 --- a/screen/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "screen": "Installs screen" - }, - "replacing": { - }, - "name": "screen", - "description": "Installs screen", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/snort/metadata.json b/snort/metadata.json deleted file mode 100644 index d2f9d7fc3..000000000 --- a/snort/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "snort", - "description": "Installs/Configures snort", - "long_description": "Description\n===========\n\nInstalls and configures SNORT.\n\nRequirements\n============\n\nTested on Ubuntu. May work on Debian, and Red Hat family distributions. Won't work on other platforms.\n\nCookbooks\n----\n\nNo other cookbooks are strictly required, however to use one of the database backends, the appropriate cookbook should be used. For example, Opscode cookbooks:\n\n* mysql\n* postgresql\n\nAttributes\n==========\n\n* `node['snort']['home_net']` - Address range to use for preseeding `HOME_NET`. Default 192.168.0.0/16 on Ubuntu/Debian otherwise any.\n* `node['snort']['database']` - What database backend to use. Default none. MySQL and PostgreSQL are usable. The default recipe will install the SNORT package for the appropriate database backend. You'll need to make sure that the database server is set up in some way such that SNORT can connect to it. This cookbook does not yet support automatic configuration.\n\nUsage\n=====\n\nSimply include `recipe[snort]` in a run list to have the system get SNORT installed. This performs a baseline installation and preseeds the package.\n\nSee future plans.\n\nFuture Plans\n============\n\nThe following features are planned for a future release of this cookbook. Contributions welcome, see [How to Contribute](http://wiki.opscode.com/display/chef/How+to+Contribute)\n\nPreseed database configuration for SNORT to connect to the database server. This will use Chef search results for the database master.\n\nSupport either RPM or Yum based installations on Red Hat family distributions.\n\nOinkmaster automatic rules updates.\n\nSource-based installation.\n\nOther platforms in general :).\n\nReferences\n==========\n\n* [SNORT home page](http://www.snort.org)\n* [snort -h doesn't do what you think](http://blog.joelesler.net/2010/03/snort-h-doesnt-do-what-you-think-it-does.html)\n\nLicense and Author\n==================\n\nAuthor: Joshua Timberman ()\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "snort": "Installs snort packages based on platform" - }, - "version": "0.9.0" -} \ No newline at end of file diff --git a/sqlite/metadata.json b/sqlite/metadata.json deleted file mode 100644 index b9979261b..000000000 --- a/sqlite/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "sqlite": "Installs sqlite" - }, - "replacing": { - }, - "name": "sqlite", - "description": "Installs sqlite", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/ssh_known_hosts/metadata.json b/ssh_known_hosts/metadata.json deleted file mode 100644 index e5aa60c29..000000000 --- a/ssh_known_hosts/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "ssh_known_hosts", - "description": "Dyanmically generates /etc/ssh/known_hosts based on search indexes", - "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= ATTRIBUTES:\n\n= USAGE: Generates /etc/ssh/known_hosts based on search indexes.\n\n= LICENSE and AUTHOR: \n\nAuthor:: Scott M. Likens ()\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 \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", - "maintainer": "Scott M. Likens", - "maintainer_email": "scott@likens.us", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "ssh_known_hosts": "Dyanmically generates /etc/ssh/known_hosts based on search indexes" - }, - "version": "0.2.3" -} \ No newline at end of file diff --git a/stompserver/metadata.json b/stompserver/metadata.json deleted file mode 100644 index a57adaa4a..000000000 --- a/stompserver/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "stompserver", - "description": "Installs stompserver and sets up a service", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "redhat": [ - - ] - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "stompserver": "Installs stompserver and starts the service" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/subversion/metadata.json b/subversion/metadata.json deleted file mode 100644 index 4fda70111..000000000 --- a/subversion/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "subversion", - "description": "Installs subversion", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": [ - - ], - "centos": [ - - ], - "fedora": [ - - ], - "ubuntu": [ - - ], - "debian": [ - - ] - }, - "dependencies": { - "apache2": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "subversion": "Includes the client recipe.", - "subversion::client": "Subversion Client installs subversion and some extra svn libs", - "subversion::server": "Subversion Server (Apache2 mod_dav_svn)" - }, - "version": "0.8.3" -} diff --git a/sudo/metadata.json b/sudo/metadata.json deleted file mode 100644 index f3a6a6ae5..000000000 --- a/sudo/metadata.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "name": "sudo", - "description": "Installs sudo and configures /etc/sudoers", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "redhat": ">= 0.0.0", - "centos": ">= 0.0.0", - "fedora": ">= 0.0.0", - "ubuntu": ">= 0.0.0", - "debian": ">= 0.0.0", - "freebsd": ">= 0.0.0" - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "authorization": { - "display_name": "Authorization", - "description": "Hash of Authorization attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "authorization/sudoers": { - "display_name": "Authorization Sudoers", - "description": "Hash of Authorization/Sudoers attributes", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "authorization/sudoers/users": { - "display_name": "Sudo Users", - "description": "Users who are allowed sudo ALL", - "type": "array", - "default": "", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "authorization/sudoers/groups": { - "display_name": "Sudo Groups", - "description": "Groups who are allowed sudo ALL", - "type": "array", - "default": "", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "authorization/sudoers/passwordless": { - "display_name": "Passwordless Sudo", - "description": "", - "type": "string", - "default": "false", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "sudo": "Installs sudo and configures /etc/sudoers" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/thrift/metadata.json b/thrift/metadata.json deleted file mode 100644 index e9054351a..000000000 --- a/thrift/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - "subversion": [ - - ], - "java": [ - - ], - "boost": [ - - ], - "build-essential": [ - - ] - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.1", - "providing": { - }, - "recipes": { - "thrift": "Installs thrift from source" - }, - "replacing": { - }, - "name": "thrift", - "description": "Installs/Configures thrift", - "groupings": { - }, - "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/tmux/metadata.json b/tmux/metadata.json deleted file mode 100644 index 3940385c5..000000000 --- a/tmux/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "tmux", - "description": "Installs tmux", - "long_description": "DESCRIPTION\n===========\n\nInstalls tmux, a terminal multiplexer.\n\nREQUIREMENTS\n============\n\nPlatform with a package named 'tmux'.\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Joshua Timberman ()\n\nCopyright:: 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/tomcat/metadata.json b/tomcat/metadata.json deleted file mode 100644 index cd2002c90..000000000 --- a/tomcat/metadata.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "providing": { - }, - "maintainer": "Opscode, Inc.", - "replacing": { - }, - "description": "Installs/Configures tomcat", - "maintainer_email": "cookbooks@opscode.com", - "groupings": { - }, - "attributes": { - }, - "recommendations": { - }, - "dependencies": { - "java": [ - - ], - "jpackage": [ - - ] - }, - "suggestions": { - }, - "long_description": "Description\n===========\n\nInstalls and configures the Tomcat, Java servlet engine and webserver.\n\nRequirements\n============\n\nPlatform: \n\n* Debian, Ubuntu (OpenJDK, Sun)\n* CentOS, Red Hat, Fedora (OpenJDK)\n\nThe following Opscode cookbooks are dependencies:\n\n* java\n* jpackage\n\nAttributes\n==========\n\n* `node[\"tomcat\"][\"port\"]` - The network port used by Tomcat's HTTP connector, default `8080`.\n* `node[\"tomcat\"][\"ssl_port\"]` - The network port used by Tomcat's SSL HTTP connector, default `8443`.\n* `node[\"tomcat\"][\"ajp_port\"]` - The network port used by Tomcat's AJP connector, default `8009`.\n* `node[\"tomcat\"][\"java_options\"]` - Extra options to pass to the JVM, default `-Xmx128M -Djava.awt.headless=true`.\n* `node[\"tomcat\"][\"use_security_manager\"]` - Run Tomcat under the Java Security Manager, default `false`.\n\nUsage\n=====\n\nSimply include the recipe where you want Tomcat installed.\n\nTODO\n====\n\n* SSL support\n* create a LWRP for deploying WAR files (file based and )\n\nLicense and Author\n==================\n\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2010, 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", - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "redhat": [ - - ] - }, - "name": "tomcat", - "version": "0.10.3", - "conflicting": { - }, - "license": "Apache 2.0", - "recipes": { - "tomcat::default": "Installs and configures Tomcat" - } -} \ No newline at end of file diff --git a/trac/metadata.json b/trac/metadata.json deleted file mode 100644 index 408a3486b..000000000 --- a/trac/metadata.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "recipes": { - "trac": "" - }, - "replacing": { - - }, - "version": "0.1.1", - "platforms": { - - }, - "maintainer": "Peter Crossley", - "description": "Installs/Configures Trac", - "recommendations": { - - }, - "maintainer_email": "peterc@xley.com", - "suggestions": { - - }, - "conflicting": { - - }, - "dependencies": { - "apache2": [ - - ] - }, - "name": "trac", - "attributes": { - - }, - "providing": { - "trac": [ - - ] - }, - "license": "Apache 2.0", - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES: \n\n= USAGE:\n\n" -} diff --git a/transmission/metadata.json b/transmission/metadata.json deleted file mode 100644 index 3bde4c10d..000000000 --- a/transmission/metadata.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "transmission", - "description": "Installs/Configures transmission", - "long_description": "Description\n===========\n\nInstalls the [Transmission BitTorrent Client](http://transmissionbt.org) and includes a `transmission_torrent_file` LWRP.\n\nRequirements\n============\n\nPlatform\n--------\n\nKnown to work on Debian, Ubuntu, Red Hat and CentOS\n\nCookbooks\n---------\n\n* build-essential - for compiling the source.\n* openssl - for generating a secure password.\n\nAttributes\n==========\n\n* `node[\"transmission\"][\"rpc_bind_address\"]` - Where to listen for RPC connections, default `0.0.0.0`.\n* `node[\"transmission\"][\"rpc_port\"]` - The port Transmission listens on for remote services, default `9091`.\n* `node[\"transmission\"][\"rpc_username\"]` - The username required to access remote services, default `transmission`.\n* `node[\"transmission\"][\"rpc_password\"]` - The ssha1 encrypted password, default generated by `secure_password`.\n* `node[\"transmission\"][\"home\"]` - Transmission's home directory, default `/var/lib/transmission-daemon`.\n* `node[\"transmission\"][\"config_dir\"]` - Transmission's config directory, default `/var/lib/transmission-daemon/info`.\n* `node[\"transmission\"][\"download_dir\"]` - Directory to move complete files to, default `/var/lib/transmission-daemon/downloads`.\n* `node[\"transmission\"][\"incomplete_dir\"]` - Directory to keep incomplete files in, default `/var/lib/transmission-daemon/incomplete`.\n\nThe file also contains the following attribute types:\n\n* platform specific locations and settings.\n* source installation settings\n\nResource/Provider\n=================\n\n`transmission_torrent_file`\n---------------------------\n\nDownload a file via the [BitTorrent protocol](http://en.wikipedia.org/wiki/BitTorrent). The usage semantics are like that of the existing [file](http://wiki.opscode.com/display/chef/Resources#Resources-File) and [remote_file](http://wiki.opscode.com/display/chef/Resources#Resources-RemoteFile) resources. This allows very fast downloads for files that are part of large BitTorrent swarms. The Ubuntu 10.04 LTS ISO (around 700MB) downloads in about 50 seconds.\n\n# Actions\n\n- :create: Download a file via the BitTorrent protocol\n\n# Attribute Parameters\n\n- path: name attribute. the path to the file\n- torrent: torrent file of the swarm to join. can either be a url or local file path\n- blocking: should the file be downloaded in a blocking way? If `true` Chef will download the file in a single Chef run, if `false` Chef will check for a completed download during each Chef run until the download is complete. default is `true`.\n- continue_seeding: should the file continue to be seeded to the swarm after download? default is `false`.\n- owner: The owner for the file\n- group: The group owner of the file (string or id)\n- rpc_host: the address of the Transmission RPC host to connect to. default is `localhost`.\n- rpc_port: the port of the Transmission RPC host to connect to. default is `9091`.\n- rpc_username: the username of the Transmission RPC account. default is `transmission`.\n- rpc_password: the password of the Transmission RPC account . should probably be `node['transmission']['rpc_password']` which by default is a secure password generated for this node.\n\n# Example\n\n # download the lucid iso\n transmission_torrent_file \"/home/ubuntu/ubuntu.iso\" do\n torrent \"http://releases.ubuntu.com/lucid/ubuntu-10.04.1-server-i386.iso.torrent\"\n owner 'ubuntu'\n group 'ubuntu'\n rpc_username node['transmission']['rpc_username']\n rpc_password node['transmission']['rpc_password']\n action :create\n end\n \n # do the same thing but continue seeding after download\n transmission_torrent_file \"/home/ubuntu/ubuntu.iso\" do\n torrent \"http://releases.ubuntu.com/lucid/ubuntu-10.04.1-server-i386.iso.torrent\"\n owner 'ubuntu'\n group 'ubuntu'\n continue_seeding true\n rpc_username node['transmission']['rpc_username']\n rpc_password node['transmission']['rpc_password']\n action :create\n end\n\nUsage\n=====\n\ndefault\n-------\n\nInclude default recipe in a run list, to get some Transmission installed. Installs Transmission by package or source depending on the platform.\n\npackage\n-------\n\nInstalls Transmission from packages. This should only be loaded by the default recipe.\n\nsource\n------\n\nInstalls Transmission from source. This should only be loaded by the default recipe.\n\nLicense and Author\n==================\n\nAuthor: Seth Chisamore ()\n\nCopyright 2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - "openssl": [ - - ], - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/ubuntu/metadata.json b/ubuntu/metadata.json deleted file mode 100644 index a858c31c6..000000000 --- a/ubuntu/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - "apt": [ - - ] - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.99.0", - "providing": { - }, - "recipes": { - "ubuntu": "Sets up sources for the node's ubuntu release" - }, - "replacing": { - }, - "name": "ubuntu", - "description": "Sets up sources for ubuntu", - "groupings": { - }, - "long_description": "" - } diff --git a/ucspi-tcp/metadata.json b/ucspi-tcp/metadata.json deleted file mode 100644 index f99ed5d5c..000000000 --- a/ucspi-tcp/metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "ucspi-tcp", - "description": "Installs ucspi-tcp", - "long_description": "Description\n===========\n\nInstalls DJB's ucspi-tcp software.\n\nRequirements\n============\n\nShould work on ArchLinux, Debian and Ubuntu. Source installation may work on Red Hat family distributions.\n\nRequires build-essential cookbook.\n\nUsage\n=====\n\nInclude the ucspi-tcp recipe in the run list. The recipe will automatically detect the platform and attempt to install based on what should be available.\n\nLicense and Author\n==================\n\nAuthor: Joshua Timberman ()\n\nCopyright 2010, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": [ - - ], - "debian": [ - - ], - "centos": [ - - ], - "rhel": [ - - ], - "arch": [ - - ] - }, - "dependencies": { - "build-essential": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "ucspi-tcp": "Installs ucspi-tcp" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/unicorn/metadata.json b/unicorn/metadata.json deleted file mode 100644 index 0321becdd..000000000 --- a/unicorn/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "unicorn", - "description": "Installs/Configures unicorn", - "long_description": "= LICENSE AND AUTHOR:\n\nAuthor:: Adam Jacob \n\nCopyright 2009-2010, 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", - "maintainer": "Opscode, Inc", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "unicorn": "Installs unicorn rubygem" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/users/metadata.json b/users/metadata.json deleted file mode 100644 index 0e20e3698..000000000 --- a/users/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "users", - "description": "Creates users from a databag search", - "long_description": "Description\n===========\n\nCreates users from a databag search.\n\nRequirements\n============\n\nPlatform\n--------\n\n* Debian, Ubuntu\n* CentOS, Red Hat, Fedora\n* FreeBSD\n\nData bag named \"users\" must exist. See USAGE.\n\nUsage\n=====\n\nThis cookbook is specific for setting up sysadmin group and users for now.\n\n include_recipe \"users::sysadmins\"\n\nUse knife to create a data bag for users.\n\n knife data bag create users\n\nCreate a user.\n\n knife data bag users bofh\n {\n \"id\": \"bofh\",\n \"ssh_keys\": \"ssh-rsa AAAAB3Nz...yhCw== bofh\",\n \"groups\": \"sysadmin\",\n \"uid\": 2001,\n \"shell\": \"\\/bin\\/bash\",\n \"comment\": \"BOFH\",\n \"nagios\": {\n \"pager\": \"8005551212@txt.att.net\",\n \"email\": \"bofh@example.com\"\n },\n \"openid\": \"bofh.myopenid.com\"\n }\n\nThe latest version of knife supports reading data bags from a file and automatically looks in a directory called +data_bags+ in the current directory. The \"bag\" should be a directory with JSON files of each item. For the above:\n\n mkdir data_bags/users\n $EDITOR data_bags/users/bofh.json\n\nPaste the user's public SSH key into the ssh_keys value. Also make sure the uid is unique, and if you're not using bash, that the shell is installed. Group must be sysadmin.\n\nThe recipe will also create the sysadmin group. If you're using the opscode sudo cookbook, they'll have sudo access in the default site-cookbooks template. They won't have passwords though, so the sudo cookbook's template needs to be adjusted so the sysadmin group has NOPASSWD.\n\nThe sysadmin group will be created with GID 2300. This may become an attribute at a later date.\n\nThe Apache cookbook can set up authentication using OpenIDs, which is set up using the openid key here. See the Opscode 'apache2' cookbook for more information about this.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman ()\nAuthor:: Seth Chisamore ()\n\nCopyright:: 2009-2011, 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", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "ubuntu": ">= 0.0.0", - "debian": ">= 0.0.0", - "redhat": ">= 0.0.0", - "centos": ">= 0.0.0", - "fedora": ">= 0.0.0", - "freebsd": ">= 0.0.0" - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - "users::sysadmin": "searches users data bag for sysadmins and creates users" - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/varnish/metadata.json b/varnish/metadata.json deleted file mode 100644 index 43f184683..000000000 --- a/varnish/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.8.0", - "providing": { - }, - "recipes": { - "varnish": "Installs and configures varnish" - }, - "replacing": { - }, - "name": "varnish", - "description": "Instsalls and configures varnish", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/vim/metadata.json b/vim/metadata.json deleted file mode 100644 index 3569c4ddd..000000000 --- a/vim/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "vim", - "description": "Installs vim and optional extra packages.", - "long_description": "Description\n===========\n\nInstalls vim.\n\nRequirements\n============\n\n`vim` must be a valid package name that installs VIM - Vi IMproved.\n\nAttributes\n==========\n\n* `node[:vim][:extra_packages]` - An array of extra packages related to vim to install (like plugins). Empty array by default.\n\nUsage\n=====\n\nPut `recipe[vim]` in a run list, or `include_recipe 'vim'` to ensure that vim is installed on your systems.\n\nIf you would like to install additional vim plugin packages, include their package names in the `node[:vim][:extra_packages]` attribute. Verify that your operating sytem has the package available.\n\nLicense and Author\n==================\n\nAuthor:: Joshua Timberman \n\nCopyright 2010, 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\n", - "maintainer": "Opscode, Inc.", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "1.0.0" -} \ No newline at end of file diff --git a/wordpress/metadata.json b/wordpress/metadata.json deleted file mode 100644 index ff46bf50f..000000000 --- a/wordpress/metadata.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "name": "wordpress", - "description": "Installs/Configures wordpress", - "long_description": "= DESCRIPTION:\n\nInstalls and configures Wordpress according to the instructions at http://codex.wordpress.org/Installing_WordPress. Does not set up a wordpress blog. You will need to do this manually by going to http://hostname/wp-admin/install.php (this URL may be different if you change the attribute values).\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 9.04, 9.10.\n\n== Cookbooks:\n\nOpscode cookbooks, http://github.com/opscode/cookbooks/tree/master:\n\n* mysql\n* php\n* apache2\n* opensssl\n\n== Libraries:\n\nThe openssl library is required from the openssl cookbook to generate secure passwords.\n\n= ATTRIBUTES:\n\n* wordpress[:version] - Set the version to download.\n* wordpress[:checksum] - sha256sum of the tarball, make sure this matches for the version!\n* wordpress[:dir] - Set the location to place wordpress files. Default is /var/www.\n* wordpress[:db][:database] - Wordpress will use this MySQL database to store its data.\n* wordpress[:db][:user] - Wordpress will connect to MySQL using this user.\n* wordpress[:db][:password] - Password for the Wordpress MySQL user. The default is a randomly generated string.\n\nAttributes will probably never need to change (these all default to randomly generated strings):\n\n* wordpress[:keys][:auth]\n* wordpress[:keys][:secure_auth]\n* wordpress[:keys][:logged_in]\n* wordpress[:keys][:nonce]\n\nThe random generation is handled with the secure_password method in the openssl cookbook which is a cryptographically secure random generator and not predictable like the random method in the ruby standard library.\n\n= USAGE:\n\nIf a different version than the default is desired, download that version and get the SHA256 checksum (sha256sum on Linux systems), and set the version and checksum attributes.\n\nAdd the \"wordpress\" recipe to your node's run list or role, or include the recipe in another cookbook.\n\nChef will install and configure mysql, php, and apache2 according to the instructions at http://codex.wordpress.org/Installing_WordPress. Does not set up a wordpress blog. You will need to do this manually by going to http://hostname/wp-admin/install.php (this URL may be different if you change the attribute values).\n\nThe mysql::server recipe needs to come first, and contain an execute resource to install mysql privileges from the grants.sql template in this cookbook.\n\n== Note about MySQL:\n\nThis cookbook will decouple the mysql::server and be smart about detecting whether to use a local database or find a database server in the environment in a later version.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Barry Steinglass (barry@opscode.com>)\n\nCopyright:: 2010, 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", - "maintainer": "Barry Steinglass", - "maintainer_email": "cookbooks@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "dependencies": { - "php": [ - - ], - "apache2": [ - - ], - "mysql": [ - - ], - "openssl": [ - - ] - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "wordpress/version": { - "display_name": "Wordpress download version", - "description": "Version of Wordpress to download from the Wordpress site.", - "default": "3.0.4", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/checksum": { - "display_name": "Wordpress tarball checksum", - "description": "Checksum of the tarball for the version specified.", - "default": "7342627f4a3dca44886c5aca6834cc88671dbd3aa2760182d2fcb9a330807", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/dir": { - "display_name": "Wordpress installation directory", - "description": "Location to place wordpress files.", - "default": "/var/www", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/db/database": { - "display_name": "Wordpress MySQL database", - "description": "Wordpress will use this MySQL database to store its data.", - "default": "wordpressdb", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/db/user": { - "display_name": "Wordpress MySQL user", - "description": "Wordpress will connect to MySQL using this user.", - "default": "wordpressuser", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/db/password": { - "display_name": "Wordpress MySQL password", - "description": "Password for the Wordpress MySQL user.", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/keys/auth": { - "display_name": "Wordpress auth key", - "description": "Wordpress auth key.", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/keys/secure_auth": { - "display_name": "Wordpress secure auth key", - "description": "Wordpress secure auth key.", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/keys/logged_in": { - "display_name": "Wordpress logged-in key", - "description": "Wordpress logged-in key.", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "wordpress/keys/nonce": { - "display_name": "Wordpress nonce key", - "description": "Wordpress nonce key.", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "wordpress": "Installs and configures wordpress LAMP stack on a single system" - }, - "version": "0.7.2" -} \ No newline at end of file diff --git a/xfs/metadata.json b/xfs/metadata.json deleted file mode 100644 index 710ff987a..000000000 --- a/xfs/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.1", - "providing": { - }, - "recipes": { - "xfs": "Installs packages for working with XFS" - }, - "replacing": { - }, - "name": "xfs", - "description": "Installs packages for working with XFS", - "groupings": { - }, - "long_description": "= DESCRIPTION:\n\nInstalls packages for working with XFS filesystems.\n\n= REQUIREMENTS:\n\nUbuntu or Debian package names are assumed.\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/xml/metadata.json b/xml/metadata.json deleted file mode 100644 index c6a057532..000000000 --- a/xml/metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "suse": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.1", - "providing": { - }, - "recipes": { - "xml": "Installs libxml development packages" - }, - "replacing": { - }, - "name": "xml", - "description": "Installs xml", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/zenoss/metadata.json b/zenoss/metadata.json deleted file mode 100644 index 7955a5eef..000000000 --- a/zenoss/metadata.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "name": "zenoss", - "description": "Installs and configures Zenoss and registers nodes as devices", - "long_description": "", - "maintainer": "Opscode, Inc.", - "maintainer_email": "matt@opscode.com", - "license": "Apache 2.0", - "platforms": { - "debian": ">= 0.0.0", - "ubuntu": ">= 0.0.0" - }, - "dependencies": { - "apt": ">= 0.0.0", - "openssh": ">= 0.0.0", - "openssl": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - "zenoss/device/device_class": { - "display_name": "Device Class for the node.", - "description": "Device Class for the node. May be overridden by the Role.", - "default": "/Discovered", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/device/location": { - "display_name": "Location for the node.", - "description": "Location for the node. May be overridden by the Role.", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/device/modeler_plugins": { - "display_name": "List of modeler plugins for the node.", - "description": "List of modeler plugins for the node. Node takes precendence over the Role if set.", - "type": "array", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/device/properties": { - "display_name": "Hash of configuration properties for the node.", - "description": "Hash of configuration properties for the node. Node takes precendence over the Role if set.", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/device/templates": { - "display_name": "List of templates for the node.", - "description": "List of templates for the node. Node takes precendence over the Role if set.", - "type": "array", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/admin_password": { - "display_name": "Zenoss Admin Password", - "description": "Randomly generated password for the admin user", - "default": "randomly generated", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/version": { - "display_name": "Zenoss Version", - "default": "3.0.3-0", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/zenhome": { - "display_name": "Environment variable $ZENHOME", - "description": "$ZENHOME environment variable, directory where Zenoss is installed.", - "default": "/usr/local/zenoss/zenoss", - "choice": [ - - ], - "calculated": false, - "type": "string", - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/zenoss_pubkey": { - "display_name": "zenoss user's public key", - "description": "zenoss user's public key on the server for use with SSH monitoring.", - "type": "string", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/installed_zenpacks": { - "display_name": "Hash of ZenPacks to install.", - "description": "Hash of ZenPacks to install. Key/value of Name/Version.", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - }, - "zenoss/server/zenpatches": { - "display_name": "zenpatch patches", - "description": "Hash of patches to install with zenpatch. Key/value of patch number/ticket url", - "type": "hash", - "choice": [ - - ], - "calculated": false, - "required": "optional", - "recipes": [ - - ] - } - }, - "groupings": { - }, - "recipes": { - "zenoss": "Defaults to the client recipe.", - "zenoss::client": "Includes the `openssh` recipe and adds the device to the Zenoss server for monitoring.", - "zenoss::server": "Installs Zenoss, handling and configuring all the dependencies while adding Device Classes, Groups, Systems and Locations. All nodes using the `zenoss::client` recipe are added for monitoring." - }, - "version": "0.6.3" -} \ No newline at end of file diff --git a/zlib/metadata.json b/zlib/metadata.json deleted file mode 100644 index 837e7c7fe..000000000 --- a/zlib/metadata.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "fedora": [ - - ], - "centos": [ - - ], - "ubuntu": [ - - ], - "suse": [ - - ], - "redhat": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.1.1", - "providing": { - }, - "recipes": { - "zlib": "Installs zlib development package" - }, - "replacing": { - }, - "name": "zlib", - "description": "Installs zlib", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file diff --git a/zsh/metadata.json b/zsh/metadata.json deleted file mode 100644 index d41840182..000000000 --- a/zsh/metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "recommendations": { - }, - "attributes": { - }, - "maintainer": "Opscode, Inc.", - "suggestions": { - }, - "dependencies": { - }, - "maintainer_email": "cookbooks@opscode.com", - "conflicting": { - }, - "platforms": { - "debian": [ - - ], - "ubuntu": [ - - ] - }, - "license": "Apache 2.0", - "version": "0.7.1", - "providing": { - }, - "recipes": { - "zsh": "Installs zsh" - }, - "replacing": { - }, - "name": "zsh", - "description": "Installs zsh", - "groupings": { - }, - "long_description": "" - } \ No newline at end of file