Closed hdep closed 5 years ago
cool I made it ! Let me know what do you think @ghoneycutt
Regards,
Looks good. Could you please update the metadata.json
as well as the list of supported platforms in README.md
and then squash your commits into one commit and I'll get this merged.
it doesn't compile anymore since I use default debian 9 sshd file.
You would need a conditional statement under Debian
for Debian 9 and set any default values so that it aligns with what Debian 9 uses.
https://github.com/ghoneycutt/puppet-module-ssh/blob/master/manifests/init.pp#L195 and
Awesome work! Reminder that we'll also need the ssh_config file
thanks ! I added a default case statement, but this will break Debian 8 clients I'm not happy with that. To avoid this I could use the same case for Debian 7 and Debian 8.
What do you think ?
I'm not able to configure rspec for os release major facts. Any help appreciated.
Hi, If I don't use my fact it is fine. Now I don't understand how the module works, which value I must set or not to math my fixture file. I got this error on build should contain File[sshd_config] with content supplied string (FAILED - 2)
thanks for your help
Ok, the module set too much options by default for Debian 9 i.e PrintMotd yes
is kind of hardcoded so changing the behaviour seems a hughe work for me.
Maybe the best thing is to change the debian 9 fixtures to match the default of the module. This is what is done for debian 7 I think. what do you think @ghoneycutt ?
Well I can't make this work i'm stuck.
Its building now. Can you please let me know what you think ? thanks !
hdep, you need some help getting testing working on your local system?
Awesome job on adding Debian 9 support!!
@hdep could you do the small change to the spec test regarding reverting the whitespace changes and then squash/rebase your commits into one commit and I'll get this merged.
to squash/rebase, run git log
and find the first commit before you started. Then do git rebase -i <commit you just looked up>
You will see all your commits. Keep the first one and for the rest, change pick
to s
and save with a commit message like 'Add support for Debian 9' or similar.
@ghoneycutt will do the rebase. I just added a fail message for default case.
Thanks! Released in v3.60.0
Hi,
here is a PR to add support for debian 9 which use ssh 7.4. I try to do my best for the tests, but I'm not sure I did it right. Please le me know !
Thanks