Skip to content

Commit

Permalink
COOK-821 - convert rdoc readmes to markdown and include starter template
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Dec 6, 2011
1 parent ebc88c1 commit e1350c9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
42 changes: 27 additions & 15 deletions README.rdoc → README.md
@@ -1,37 +1,49 @@
= DESCRIPTION:
Description
===========

Installs memcached and provides a define to set up an instance of memcache via runit.
Installs memcached and provides a define to set up an instance of
memcache via runit.

= REQUIREMENTS:
Changes
=======

== Platform:
## v0.10.4:

Tested 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.
* Current released version

== Cookbooks:
Requirements
============

Opscode cookbooks, http://github.com/opscode/cookbooks/tree/master:
Tested on Ubuntu 8.10-9.10. Uses the memcached init script by default.
A runit service can be set up for instances using the
`memcache_instance` definition.

## Cookbooks:

* runit

= ATTRIBUTES:
Attributes
==========

The following are node attributes passed to the template for the runit service.
The following are node attributes passed to the template for the runit
service.

* memcached[:memory] - maximum memory for memcached instances.
* memcached[:user] - user to run memcached as.
* memcached[:port] - port for memcached to listen on.
* memcached[:listen] - IP address for memcached to listen on.
* `memcached[:memory]` - maximum memory for memcached instances.
* `memcached[:user]` - user to run memcached as.
* `memcached[:port]` - port for memcached to listen on.
* `memcached[:listen]` - IP address for memcached to listen on.

= USAGE:
Usage
=====

Simply 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.

Use the define, memcached_instance, to set up a runit service for the named memcached instance.

memcached_instance "myproj"

= LICENSE and AUTHOR:
License and Author
==================

Author:: Joshua Timberman (<joshua@opscode.com>)
Author:: Joshua Sierles (<joshua@37signals.com>)
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -2,7 +2,7 @@
maintainer_email "cookbooks@opscode.com"
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'))
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.10.4"
depends "runit"

Expand Down

0 comments on commit e1350c9

Please sign in to comment.