Skip to content

mistake in file.not_cached documentation? #49203

Closed

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.

Activity

  1. gtmanfred commented on Aug 20, 2018

    @gtmanfred
    Contributor

    Yup, looks like it was just copied and pasted and not updated.

    Thanks for reporting, we would appreciate a PR to fix the docs.

    Otherwise I am marking it as a documentation error.

    Thanks!
    Daniel

  2. added
    documentation
    on Aug 20, 2018
  3. added this to the Approved milestone on Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions