chef-cookbooks / runit

Development repository for the Chef Runit Cookbook
https://supermarket.chef.io/cookbooks/runit
Apache License 2.0
106 stars 197 forks source link

Make container check agnostic #186

Closed dalehamel closed 8 years ago

dalehamel commented 8 years ago

1e0b30e added the functionality to detect if running it docker, but it doesn't work on other container systems utilizing cgroups which may have the same problem.

This check is more generic, and should detect:

etc.

@slyness @akranga for review

slyness commented 8 years ago

@dalehamel did you decide to not submit this PR? that's fine if so. But you closed it so fast we wanted to make sure it was intentional.

dalehamel commented 8 years ago

@slyness decided not to submit, sorry for the bother.

Feel free to use if you want.

slyness commented 8 years ago

No bother at all. Cheers.