Skip to content

Add query current minion config with config.items#48681

Merged
rallytime merged 1 commit intosaltstack:developfrom
Arabus:add-config-items-function
Jul 27, 2018
Merged

Add query current minion config with config.items#48681
rallytime merged 1 commit intosaltstack:developfrom
Arabus:add-config-items-function

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