Skip to content

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

@boltronics

Description

@boltronics

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltExecution-ModuleFeaturenew functionality including changes to functionality and code refactors, etc.has-failing-test

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions