kitchen-salt
kitchen-salt copied to clipboard
allow state_top_from_file to specify which file to use as top.sls
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.
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.
I updated the doc to be correct.
https://github.com/saltstack/kitchen-salt/pull/190