Closed tmeneau closed 6 years ago
@tmeneau you seem to have missed an if
block around these lines?
Other than that, it LGTM?
Thanks for the review @javierbertoli!
I actually didn't bother to add a conditional to those lines since sshd_config
(which is used to compute the new manage_sshd_config variable) must be defined for that last state to exist at all.
Would you be willing to merge this in?
Thanks @javierbertoli!
Thanks to you :smile:
The purpose of this pull request is to allow using the config.sls state exclusively to configure keys (RSA, DSA, etc...) without managing the
sshd_config
(see issue #130).This is a pretty simple change that adds conditional evaluation to the
require_ins
applied to the key management states to make the key management states a requisite of thesshd_config
management state.@aboe76 @alxwr -- are either of you free to review this?