Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Require Relative SLS #65503

Closed
Pheric opened this issue Nov 1, 2023 · 1 comment
Closed

[FEATURE REQUEST] Require Relative SLS #65503

Pheric opened this issue Nov 1, 2023 · 1 comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. needs-triage

Comments

@Pheric
Copy link

Pheric commented Nov 1, 2023

Repost of closed issue #10838.

I would like to require a relative SLS, in the same fashion as including a relative sls:

include:
  - .anothersls

State Requiring Relative SLS:
  test.nop:
    - require:
      - sls: .anothersls

A current alternative way to do the above, as mentioned by @mallniya (but updated for modern versions of Salt):

include:
  - .anothersls

State Requiring Relative SLS:
  test.nop:
    - require:
      - sls: {{ slsdotpath }}.anothersls
@Pheric Pheric added Feature new functionality including changes to functionality and code refactors, etc. needs-triage labels Nov 1, 2023
Copy link

welcome bot commented Nov 1, 2023

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@saltstack saltstack locked and limited conversation to collaborators Feb 5, 2025
@dwoz dwoz converted this issue into discussion #67467 Feb 5, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Feature new functionality including changes to functionality and code refactors, etc. needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant