Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Treat archive files and directories as resources? #8

Open
ncs-alane opened this issue Mar 23, 2017 · 4 comments
Open

Treat archive files and directories as resources? #8

ncs-alane opened this issue Mar 23, 2017 · 4 comments

Comments

@ncs-alane
Copy link

I have a working design that extracts the archive and manages each file within as a separate resource, which ensures that changes to the extracted package are remediated during convergence. Is this a feature that could be accepted in this cookbook?

@coderanger
Copy link
Member

You mean for idempotence tracking? unfortunately that would be both slow and frustrating. Would be better to store stuff externally, like just keep the hashes in a JSON file or something. Seems like a low-benefit change though for very high complexity and adding structural invariants.

I purposefully structured this as non-idempotent except for the URL-based case. It's not perfect but I think it makes it a bit easier to understand at least.

@ncs-alane
Copy link
Author

😭

@coderanger
Copy link
Member

coderanger commented Mar 23, 2017

If you can show how to make it work without being a major perf impact or being brittle, I'm certainly open to look at it :)

@ncs-alane
Copy link
Author

🍾

@ncs-alane ncs-alane reopened this Mar 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants