Skip to content

[FEATURE REQUEST] Deprecate the __utils__ dunder. #62191

@s0undt3ch

Description

@s0undt3ch

Is your feature request related to a problem? Please describe.

The __utils__ dunder(salt loader) tries to provide easy access to Salt's utility modules.

Issues with this approach:

Potential problems if we remove __utils__:

  • Utility functions aren't available in jinja templating for salt states.
    • They shouldn't, jinja uses it's own filters and Salt provides additional filters

Describe the solution you'd like
Completely remove support for __utils__

Describe alternatives you've considered
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecationFeaturenew functionality including changes to functionality and code refactors, etc.

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions