Skip to content

Files managed by Salt should have a header stating this #148

@ypid-geberit

Description

@ypid-geberit

Ansible has a variable for this, ansible_managed. Salt does not. I suggest to add "This file is managed by SaltStack, all changes will be lost." in the first few lines of each template that fully manages a file.

Example: https://github.com/SUSE/salt-formulas/blob/master/bind-formula/bind/files/suse/named.conf

Edit: I noticed in the commit messages that you consider yourself not the upstream of the bind formula. From running a diff, I conclude that you consider https://github.com/saltstack-formulas/bind-formula as upstream, but there the SUSE version has custom features that are not upstreamed?

Lets use this https://github.com/SUSE/salt-formulas/blob/master/prometheus-formula/prometheus/files/general-rules.yml as example because with BIND, I should probably fix it upstream.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions