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

allow state_top_from_file to specify which file to use as top.sls

Open anuriq opened this issue 7 years ago • 2 comments

First, mentioned here https://github.com/saltstack/kitchen-salt/issues/92#issuecomment-354832074

After reading docs for state_top_from_file, it seems like i could provide a path to a file and that file will be used as top.sls, but in reality (after checking the code) this is just a trigger true/false. Maybe there should be a possibility to provide path to a file, which should be used as top.sls?

I could work on PR, if you agree.

anuriq avatar Jan 09 '18 08:01 anuriq

I am going to fix the docs, because I am about to do a release today, but I would like to see this changed to allow it to also be a file to use.

gtmanfred avatar Jan 09 '18 15:01 gtmanfred

I updated the doc to be correct.

https://github.com/saltstack/kitchen-salt/pull/190

gtmanfred avatar Jan 09 '18 15:01 gtmanfred