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

Provider waits forever if runit isn't installed #208

Closed cholman-zd closed 7 years ago

cholman-zd commented 7 years ago

Cookbook version

1.8.0

Chef-client version

12.8.0

Platform Details

Ubuntu 12.04

Scenario:

Accidentally running a cookbook without having included the runit recipe, so runit is not installed

This line stalls forever.

Steps to Reproduce:

Use the runit provider without having included the runit recipe and without runit installed on the system.

(we have abstracted the runit cookbook a bit. If the problem/fix isn't immediately obvious, let me know and I'll put together an actual example)

Expected Result:

Some kind of a timeout or exception

Actual Result:

It sits there forever waiting like Fry's dog does in that episode of futurama that made everyone cry.

tas50 commented 7 years ago

This has been fixed in 3.0.2