watchmonkey_cli 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/watchmonkey_cli/application/configuration.tpl +2 -2
- data/lib/watchmonkey_cli/hooks/requeue.rb +1 -1
- data/lib/watchmonkey_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a1e9e2762af49578548f6c9676080524e3d8e522bba82c5716949e4b59bca00
|
|
4
|
+
data.tar.gz: a238a933774a9e7fc18e0b134a1cfbaa8f9b72f534953733d947d611b2c3c43a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 961c74daa2c9eb267c448a1d35138549ca49d5f19cf319d7435794311725d001898c3e674801113933dc1d656495b182fd5dc599296c11111cff0073936a1b47
|
|
7
|
+
data.tar.gz: 95b68b1e4d7204ed7c96cfaff8f8e363e4ba63689094a260f2a1e40478466575c419d68703085bedb629f8567ef6212e1d76eeff5de4a016b49532d3f957ac82
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.8.
|
|
1
|
+
1.8.3
|
|
@@ -176,6 +176,6 @@ unix_defaults :my_server, unix_mdadm: false, unix_df: { min_percent: 10 }
|
|
|
176
176
|
|
|
177
177
|
# There are also the following shortcuts:
|
|
178
178
|
unix_defaults :my_server, load: [1, 2, 3] # Array(3) or false
|
|
179
|
-
unix_defaults :my_server, memory_min: 10 #
|
|
180
|
-
unix_defaults :my_server, df_min: 10 #
|
|
179
|
+
unix_defaults :my_server, memory_min: 10 # Integer or false
|
|
180
|
+
unix_defaults :my_server, df_min: 10 # Integer or false
|
|
181
181
|
unix_defaults :my_server, mdadm: false # true or false
|
|
@@ -72,7 +72,7 @@ module WatchmonkeyCli
|
|
|
72
72
|
# =========
|
|
73
73
|
hook :dequeue do |checker, args|
|
|
74
74
|
opts = args.extract_options!
|
|
75
|
-
retry_in = opts[:every] if opts[:every].is_a?(
|
|
75
|
+
retry_in = opts[:every] if opts[:every].is_a?(Numeric)
|
|
76
76
|
retry_in = @opts[:"default_requeue_#{checker.class.checker_name}"] if retry_in.nil?
|
|
77
77
|
retry_in = @opts[:default_requeue] if retry_in.nil?
|
|
78
78
|
if retry_in
|