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

Fix support for extra config values as mappings #387

Merged

Conversation

pprkut
Copy link
Contributor

@pprkut pprkut commented Nov 12, 2018

Extra config stored as a dict is iterable, but needs a different yaml structure from a list.

Since the existing code only handles the first level of the configuration and does not traverse recursively, I don't think there's much value in adding special handling for mappings.
So just treat those the same as strings (which results in a JSON string being put in the config).

Copy link
Member

@noelmcloughlin noelmcloughlin left a comment

Choose a reason for hiding this comment

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

LGTM

@aboe76 aboe76 merged commit b13bc6d into saltstack-formulas:master Dec 19, 2018
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.

3 participants