saltstack-formulas / snmp-formula

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

Remove quotes from `syslocation` and `syscontact` #39

Closed geoffjukes closed 3 years ago

geoffjukes commented 4 years 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

syslocation and syscontact values are reported verbatim. When quoted, this includes the quotes.

For example, syslocation "Timbuktu" reports as "Timbuktu" when Timbuktu is the expected/desired value.

Pillar / config required to test the proposed changes

None

Debug log showing how the proposed changes work

None

Documentation checklist

Testing checklist

Additional context

myii commented 4 years ago

Closes #38.

Quoting my reply from there:

Both of these lines were introduced around 5 years ago:

Looking at the manpage for snmpd.examples, it appears that these need to be updated to remove the quotes.

Hence, this proposal appears correct to me.

CC: @alxwr.

ixs commented 3 years ago

Verified current snmpd.conf does not need quotes. Merging. @geoffjukes Thank you for your contribution.