chef-rewind icon indicating copy to clipboard operation
chef-rewind copied to clipboard

Allow using rewind in providers

Open jip149 opened this issue 12 years ago • 8 comments

Using rewind can also be useful in providers, if for example a provider can be called multiple times and update the same file

jip149 avatar Feb 06 '13 10:02 jip149

:+1: This would be a handy addition to the gem.

pwelch avatar Feb 27 '14 21:02 pwelch

@giga can you rebase and squash the commits relevant to this issue, and split off the gemspec commit?

pdf avatar Feb 28 '14 04:02 pdf

Commits has been rebased. rspec doesn't complain, but I have not actually tested this on a real chef run.

gemspec commit has been removed. The second commit is actually a different issue, I believe you can choose not to pull it.

jip149 avatar Mar 01 '14 03:03 jip149

Any updates on this? We'd like to see this get merged!

jamesfzhang avatar Jun 17 '14 18:06 jamesfzhang

@bryanwb any chance to look at this please?

scalp42 avatar Oct 04 '14 20:10 scalp42

@pdf do u have time to review and release this? i am not even familiar w/ the codebase anymore

bryanwb avatar Oct 06 '14 08:10 bryanwb

@bryanwb I haven't looked at the code at all since I sent those couple of minor PRs last year. I don't think I still actually use this anywhere now :-\

pdf avatar Oct 08 '14 01:10 pdf

Anyone had a chance to look at this?

benoahriz avatar Nov 12 '14 08:11 benoahriz

Hey, I've rebased this and fixed the tests so that rspec at least passes under chef 11 and chef 12, but I have no idea how to actually use this to rewind a part of a provider. I've written an integration test that fails, but I'm low on bandwidth right now. Any suggestions how to make this go gratefully received! See thommay/chef-rewind@870d20a2bb

thommay avatar Dec 16 '14 15:12 thommay