Add file.tidied similar to Puppet's tidy resource.#47718
Add file.tidied similar to Puppet's tidy resource.#47718rallytime merged 4 commits intosaltstack:developfrom dhs-rec:add_file_tidied
Conversation
|
I left some comments in #46752 on this. |
salt/states/file.py
Outdated
There was a problem hiding this comment.
I would use regex instead of fnmatch
|
@dhs-rec Can you write some tests for this new function? |
|
Once I manage to wrap my mind around the test stuff... |
|
Hi @dhs-rec - just a bump on this one. Were you able to write some tests for this? |
|
No, sorry. Tried last week but I somehow didn't get it (I'm not that experienced in Python hacking). So I would be glad if someone else could jump in... |
|
@gtmanfred Do you think you could help out with some tests on this? |
|
Yeah, make an issue and i will work on them 👍 |
|
@dhs-rec i have opened a PR on your branch, once you merge it we should be able to get this PR in. https://github.com/dhs-rec/salt/pull/1 Thanks, |
|
@gtmanfred: Great, thanks a lot! |
What does this PR do?
Adds file.tidied as inspired by Puppet
What issues does this PR fix or reference?
Implements #46752
Tests written?
No
Commits signed with GPG?
No