chef-container 0.0.2.pre.dev5 → 0.0.2.pre.dev6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/container/version.rb +1 -1
- data/lib/chef/provider/service/container.rb +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: d0b798168db96d4238232a8f83a121516d043b49
|
4
|
+
data.tar.gz: 174d0664251d8bbc971bf073bf874759c4decbf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5136eadc7afbff6f4711e4a5ff60f79d826677939a7323168acdd5d7053a3e78f61b496496339313afe9238cbc1f22bad1cbd4626b3932f64c5c9aff3e38aa53
|
7
|
+
data.tar.gz: bce2f9eaf4a82593d79d491f5d6fb87b0d2f11f07af5dd331c5f9beef41dc8be261fea675755e73669970ebab81cd00e57779de89e23e5aca964e9279efb62ca
|
@@ -79,6 +79,7 @@ class Chef
|
|
79
79
|
Chef::Log.debug("#{new_resource} service symlink removed")end
|
80
80
|
|
81
81
|
def start_service
|
82
|
+
enable_service unless enabled?
|
82
83
|
shell_out!("#{Chef::Container::Runit::SV_BIN} start #{service_dir_name}")
|
83
84
|
end
|
84
85
|
|
@@ -94,7 +95,6 @@ class Chef
|
|
94
95
|
shell_out!("#{Chef::Container::Runit::SV_BIN} force-reload #{service_dir_name}")
|
95
96
|
end
|
96
97
|
|
97
|
-
|
98
98
|
def running?
|
99
99
|
cmd = shell_out("#{Chef::Container::Runit::SV_BIN} status #{service_dir_name}")
|
100
100
|
(cmd.stdout =~ /^run:/ && cmd.exitstatus == 0)
|