itamae 1.1.13 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/itamae/resource/service.rb +6 -2
- data/lib/itamae/version.txt +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f972939f9cc2ebb1f3e716d7f5ce8d6fd1093451
|
4
|
+
data.tar.gz: 1b68338decf45a43dcc189c4ba4e435768da4cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e76c169cb28a705edd1040b67c60b1b3608d1647ce06a5c19a9b8b8f2cb16c8f4b046d10c0fc09c5ecaa6c6466277535de92898a316c176534d8c18933ed4e5
|
7
|
+
data.tar.gz: bb3ca9502307850461f5d4b70b3651f69bea31a939dbaf9c08f54f123ab93d0a932cce692214913d89dce4914c1153e686dfd7c2854c5938b13c1e651d93287d
|
data/CHANGELOG.md
CHANGED
@@ -25,11 +25,15 @@ module Itamae
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def action_start(options)
|
28
|
-
|
28
|
+
unless current.running
|
29
|
+
run_specinfra(:start_service, attributes.name)
|
30
|
+
end
|
29
31
|
end
|
30
32
|
|
31
33
|
def action_stop(options)
|
32
|
-
|
34
|
+
if current.running
|
35
|
+
run_specinfra(:stop_service, attributes.name)
|
36
|
+
end
|
33
37
|
end
|
34
38
|
|
35
39
|
def action_restart(options)
|
data/lib/itamae/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.14
|