Closed eherot closed 6 years ago
It might! This could be as simple as:
provider Chef::Provider::Service::Upstart if node['platform_version'] = '14.04'
I added that specifically for 14.04 b/c of the SysV/Upstart confusion on that platform, but SystemD is the default on 16.04 and Chef knows that.
Actually the problem may even have been the wrapper cookbook I was including this from which (I now realize) was hardcoding upstart
as the service type. I just didn't want to forget to ensure that this worked. I ended up just using package 'zookeeper'
in the wrapper cookbook (since I only needed ZK for testing anyway).
Apparently this is all good; it installs just fine using Ubuntu 16.04 now.
Might address #201 in the process. Currently this happens: