specinfra 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/base/service.rb +4 -0
- data/lib/specinfra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40920076624bf4cd8e392f5665d9a8e02941e89b
|
4
|
+
data.tar.gz: 5287ee3853e15fc4505e02ac201de3e4da009143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 821181682b5a330ddeb8e6b45fbd1c261ddff7f7efddab755648a29c35d09fb9f0d35928aeab75ffd5ef23de02b70b482eea6d8ea9092c9121c53d13ad303f2e
|
7
|
+
data.tar.gz: 180607270a6845453ae6121c7b07b13001a177f8b41083a5db8b2ed83a97bef16d604c3f2074bd9fd069b0a38f3508c07f42ac462617df57e3b374dbfbf86ac7
|
@@ -12,6 +12,10 @@ class Specinfra::Command::Base::Service < Specinfra::Command::Base
|
|
12
12
|
"initctl status #{escape(service)} | grep running"
|
13
13
|
end
|
14
14
|
|
15
|
+
def check_is_running_under_daemontools(service)
|
16
|
+
"svstat /service/#{escape(service)} | grep -E 'up \\(pid [0-9]+\\)'"
|
17
|
+
end
|
18
|
+
|
15
19
|
def check_is_monitored_by_monit(service)
|
16
20
|
"monit status"
|
17
21
|
end
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|