saltstack-formulas / openssh-formula

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

fix(sshd_config): drop obsolete comment (fixes #120) #212

Open alxwr opened 7 months ago

alxwr commented 7 months 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

https://github.com/saltstack-formulas/openssh-formula/issues/120

Describe the changes you're proposing

Remove a misleading comment.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

----------
          ID: sshd_config
    Function: file.managed
        Name: /etc/ssh/sshd_config
      Result: None
     Comment: The file /etc/ssh/sshd_config is set to be changed
              Note: No changes made, actual changes may
              be different due to other states.
     Started: 02:09:22.861195
    Duration: 150.767 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,7 +1,4 @@
                   # This file is managed by salt. Manual changes are going to be overwritten.
                  -# The contents of the original sshd_config are kept on the bottom for
                  -# quick reference.
                  -# See the sshd_config(5) manpage for details

                   Port 22
                   Protocol 2
----------
          ID: openssh
    Function: service.running
        Name: sshd
      Result: None
     Comment: Service is set to be restarted
     Started: 02:09:23.132870
    Duration: 55.057 ms
     Changes:

Summary for host.domain.tld
-------------
Succeeded: 12 (unchanged=2, changed=1)
Failed:     0
-------------
Total states run:     12
Total run time:    2.959 s

Documentation checklist

Testing checklist

Additional context