-
Notifications
You must be signed in to change notification settings - Fork 239
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
Undefined default parameter for ssh::server::match_block #324
Comments
Looks like as it should be set to |
@smoeding Can you try the current master, if it's fixing the issue for you? |
Unfortunately I now have a "duplicate resource error". I declare |
There's an open PR (#325) which will set ssh:: server and ssh::client as private. Why are you using ssh::server directly? I'm curious, because this is also a remark on the PR I've mentioned above. |
We are hitting the exact same issue, because of direct usage of ssh::server to set up server component only. Though we can update our implementation to use the base ssh class, I'm wondering why the |
The |
@smoeding I hope to find time over the weekend to get it working again as it has been before. Not sure, if it's really worth it, but I've added this as a feature back then. |
Please have a look at #330 if it's solving your issue |
I just looked at the new branch and it seems the location for the default parameters moves in the file:
This changes the semantics as soon as an additional Host entry is added, because all the global params (like AddressFamily and Port) then only apply to the second Host entry. |
Are you adding
in your manifests/hiera? If possible, send me an example how you're using this module. |
No, I'm not adding it myself. It's part of your module: see data/common.yaml line 35. |
Looks like I've got something wrong in merging options. I'll compare the generated ssh_config of v8.0.0 with the one generated by this branch. Is there any other issue you're seeing with PR #330 right now? I'm thankful for any feedback to get the PR merged |
With commit 69aa770 I don't see any errors or unexpected changes to a config file any more. |
@kajinamit If you've got some time, feedback on #331 and if it's resolving your issue would be awesome! |
Did this change make it into 9.0.0? If not, could you push out a new release? |
I'm getting the following error after updating from release 8.0.0 to 9.0.0:
It happens on all machines where
ssh::server::match_block
is used. The defined type now has a new parametertarget
using a default of$ssh::sshd_config
. But that variable is never defined.The text was updated successfully, but these errors were encountered: