murakumo 0.3.3 → 0.3.4
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.
- data/etc/murakumo.server +2 -2
- data/etc/murakumo.yml.example +2 -2
- data/lib/cli/murakumo_options.rb +1 -1
- data/lib/misc/murakumo_const.rb +1 -1
- data/lib/srv/murakumo_health_checker.rb +2 -2
- metadata +3 -3
data/etc/murakumo.server
CHANGED
|
@@ -99,8 +99,8 @@ host: $ip_addr, $hostname, 60
|
|
|
99
99
|
# timeout: 5
|
|
100
100
|
# healthy: 2
|
|
101
101
|
# unhealthy: 2
|
|
102
|
-
# #
|
|
103
|
-
# #
|
|
102
|
+
# #on-activate: /foo/bar/zoo.sh # args: address name status
|
|
103
|
+
# #on-inactivate: /foo/bar/zoo.sh # args: address name status
|
|
104
104
|
# script: |
|
|
105
105
|
# tcp_check 80
|
|
106
106
|
# bar:
|
data/etc/murakumo.yml.example
CHANGED
|
@@ -39,8 +39,8 @@ health-check:
|
|
|
39
39
|
timeout: 5
|
|
40
40
|
healthy: 2
|
|
41
41
|
unhealthy: 2
|
|
42
|
-
#
|
|
43
|
-
#
|
|
42
|
+
#on-activate: /foo/bar/zoo.sh # args: address name status
|
|
43
|
+
#on-inactivate: /foo/bar/zoo.sh # args: address name status
|
|
44
44
|
script: |
|
|
45
45
|
tcp_check 80
|
|
46
46
|
bar:
|
data/lib/cli/murakumo_options.rb
CHANGED
|
@@ -195,7 +195,7 @@ def murakumo_parse_args
|
|
|
195
195
|
parse_error('configuration of a health check is not right', "#{name}/script")
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
-
%w(
|
|
198
|
+
%w(on-activate on-inactivate).each do |key|
|
|
199
199
|
next unless conf[key]
|
|
200
200
|
path = conf[key] = conf[key].strip
|
|
201
201
|
|
data/lib/misc/murakumo_const.rb
CHANGED
metadata
CHANGED