Preventing SaltStack from Overwriting Customized Files in Managed Directories #13513
Replies: 1 comment 1 reply
-
I have dmp files. I needed to convert pcap while importing pcap. I made changes to the so-import-pcap file in the following path: /opt/so/saltstack/default/salt/common/tools/sbin_jinja |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a scenario where SaltStack manages system files, there may be situations where you want to customize specific files without SaltStack overwriting your changes during state applications. This guide demonstrates how to exclude a specific file from being managed by SaltStack while still allowing the rest of the directory to be managed. The solution involves modifying the SaltStack state file to use the
exclude
parameter or directly editing the source file that SaltStack uses for its deployments. This approach ensures that your customizations remain intact across SaltStack operations.Beta Was this translation helpful? Give feedback.
All reactions