A local initialization stage before the explorer are run against the target? #375
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#375
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to be able to initialize the local integration (e.g. secret management) before the explorers are executed against the target host. I haven't seen anything relevant in the doc - but there might be an easy way to hook this in the code.
I'll investigate and implement and/or document if needed.
@fnux We discussed this many, many, many years ago and called it "stages". There might be some discussion content still left in the doc/ folder of cdist.
The "TL;DR" was, afair:
As of today I'd think about something like this:
One thing that needs to be taken into account is which variables should be exported to these scripts and clearly also documented...
Also to consider whether those hooks are run before/after on a "per host* or per run basis if you are running in parallel mode (I see advantages for both).
Just my 49 Rappen.
That sounds pretty good. I will see if I find some time to implement an initial version.