Skip to content

mistake in file.not_cached documentation? #49203

@jose1711

Description

@jose1711

Description of Issue/Question

https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html mentions:

salt.states.file.not_cached(name, saltenv=u'base')
Ensures that a file is saved to the minion's cache. This state is primarily invoked by other states to ensure that we do not re-download a source file if we do not need to.

Note that this is the same text as for salt.states.file.cached. Where is the difference then?

I suspect there's a problem in documentation and it should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationRelates to Salt documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions