-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indicate deprecated config #156
Comments
saltstack-formulas#156 This is only a beginning/partial edit which serves to introduce a possible format for indicating potentially unnecessary configuration. Over time, other options can be indicated as D or R where appropriate. Related saltstack-formulas#150 and saltstack-formulas#102
@wolfpackmars2 I like the idea, but I don't like the huge maintenance cost. :-) Who is going to keep those annotations up to date? As discussed in #102 this formula does not keep track of differences between versions or flavours of OpenSSH (any more than it absolutely must). I'm strictly against reintroducing this solved problem again. I still really like the idea though, but rather than keeping track of OpenSSH release notes (and discrepancies between docs, code and distro patches) I propose we add a big warning in |
I agree it would be difficult to document all the changes. If we were to add these to the documentation, it would have to be understood that it is a convenience feature and the information may (most likely) be out of date. As people, like myself, would come across changes, they could update the notes and create pull requests. It would be great if someone would create such a list and post it online. Maybe someday when I'm old and retired and have nothing better to do... :p If I create an initial pull request we could maybe try it out. If it proves to be a burden (too many issues, too many PRs, too many complaints) we could remove them. We can close this issue. I may create a pull request in the future with this feature and it can be decided whether it's worth trying or not? |
I propose indicating options in the example pillar that are deprecated with a concise format. I will create a pull request which will give an example.
Using inline comments after the option it applies to would appear as thus:
This would indicate that the option is deprecated in sshd version 7.5 and higher.
Additional comments can be included at the beginning of the example pillar which could describe the format.
Note that this hypothetical example would indicate that the UsePrivilegeSeparation option is deprecated in sshd versions 7.5 and higher and the Protocol option is deprecated in versions 1.2 and higher and removed in version 7.5. (I don't actually know when or if protocol was ever deprecated, this is an example only).
The examples above are based on the release notes for openssh 7.5. https://www.openssh.com/txt/release-7.5
Related #102 and #150
The text was updated successfully, but these errors were encountered: