forked from sous-chefs/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
33 lines (27 loc) · 1.04 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
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.md'))
version "1.0.2"
depends "runit"
recipe "memcached", "Installs and configures memcached"
%w{ ubuntu debian redhat fedora centos }.each do |os|
supports os
end
attribute "memcached/memory",
:display_name => "Memcached Memory",
:description => "Memory allocated for memcached instance",
:default => "64"
attribute "memcached/port",
:display_name => "Memcached Port",
:description => "Port to use for memcached instance",
:default => "11211"
attribute "memcached/user",
:display_name => "Memcached User",
:description => "User to run memcached instance as",
:default => "nobody"
attribute "memcached/listen",
:display_name => "Memcached IP Address",
:description => "IP address to use for memcached instance",
:default => "0.0.0.0"