You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, where the unpacked content is modified, and we want to go back to the same state as it were in the past, but the archive under /var/chef/cache/foobar.zip is unchanged from remote_file, we should still it to always unpack the content.
So what you would want is a way to say to the ark resource: "Please ignore if the package is updated or not updated. I want the package to be unpacked and the rest of the process be performed"
Is there a way that you would like to specify this?
My first idea is to add an attribute to the resource that overrides the current state of the archive. Of course, that would mean every time the resource would execute it would be taking action. So I don't know if you want to do that or be able to set it another way.
In some cases, where the unpacked content is modified, and we want to go back to the same state as it were in the past, but the archive under
/var/chef/cache/foobar.zip
is unchanged fromremote_file
, we should still it to always unpack the content.Refer to the line here:
https://github.com/burtlo/ark/blob/master/providers/default.rb#L206
The text was updated successfully, but these errors were encountered: