-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
113 lines (90 loc) · 3.17 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
maintainer "Philip (flip) Kromer - Infochimps, Inc"
maintainer_email "[email protected]"
license "Apache 2.0"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "3.0.4"
description "Installs/Configures resque"
depends "runit"
depends "redis"
recipe "resque::default", "Base configuration for resque"
recipe "resque::server", "Server"
recipe "resque::dedicated_redis", "Dedicated redis -- a redis solely for this resque"
%w[ debian ubuntu ].each do |os|
supports os
end
attribute "resque/log_dir",
:display_name => "",
:description => "",
:default => "/var/log/resque"
attribute "resque/tmp_dir",
:display_name => "",
:description => "",
:default => "/data/db/resque/tmp"
attribute "resque/data_dir",
:display_name => "",
:description => "",
:default => "/data/db/resque/data"
attribute "resque/journal_dir",
:display_name => "",
:description => "",
:default => "/data/db/resque/swap"
attribute "resque/conf_dir",
:display_name => "",
:description => "",
:default => "/etc/resque"
attribute "resque/db_basename",
:display_name => "",
:description => "",
:default => "resque_queue.rdb"
attribute "resque/namespace",
:display_name => "",
:description => "",
:default => "cluster_name"
attribute "resque/user",
:display_name => "",
:description => "",
:default => "resque"
attribute "resque/group",
:display_name => "",
:description => "",
:default => "resque"
attribute "resque/app_env",
:display_name => "",
:description => "",
:default => "production"
attribute "resque/home_dir",
:display_name => "",
:description => "",
:default => "/data/db/resque"
attribute "resque/pid_dir",
:display_name => "",
:description => "",
:default => "/var/run/resque"
attribute "resque/redis/run_state",
:display_name => "",
:description => "",
:default => "start"
attribute "resque/redis/server/addr",
:display_name => "",
:description => "",
:default => "0.0.0.0"
attribute "resque/redis/server/port",
:display_name => "",
:description => "",
:default => "6388"
attribute "resque/dashboard/port",
:display_name => "",
:description => "",
:default => "6389"
attribute "resque/dashboard/run_state",
:display_name => "",
:description => "",
:default => "start"
attribute "users/resque/uid",
:display_name => "",
:description => "",
:default => "336"
attribute "groups/resque/gid",
:display_name => "",
:description => "",
:default => "336"