chef-container 0.0.2.pre.dev6 → 0.0.2.pre.dev7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0b798168db96d4238232a8f83a121516d043b49
4
- data.tar.gz: 174d0664251d8bbc971bf073bf874759c4decbf0
3
+ metadata.gz: 12e9e152983e1343a111f4cff83e1bae4ed50e66
4
+ data.tar.gz: d9db22e7e271bba465853b5e9750fb293aab89fb
5
5
  SHA512:
6
- metadata.gz: 5136eadc7afbff6f4711e4a5ff60f79d826677939a7323168acdd5d7053a3e78f61b496496339313afe9238cbc1f22bad1cbd4626b3932f64c5c9aff3e38aa53
7
- data.tar.gz: bce2f9eaf4a82593d79d491f5d6fb87b0d2f11f07af5dd331c5f9beef41dc8be261fea675755e73669970ebab81cd00e57779de89e23e5aca964e9279efb62ca
6
+ metadata.gz: 3b08946c6ff8e3b344a81463a86b8295a467b69d724e5b2a741bacf1b0a6b0d292c26fec86676f5c251085d28dfac4b90e7985a48ca6a8a29f49e78e6cd5b114
7
+ data.tar.gz: 6133947ca60eeb9a2745cba2ad848793cf1e69cc25b1700ac908bf194737dc480d7dbca113f563cb2c93a77eb3b770e7a74ecb21489ea9807b824f9ab96fa49b
@@ -1,5 +1,5 @@
1
1
  class Chef
2
2
  module Container
3
- VERSION = "0.0.2-dev6"
3
+ VERSION = "0.0.2-dev7"
4
4
  end
5
5
  end
@@ -79,7 +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
+ service_link.run_action(:create) unless new_resource.enabled
83
83
  shell_out!("#{Chef::Container::Runit::SV_BIN} start #{service_dir_name}")
84
84
  end
85
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.pre.dev6
4
+ version: 0.0.2.pre.dev7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Duffield