kitchen-salt icon indicating copy to clipboard operation
kitchen-salt copied to clipboard

Deploy dependencies formula in different folder than file_root

Open arthurzenika opened this issue 6 years ago • 1 comments

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.

arthurzenika avatar Jun 14 '18 15:06 arthurzenika

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 avatar Jun 14 '18 15:06 gtmanfred