chef-boneyard / push-jobs-cookbook

Development repository for Chef Cookbook push-jobs
https://supermarket.chef.io/cookbooks/push-jobs
Apache License 2.0
21 stars 43 forks source link

3.0.0+ breaks notifies / subscribes :before timer #93

Closed trevorlauder closed 8 years ago

trevorlauder commented 8 years ago

Cookbook version

3.0.0+

Chef-client version

12.11.18

Platform Details

RHEL 7.2

Scenario:

Trying to use the :before timer on a notifies or subscribes property.

When using push-jobs 2.8.1, the notifies or subscribes properties with a :before trigger work fine, but if I upgrade to 3.0.0+ they no longer work.

It looks like compat_resource is the problem...

This version works fine: https://github.com/chef-cookbooks/push-jobs/tree/2526642a3762df1806edefedcf175028079d4097

This version breaks: https://github.com/chef-cookbooks/push-jobs/tree/9b6e64c5fa53f17f1a35cb89082471e93e29959b

It adds depends 'compat_resource'

trevorlauder commented 8 years ago

Closing this issue as it was determined the bug is in compat_resource, will reopen it there.