-
Notifications
You must be signed in to change notification settings - Fork 117
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
Order of operations #117
Comments
Looking at the source at https://github.com/ryantm/agenix/blob/main/modules/age.nix#L155 it looks like the logged order is actually the order in which operations take place. The The If I read this correctly, there a brief state in which the current/old generation no longer exists and the new/to-be generation is still empty (no decrypted secrets). |
I think the solution would be to move lines 174-178 from https://github.com/ryantm/agenix/blob/main/modules/age.nix#L174 to a new script that depends on the What do you think? I can make a PR if you agree. |
@cole-h as the author of the symlinking PR, maybe you can comment? |
Yeah, that sounds like a good change to make -- thanks for catching that! |
As suggested in Matrix I am creating this issue about the order in which agenix operates.
When switching generations I consistantly see the following order of operations in the log output:
This got me wondering as I would expect the order of operations to be:
Could we get some clarification about the actual order?
The text was updated successfully, but these errors were encountered: