eycloud-recipe-resque 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile.lock +3 -1
- data/eycloud-recipe-resque.gemspec +2 -1
- data/metadata.json +2 -2
- data/metadata.rb +2 -2
- data/recipes/configure.rb +5 -5
- metadata +18 -6
data/.gitignore
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
3
|
|
4
|
-
version = "1.0" # get from metadata.json or .rb
|
4
|
+
version = "1.0.1" # get from metadata.json or .rb
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "eycloud-recipe-resque"
|
@@ -17,5 +17,6 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
+
s.add_dependency("eycloud-helper-cronjobs")
|
20
21
|
s.add_development_dependency("rake")
|
21
22
|
end
|
data/metadata.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"license": "MIT",
|
3
3
|
"maintainer": "Engine Yard LLC",
|
4
4
|
"maintainer_email": "drnic@engineyard.com",
|
5
|
-
"version": "1.0",
|
5
|
+
"version": "1.0.1",
|
6
6
|
"description": "Resque for EY Cloud",
|
7
7
|
"name": "resque",
|
8
8
|
"attributes": {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
},
|
11
11
|
"long_description": "",
|
12
12
|
"dependencies": {
|
13
|
-
"
|
13
|
+
"cronjobs": [
|
14
14
|
|
15
15
|
]
|
16
16
|
}
|
data/metadata.rb
CHANGED
data/recipes/configure.rb
CHANGED
@@ -20,11 +20,11 @@ if node[:instance_role] == "solo" || node[:instance_role] == "eylocal" ||
|
|
20
20
|
mode 0755
|
21
21
|
end
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
crond "Kill stale resque workers" do
|
24
|
+
filename "resque_kill_stale"
|
25
|
+
interval "* * * * *"
|
26
|
+
command %Q{/usr/local/bin/resque_kill_stale /tmp/resque_ttls}
|
27
|
+
end
|
28
28
|
|
29
29
|
directory "/var/log/resque" do
|
30
30
|
owner node[:owner_name]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eycloud-recipe-resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: eycloud-helper-cronjobs
|
16
|
+
requirement: &70267959991360 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70267959991360
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: rake
|
16
|
-
requirement: &
|
27
|
+
requirement: &70267959989680 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
@@ -21,7 +32,7 @@ dependencies:
|
|
21
32
|
version: '0'
|
22
33
|
type: :development
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *70267959989680
|
25
36
|
description: Resque for EY Cloud
|
26
37
|
email:
|
27
38
|
- drnicwilliams@gmail.com
|
@@ -29,6 +40,7 @@ executables: []
|
|
29
40
|
extensions: []
|
30
41
|
extra_rdoc_files: []
|
31
42
|
files:
|
43
|
+
- .gitignore
|
32
44
|
- Gemfile
|
33
45
|
- Gemfile.lock
|
34
46
|
- README.md
|
@@ -59,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
71
|
version: '0'
|
60
72
|
segments:
|
61
73
|
- 0
|
62
|
-
hash:
|
74
|
+
hash: 4247591606190947945
|
63
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
76
|
none: false
|
65
77
|
requirements:
|
@@ -68,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
80
|
version: '0'
|
69
81
|
segments:
|
70
82
|
- 0
|
71
|
-
hash:
|
83
|
+
hash: 4247591606190947945
|
72
84
|
requirements: []
|
73
85
|
rubyforge_project:
|
74
86
|
rubygems_version: 1.8.17
|