Skip to content

Require a relative sls file #10838

@kintel

Description

@kintel

Ref. #5098

It looks like the require statement takes an absolute path to the required sls file. It would be cool if it could also support relative sls files, e.g.:

include:
  - .local

somename:
  - somemodule:somefunction
      - require:
          sls: .local

Today (0.17.5) the last require statement would have to read sls: path.to.here.local

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions