Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

bump versions in metadata for releases

  • Loading branch information...
commit 0ca0e4057474423ca1b93bc63c67254d22c10573 1 parent 9c7391a
Joshua Timberman jtimberman authored
18 memcached/metadata.json
... ... @@ -1,7 +1,7 @@
1 1 {
2 2 "name": "memcached",
3 3 "description": "Installs memcached and provides a define to set up an instance of memcache via runit",
4   - "long_description": "= DESCRIPTION:\n\nInstalls memcached and provides a define to set up an instance of memcache via runit.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 8.10-9.10. Uses the memcached init script by default. A runit service can be set up for instances using the included define.\n\n== Cookbooks:\n\nOpscode cookbooks, http://github.com/opscode/cookbooks/tree/master:\n\n* runit\n\n= ATTRIBUTES: \n\nThe following are node attributes passed to the template for the runit service.\n\n* memcached[:memory] - maximum memory for memcached instances.\n* memcached[:user] - user to run memcached as.\n* memcached[:port] - port for memcached to listen on.\n\n= USAGE:\n\nSimply set the attributes and it will configure the /etc/memcached.conf file. If you want to use multiple memcached instances, you'll need to modify the recipe to disable the startup script and the template in the default recipe.\n\nUse the define, memcached_instance, to set up a runit service for the named memcached instance.\n\n memcached_instance \"myproj\" \n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\nAuthor:: Joshua Sierles (<joshua@37signals.com>)\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",
  4 + "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 (<joshua@opscode.com>)\nAuthor:: Joshua Sierles (<joshua@37signals.com>)\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",
5 5 "maintainer": "Opscode, Inc.",
6 6 "maintainer_email": "cookbooks@opscode.com",
7 7 "license": "Apache 2.0",
@@ -70,6 +70,20 @@
70 70 "recipes": [
71 71
72 72 ]
  73 + },
  74 + "memcached/listen": {
  75 + "display_name": "Memcached IP Address",
  76 + "description": "IP address to use for memcached instance",
  77 + "default": "0.0.0.0",
  78 + "choice": [
  79 +
  80 + ],
  81 + "calculated": false,
  82 + "type": "string",
  83 + "required": "optional",
  84 + "recipes": [
  85 +
  86 + ]
73 87 }
74 88 },
75 89 "groupings": {
@@ -77,5 +91,5 @@
77 91 "recipes": {
78 92 "memcached": "Installs and configures memcached"
79 93 },
80   - "version": "0.10.3"
  94 + "version": "0.10.4"
81 95 }
2  memcached/metadata.rb
@@ -3,7 +3,7 @@
3 3 license "Apache 2.0"
4 4 description "Installs memcached and provides a define to set up an instance of memcache via runit"
5 5 long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
6   -version "0.10.3"
  6 +version "0.10.4"
7 7 depends "runit"
8 8
9 9 recipe "memcached", "Installs and configures memcached"
2  postgresql/metadata.json
@@ -47,5 +47,5 @@
47 47 "postgresql::server": "Installs postgresql server packages, debian family style",
48 48 "postgresql::redhat": "Installs postgresql server packages, redhat family style"
49 49 },
50   - "version": "0.11.0"
  50 + "version": "0.11.1"
51 51 }
2  postgresql/metadata.rb
@@ -3,7 +3,7 @@
3 3 license "Apache 2.0"
4 4 description "Installs and configures postgresql for clients or servers"
5 5 long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
6   -version "0.11.0"
  6 +version "0.11.1"
7 7 recipe "postgresql", "Empty, use one of the other recipes"
8 8 recipe "postgresql::client", "Installs postgresql client package(s)"
9 9 recipe "postgresql::server", "Installs postgresql server packages, templates"
32 ruby/metadata.json
... ... @@ -1,7 +1,7 @@
1 1 {
2 2 "name": "ruby",
3   - "description": "Installs ruby packages",
4   - "long_description": "",
  3 + "description": "Installs Ruby and related packages",
  4 + "long_description": "= DESCRIPTION:\n\nInstalls Ruby and related packages.\n\n= REQUIREMENTS:\n\n== Platform:\n\nTested on Ubuntu 10.04. Debian and Gentoo should also work fully. CentOS, Red Hat, Fedora and Arch are partially supported.\n\n= ATTRIBUTES:\n\n* +languages[:ruby][:default_version]+ - The Ruby version to install with the ruby recipe and create symlinks for with the symlinks recipe.\n\n= USAGE:\n\nPrevious versions of this cookbook gave you no control over which version of Ruby would be installed. We are now in the middle of an awkward period where you are equally likely to want 1.8 or 1.9. You may even want both. This is now catered for. To install specific versions side-by-side, use the 1.8, 1.9 or 1.9.1 recipes. The ruby recipe will install the version specified by +languages[:ruby][:default_version]+. If you want to do something other than install these packages, the +ruby_packages+ definition is provided as a wrapper around the package resource. Just specify the version number.\n\nFor example, to use the default recipe in a role named \"base\", use 'ruby' in the run list and set the +languages[:ruby][:default_version]+ attribute:\n\n {\n \"name\": \"base\",\n \"description\": \"Base role is applied to all systems\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n },\n \"override_attributes\": {\n \"languages\": {\n \"ruby\": {\n \"default_version\": \"1.8\"\n }\n }\n },\n \"chef_type\": \"role\",\n \"run_list\": [\n \"recipe[ruby]\"\n ]\n }\n\nMany scripts, including those provided by Rails, don't ask for a particular version of Ruby such as \"ruby1.8\" and simply look for \"ruby\" instead. Sometimes a symlink is provided and sometimes the executable is simply called \"ruby\" in the first place but generally speaking, it is difficult to predict this behaviour, especially when Ruby Gems is thrown into the mix. The symlinks recipe seeks to relieve you of this headache by creating symlinks for the common executables pointing to the Ruby version specified by +languages[:ruby][:default_version]+. This is also available as a definition called +ruby_symlinks+, which is a wrapper around the link resource. As before, just specify the version number. Non-symlinks will not be overwritten unless you set force to true. You can also set a path other than /usr/bin if necessary.\n\n*IMPORTANT!* Only Ubuntu, Debian and Gentoo support installing a specific Ruby version at all. yum-based distributions install 1.8 by default but require you to give the full package version otherwise. Maybe some magic could be added to Chef? Arch installs 1.9.2 by default but 1.8 is only available from AUR. Additionally, Ubuntu and Debian group 1.9.2 with 1.9.1 while Gentoo lumps all 1.9 releases together.\n\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>), James Le Cuirot (<developers@findsyou.com>)\n\nCopyright:: 2009-2010, Opscode, Inc; 2010, FindsYou Limited\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
5 5 "maintainer": "Opscode, Inc.",
6 6 "maintainer_email": "cookbooks@opscode.com",
7 7 "license": "Apache 2.0",
@@ -23,6 +23,9 @@
23 23 ],
24 24 "arch": [
25 25
  26 + ],
  27 + "gentoo": [
  28 +
26 29 ]
27 30 },
28 31 "dependencies": {
@@ -38,11 +41,32 @@
38 41 "replacing": {
39 42 },
40 43 "attributes": {
  44 + "languages/ruby/default_version": {
  45 + "display_name": "Default Ruby version",
  46 + "recipes": [
  47 + "ruby",
  48 + "symlinks"
  49 + ],
  50 + "choice": [
  51 + "1.8",
  52 + "1.9",
  53 + "1.9.1"
  54 + ],
  55 + "default": "1.8",
  56 + "description": "The Ruby version to install with the ruby recipe and create symlinks for with the symlinks recipe. Unfortunately this setting only works fully on Ubuntu, Debian and Gentoo.",
  57 + "calculated": false,
  58 + "type": "string",
  59 + "required": "optional"
  60 + }
41 61 },
42 62 "groupings": {
43 63 },
44 64 "recipes": {
45   - "ruby": "Installs ruby packages"
  65 + "ruby": "Installs Ruby and related packages",
  66 + "1.8": "Installs Ruby 1.8 and related packages",
  67 + "1.9": "Installs Ruby 1.9 and related packages",
  68 + "1.9.1": "Installs Ruby 1.9.1 and related packages",
  69 + "symlinks": "Installs symlinks for the default Ruby version"
46 70 },
47   - "version": "0.8.0"
  71 + "version": "0.9.0"
48 72 }
2  ruby/metadata.rb
@@ -3,7 +3,7 @@
3 3 license "Apache 2.0"
4 4 description "Installs Ruby and related packages"
5 5 long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
6   -version "0.8.0"
  6 +version "0.9.0"
7 7
8 8 recipe "ruby", "Installs Ruby and related packages"
9 9 recipe "1.8", "Installs Ruby 1.8 and related packages"
57 users/metadata.json
... ... @@ -1,29 +1,30 @@
1 1 {
2   - "providing": {
3   - },
4   - "attributes": {
5   - },
6   - "replacing": {
7   - },
8   - "dependencies": {
9   - },
10   - "groupings": {
11   - },
12   - "recommendations": {
13   - },
14   - "platforms": {
15   - },
16   - "license": "Apache 2.0",
17   - "version": "0.2.0",
18   - "maintainer": "Opscode, Inc.",
19   - "suggestions": {
20   - },
21   - "recipes": {
22   - },
23   - "maintainer_email": "ops@example.com",
24   - "name": "users",
25   - "conflicting": {
26   - },
27   - "description": "Creates users from a databag search",
28   - "long_description": "= DESCRIPTION:\n\nCreates users with authorized_keys.\n\n= REQUIREMENTS:\n\nData bag named \"users\" must exist. See USAGE.\n\n= USAGE:\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 create_data --bag=users\n\nCreate a user.\n\n knife create_item --bag=users --id bofh\n {\n \"id\": \"bofh\",\n \"ssh_keys\": \"\",\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\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\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
29   - }
  2 + "name": "users",
  3 + "description": "Creates users from a databag search",
  4 + "long_description": "= DESCRIPTION:\n\nCreates users with +authorized_keys+.\n\n= REQUIREMENTS:\n\nData bag named \"users\" must exist. See USAGE.\n\n= USAGE:\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\": \"\",\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\n= LICENSE and AUTHOR:\n\nAuthor:: Joshua Timberman (<joshua@opscode.com>)\n\nCopyright:: 2009, Opscode, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
  5 + "maintainer": "Opscode, Inc.",
  6 + "maintainer_email": "ops@example.com",
  7 + "license": "Apache 2.0",
  8 + "platforms": {
  9 + },
  10 + "dependencies": {
  11 + },
  12 + "recommendations": {
  13 + },
  14 + "suggestions": {
  15 + },
  16 + "conflicting": {
  17 + },
  18 + "providing": {
  19 + },
  20 + "replacing": {
  21 + },
  22 + "attributes": {
  23 + },
  24 + "groupings": {
  25 + },
  26 + "recipes": {
  27 + "users::sysadmin": "searches users data bag for sysadmins and creates users"
  28 + },
  29 + "version": "0.3.0"
  30 +}
3  users/metadata.rb
@@ -3,4 +3,5 @@
3 3 license "Apache 2.0"
4 4 description "Creates users from a databag search"
5 5 long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
6   -version "0.2.0"
  6 +version "0.3.0"
  7 +recipe "users::sysadmin", "searches users data bag for sysadmins and creates users"

0 comments on commit 0ca0e40

Please sign in to comment.
Something went wrong with that request. Please try again.