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

Deploy dependencies formula in different folder than file_root #243

Open
arthurzenika opened this issue Jun 14, 2018 · 1 comment
Open
Milestone

Comments

@arthurzenika
Copy link
Contributor

I have a project I am trying to test with kitchen-salt, it has a "apache" folder where I have a "apache/mycustom.sls" that I use in the first layer of my file_root. It references the apache states from the apache formula.

When I finally got kitchen-salt to pull the formulas, I ended up having a cp error on the apache foler

scp: /tmp/kitchen/srv/salt/apache: File exists

I haven't found a combination where I can send the dependencies formulas into a different folder. Is there a way ?

I guess I could try to hack something with salt_minion_extra_config to point to another folder.

@gtmanfred
Copy link
Contributor

gtmanfred commented Jun 14, 2018

There is not a way, you will need to change whatever your directory is, so that it does not conflict with files from the formula.

I am marking this as an enhancement to be able to have the two directories merged.

It would also be possible to setup a gitfs_remote in the salt_minion_extra_config, so that you use gitfs for that dependency, instead of using the dependencies.

Daniel

@gtmanfred gtmanfred added this to the Approved milestone Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants