Skip to content
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

WIP: Add initial CmdWaitRule #37

Closed
wants to merge 3 commits into from
Closed

WIP: Add initial CmdWaitRule #37

wants to merge 3 commits into from

Conversation

roaldnefs
Copy link
Member

@roaldnefs roaldnefs commented Oct 11, 2019

Add initial CmdWaitRule to check becuase cmd.run should be used together with onchanges instead of cmd.wait.

According to the salt.states.cmd.wait documentation:

Note: Use cmd.run together with onchanges instead of cmd.wait.

This commit also deletes pyyaml as a dependency, because we now use the yaml libs of salt itself.

Add initial CmdWaitRule to check becuase ``cmd.run`` should be used together with ``onchanges`` instead of ``cmd.wait``.

This commit also deletes `pyyaml` as a dependency, because we now use the yaml libs of salt itself.

Signed-off-by: Roald Nefs <info@roaldnefs.com>
Signed-off-by: Roald Nefs <info@roaldnefs.com>
Signed-off-by: Roald Nefs <info@roaldnefs.com>
@roaldnefs
Copy link
Member Author

Closing this PR because the way YAML is handled needs to be changed. Removing the Jinja results in duplicate keys (e.g. same State ID in if and else block).

@roaldnefs roaldnefs closed this Oct 15, 2019
@roaldnefs roaldnefs deleted the matchyaml branch August 6, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Abandoned This will not be worked on Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant