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

add support for client "match blocks" #332

Merged
merged 2 commits into from
May 31, 2022

Conversation

jhoblitt
Copy link
Contributor

Rspec tests are limited in an attempt to avoid merge conflicts with #331.

@jhoblitt jhoblitt force-pushed the IT-3497/client_match_block branch 3 times, most recently from 91fa362 to 05832a2 Compare April 26, 2022 19:36
@jhoblitt jhoblitt requested a review from saz April 26, 2022 19:39
@jhoblitt
Copy link
Contributor Author

I've rebased on current master and added some unit test coverage of the ssh::client_match_block param.

I'll also note that the rspec coverage of the ssh::client class feels a bit awkward since it is marked as private.

@saz
Copy link
Owner

saz commented Apr 27, 2022

I'll also note that the rspec coverage of the ssh::client class feels a bit awkward since it is marked as private.
@jhoblitt Am I missing something? Can't find the part, where ssh::client is marked as private

manifests/client.pp Outdated Show resolved Hide resolved
manifests/client/match_block.pp Outdated Show resolved Hide resolved
@jhoblitt
Copy link
Contributor Author

I'll also note that the rspec coverage of the ssh::client class feels a bit awkward since it is marked as private.
@jhoblitt Am I missing something? Can't find the part, where ssh::client is marked as private

Uh... I seem to be insane. Please ignore that comment.

@jhoblitt jhoblitt requested a review from saz April 28, 2022 17:32
@jhoblitt
Copy link
Contributor Author

jhoblitt commented May 3, 2022

@saz ping?

@saz saz merged commit d3e71b2 into saz:master May 31, 2022
jhoblitt added a commit to lsst-it/saz-puppet-ssh that referenced this pull request Jun 29, 2022
In the client match block support added via saz#332, I had not correctedly
interpreted `ssh_config(5).  A match block is negated by prepending a !
to the match type, not the parameters to the match type.  Per the man
page:

    Criteria may be negated by prepending an exclamation mark (‘!’).
jhoblitt added a commit to lsst-it/saz-puppet-ssh that referenced this pull request Jun 29, 2022
In the client match block support added via saz#332, I had not correctly
interpreted `ssh_config(5).  A match block is negated by prepending a !
to the match type, not the parameters to the match type.  Per the man
page:

    Criteria may be negated by prepending an exclamation mark (‘!’).
@jhoblitt jhoblitt deleted the IT-3497/client_match_block branch February 1, 2023 00:13
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

Successfully merging this pull request may close these issues.

None yet

3 participants