Skip to content
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 peru.yaml files #199

Open
naturallymitchell opened this issue Nov 30, 2018 · 2 comments
Open

multiple peru.yaml files #199

naturallymitchell opened this issue Nov 30, 2018 · 2 comments

Comments

@naturallymitchell
Copy link

Is it possible to have peru.yaml and peru-extra.yaml?

@naturallymitchell
Copy link
Author

I now plan to have peru.yaml + core/peru.yaml, so I'll probably have to do two peru syncs to install.

@oconnor663
Copy link
Member

oconnor663 commented Dec 3, 2018

Sorry for being slow to answer questions these days. I've been full steam on a different project.

Two things off the top of my head:

There are flags to control the location of the peru.yaml file, described at the bottom of the Readme. Note that if the two syncs share the same state directory (which they will by default if the destination directory is the same), the second sync will remove the files from the first, so if you want them both to be synced at once you'll need to explicitly specify at least one state directory. (This is perhaps a confusing bit of semantics. We could consider changing it.)

Also, peru has some interesting but rarely-used features for recursive syncing. If you pull in a project that has a peru.yaml of its own, then you can automatically sync the inner project too. This avoids the state issues of the solution above. Any chance your two peru.yaml files are coming from two different repos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants