Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed idempotency issue #2

Merged
merged 4 commits into from
Jul 18, 2016

Conversation

Ginja
Copy link
Contributor

@Ginja Ginja commented Jan 28, 2016

The libarchive_file resource provides no check as to whether or not it should be applied. Added this manually by notifying it.

The libarchive_file resource provides no check as to whether or not
it should be applied. Added this manually by notifying it.
@Ginja
Copy link
Contributor Author

Ginja commented Jan 28, 2016

Fixes sous-chefs/consul#262 for consul-cookbook.

@Ginja
Copy link
Contributor Author

Ginja commented Jan 28, 2016

Not sure how to fix that ChefSpec test :(

Thoughts, @johnbellone?

Ginja added 3 commits January 28, 2016 14:02
Consistency is nice.
Upon further testing, it appears that notifies doesn't trigger
libarchive_file if `new_resource.release_path` doesn't exist. Changed
action back to `:extract` & added not_if, which does some to work.
@nadirollo
Copy link

Any chance of this being merged soon?

@agperson
Copy link

Can this please be merged in? The current behavior is not great.

@johnbellone johnbellone merged commit 744e480 into johnbellone:master Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants