-
Notifications
You must be signed in to change notification settings - Fork 6
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
Multiple Directory Search Path, Combining Multiple Pillar Git Repos #7
Comments
I was just coming here to raise this same issue. We operate a delegated setup where we do this using the standard git ext_pillar, ansd use the stack.cfg:
top.git
finance.git
admin.git
|
Hi @amendlik, thanks for the project! What do you think of this feature request? This would enable a breakthrough in our ability to modularize and publish much more of our work, which is something I'm keen to do. If you're not opposed to the idea, would you accept a pull request? |
@nickgarber: I like the idea very much and would be happy to take a PR for this. Before you put too much time into it, can you propose a configuration format (preferably one that is backwards compatible)? How do we know which repo is the "top" repo? |
Sweet! Here's what comes to mind for me...
|
@nickgarber: This all looks very good to me |
As I look into this my idea of the ideal approach has changed a bit so wanted to check in. Originally I thought of using symlinks in the checkout at the git_pillar cache, though quickly realized that would be impractical and barbaric. Next I thought that perhaps the right approach would be to have gitstack perform a "first-found wins" ordered search through candidate directories and only pass the paths that it new to exist. This still seems feasible, but there's one final method thats caught my attention that I'm learning about now... The It was in the Based on what I come away understanding about creating and using the features provided in It feels like option 3 is the more promising way to go. Thoughts? |
- fluentd - amendlik/gitstack-pillar#7 (wrk) - opt source 'lookup_wrap_lst' from pillar
I've struggled to make progress on this issue. I'm not giving up, but want to communicate that I'm open to assistance and guidance. |
With Pillarstack, files are only searched relative to the directory of the
stack.cfg
file.GitStack now supports defining multiple git pillar repos as pillarstack targets, but they are processed sequentially, as distinct invocation/passes.
This feature requests the option to include other pillar directories into search path used in a single
stack.cfg
pass.I'd like to be able to break pillar configuration into multiple git repos that overlay on each other into a single tree that could be passed to pillarstack.
This would allow files in different directory trees to be processed by precedence within the same pass.
This would allow for greater modularity, which would support greater re-use.
The text was updated successfully, but these errors were encountered: