saltstack-formulas / snmp-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
17 stars 49 forks source link

fix(config): secure snmpd config file permissions #50

Open danny-smit opened 1 year ago

danny-smit commented 1 year ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

The snmpd.conf file may contain usernames and passwords for SNMP. On RedHat and Debian based distributions installation of the snmp packages will ensure that the file is not world-readable. This formula however makes the file world-readable again. This change should fix that.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context