Skip to content
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

Bug in handling ports in sshd_config when reducing the number of ports that are active #48

Open
trevor-vaughan opened this issue Jul 26, 2019 · 2 comments

Comments

@trevor-vaughan
Copy link
Contributor

Starting scenario

Code

puppet apply -e 'sshd_config { "Port": value => [22,2222,22222,2223] }'

Expectation

Port 22
Port 2222
Port 22222
Port 2223

Reality ✔️

Port 22
Port 2222
Port 22222
Port 2223

Reduce by two entries

Code

puppet apply -e 'sshd_config { "Port": value => [22,2222] }'

Expectation

Port 22
Port 2222

Reality ❌

Port 22
Port 2222
Port 2223

Run Puppet again

Code

puppet apply -e 'sshd_config { "Port": value => [22,2222] }'

Expectation

Port 22
Port 2222

Reality ✔️

Port 22
Port 2222
@raphink
Copy link
Member

raphink commented Jul 26, 2019

@trevor-vaughan
Copy link
Contributor Author

@raphink Well, I have bad news then :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants