Permalink
Browse files

COOK-324, update memcached attributes

  • Loading branch information...
1 parent 5fa6063 commit f0752b7a2ed83e895548d5ad528141a5de4c62eb @jtimberman jtimberman committed Jul 11, 2010
Showing with 15 additions and 15 deletions.
  1. +3 −3 attributes/default.rb
  2. +11 −11 metadata.json
  3. +1 −1 metadata.rb
View
@@ -1,3 +1,3 @@
-set_unless[:memcached][:memory] = 64
-set_unless[:memcached][:port] = 11211
-set_unless[:memcached][:user] = "nobody"
+default[:memcached][:memory] = 64
+default[:memcached][:port] = 11211
+default[:memcached][:user] = "nobody"
View
@@ -1,5 +1,5 @@
{
- "recommendations": {
+ "providing": {
},
"attributes": {
"memcached/memory": {
@@ -45,16 +45,16 @@
"display_name": "Memcached Port"
}
},
- "maintainer": "Opscode, Inc.",
- "suggestions": {
+ "replacing": {
},
"dependencies": {
"runit": [
]
},
- "maintainer_email": "cookbooks@opscode.com",
- "conflicting": {
+ "groupings": {
+ },
+ "recommendations": {
},
"platforms": {
"debian": [
@@ -65,17 +65,17 @@
]
},
"license": "Apache 2.0",
- "version": "0.10.1",
- "providing": {
+ "version": "0.10.2",
+ "maintainer": "Opscode, Inc.",
+ "suggestions": {
},
"recipes": {
"memcached": "Installs and configures memcached"
},
- "replacing": {
- },
+ "maintainer_email": "cookbooks@opscode.com",
"name": "memcached",
- "description": "Installs memcached and provides a define to set up an instance of memcache via runit",
- "groupings": {
+ "conflicting": {
},
+ "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\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"
}
View
@@ -3,7 +3,7 @@
license "Apache 2.0"
description "Installs memcached and provides a define to set up an instance of memcache via runit"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
-version "0.10.1"
+version "0.10.2"
depends "runit"
recipe "memcached", "Installs and configures memcached"

0 comments on commit f0752b7

Please sign in to comment.