You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cookbook makes your favorite breakfast sandwhich.
7
-
8
-
Requirements
9
-
------------
10
-
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
11
-
12
-
e.g.
13
-
#### packages
14
-
-`toaster` - memcached needs toaster to brown your bagel.
3
+
Basic Memcahed Cookbook that has currently only been tested with Ubuntu 12.04.
15
4
16
5
Attributes
17
6
----------
18
-
TODO: List you cookbook attributes here.
19
7
20
-
e.g.
21
8
#### memcached::default
22
9
<table>
23
10
<tr>
@@ -27,19 +14,40 @@ e.g.
27
14
<th>Default</th>
28
15
</tr>
29
16
<tr>
30
-
<td><tt>['memcached']['bacon']</tt></td>
31
-
<td>Boolean</td>
32
-
<td>whether to include bacon</td>
33
-
<td><tt>true</tt></td>
17
+
<td><tt>['memcached']['listen_ip']</tt></td>
18
+
<td>String</td>
19
+
<td>IP for memcached to listen on</td>
20
+
<td>0.0.0.0</td>
21
+
</tr>
22
+
<tr>
23
+
<td><tt>['memcached']['listen_tcp']</tt></td>
24
+
<td>String</td>
25
+
<td>TCP Port for memcached to listen on</td>
26
+
<td>11211</td>
27
+
</tr>
28
+
<tr>
29
+
<td><tt>['memcached']['listen_UDP']</tt></td>
30
+
<td>String</td>
31
+
<td>UDP Port for memcached to listen on</td>
32
+
<td>11211</td>
33
+
</tr>
34
+
<tr>
35
+
<td><tt>['memcached']['user']</tt></td>
36
+
<td>String</td>
37
+
<td>User to run memcached as</td>
38
+
<td>nobody</td>
39
+
</tr>
40
+
<tr>
41
+
<td><tt>['memcached']['max_mem']</tt></td>
42
+
<td>String</td>
43
+
<td>Default max amount of memory to allow memcached to use. Can be set to percentage or an actual number</td>
44
+
<td>90%</td>
34
45
</tr>
35
46
</table>
36
47
37
48
Usage
38
49
-----
39
50
#### memcached::default
40
-
TODO: Write usage instructions for each cookbook.
41
-
42
-
e.g.
43
51
Just include `memcached` in your node's `run_list`:
44
52
45
53
```json
@@ -53,9 +61,7 @@ Just include `memcached` in your node's `run_list`:
53
61
54
62
Contributing
55
63
------------
56
-
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
57
64
58
-
e.g.
59
65
1. Fork the repository on Github
60
66
2. Create a named feature branch (like `add_component_x`)
0 commit comments