Skip to content

salt.module.run documentation improvement? #51349

Closed

Description

@cr1st1p

Description of Issue/Question

I wanted to run a module's function via module.run (namely systemd.force_reload).
Instead of the expected behavior I got an error related to the name of my state.
After spending some frustrating time, I discovered somehow that the documentation on how to use the module.run functionality forgets to mention that you need to enable the 'new' way of running it, via some 'superseeded' config entry.

Please:

  • move at the TOP of the documentation, the part about 'this is new behavior', because you start the example WITH the new behavior syntax and people might not read the whole page to understand how it should be used and that in fact it does NOT work like.
  • make the part about the 'superseeded'' configuration be PART of the same TOP paragraph and not even more down below.

Thank you.

Setup

(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)

Steps to Reproduce Issue

(Include debug logs if possible and relevant.)

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

Activity

  1. changed the title [-]salt.modules.run documentation improvement?[/-] [+]salt.module.run documentation improvement?[/+] on Jan 26, 2019
  2. dwoz commented on Jan 27, 2019

    @dwoz
    Contributor

    @cr1st1p Thank you very much for the pull requests!

  3. added
    documentation
    on Jan 27, 2019
  4. added this to the Approved milestone on Jan 27, 2019
  5. devurandom commented on Mar 6, 2019

    @devurandom

    Is this related to or a duplicate of #44882?

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