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

runit version 4.0.0 breaks chefspec in consuming cookbook #225

Closed lehn-etracker closed 6 years ago

lehn-etracker commented 6 years ago

Cookbook version

4.0.0

Chef-client version

chefspec (7.1.0) chef (12.21.4)

Platform Details

debian jessie (8.8)

Scenario:

try to run chefspec in consumer cookbook using runit as dependency in metadata.rb

Steps to Reproduce:

call chefspec

Expected Result:

chefspec works

Actual Result:

 TypeError:

   superclass mismatch for class RunitService
 # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:27:in `<class:Resource>'
 # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:25:in `<class:Chef>'
 # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:24:in `<top (required)>'
 # ./spec/unit/recipes/default_spec.rb:13:in `block (3 levels) in <top (required)>'
 # ./spec/unit/recipes/default_spec.rb:44:in `block (4 levels) in <top (required)>'
tas50 commented 6 years ago

This should be resolved in the 4.0.1 release. Sorry for the breakage here.