saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.09k stars 5.47k forks source link

[FEATURE REQUEST] Add show_changes arg to file.(pre|ap)pend #59329

Open boltronics opened 3 years ago

boltronics commented 3 years ago

Is your feature request related to a problem? Please describe. I don't want sensitive lines logged, but would like to use file.append or file.prepend in my state files.

Describe the solution you'd like I'd like the show_changes argument to be available here, similar to file.managed.

Describe alternatives you've considered Not using file.append or file.prepend. This is less than ideal.

Additional context Lots of file.* states accept this argument. file.append and file.prepend should probably accept it too.

sagetherage commented 3 years ago

The PR is failing a bunch of tests, but keeping this labeled as Aluminium and in the AL milestone to plan for the AL point release