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

Add query current minion config with config.items #48681

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

Arabus
Copy link
Contributor

@Arabus Arabus commented Jul 19, 2018

What does this PR do?

Adds an items function to the config execution module to query minions for their current running config.

What issues does this PR fix or reference?

Fixes #48680

Previous Behavior

The current running config could not be queried completely instead it hat to be cobbled together with config.get. This was cumbersome and required the caller to already know the item key name beforehand.

New Behavior

One can simply call salt '*' config.items to retrieve the current configuration of all minions.

Tests written?

No

Commits signed with GPG?

Yes

@rallytime rallytime requested a review from a team July 26, 2018 21:21
Copy link
Contributor

@DmitryKuzmenko DmitryKuzmenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rallytime rallytime merged commit fe66023 into saltstack:develop Jul 27, 2018
@rallytime
Copy link
Contributor

Thanks @Arabus!

@Arabus Arabus deleted the add-config-items-function branch July 31, 2018 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add config.items to query current running minion config
4 participants