[BUG] When calling init.sls via explicit init name, the name is treated as a directory name in context #58250
Labels
Bug
broken, incorrect, or confusing behavior
Magnesium
Mg release after Na prior to Al
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
if "init" SLS is access using it's explicit name - i.e.
path.to.init
instead ofpath.to
- the "init" part shows up as a directory component in varioussls*
context parmetersSetup
Set up following file
slspath/init.sls
:Steps to Reproduce the behavior
Run:
salt-call state.show_sls slspath.init --output=yaml
Result:
As you see, "init" becomes a directory name, even though no such directory exists
Expected behavior
Expecting
slspath
to alway reflect actual path of the sls - i.e. in this case it should beslspath
The text was updated successfully, but these errors were encountered: