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

file.keyvalue should create the file if it doesn't exist #63545

Closed
TheNetworkIsDown opened this issue Jan 25, 2023 · 2 comments · Fixed by #64028
Closed

file.keyvalue should create the file if it doesn't exist #63545

TheNetworkIsDown opened this issue Jan 25, 2023 · 2 comments · Fixed by #64028
Labels
Feature new functionality including changes to functionality and code refactors, etc. State-Module

Comments

@TheNetworkIsDown
Copy link

If you don't yet have a file that you would like to create by key/value pairs, then this state should just create it.
Or at least be able to do it by using a "create=xxx" option.

@TheNetworkIsDown TheNetworkIsDown added Feature new functionality including changes to functionality and code refactors, etc. needs-triage labels Jan 25, 2023
@welcome
Copy link

welcome bot commented Jan 25, 2023

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@OrangeDog
Copy link
Contributor

If this feature is added, then file.replace should also get it.

If you are wanting to manage (and create) an entire key-value file, then in 3006 you will be able to use file.serialize with serializer: keyvalue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. State-Module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants