Comments (11)
+1 having seen the same issue here. Hope I can find time soon to create & propose a fix.
from puppet-module-ssh.
v3.43.0 is the last version that does not break on Solaris.
from puppet-module-ssh.
Thanks to @nalyanyam I got a list of Solaris incompatible parameters:
KerberosOrLocalPasswd - not valid
KerberosTicketCleanup - not valid
KerberosGetAFSToken - not valid
TCPKeepAlive - not valid
ShowPatchLevel - not valid
MaxSessions - not valid
PermitTunnel - not valid
We should find a way to exclude them from Solaris SSHd for the future.
Two way come into my mind here:
- Solaris specific template without the incompatible parameters
- enable the template to print out lines only if the value is not undef and set OS default accordingly
I would prefer last one as it could help in other situattions too.
@ghoneycutt What do you think ?
from puppet-module-ssh.
I'd like to keep one template and configure it so that if a setting is undef it will not show up.
from puppet-module-ssh.
Perhaps we could tap into E's Jenkins service and get a few Solaris VM's. We could build a job that runs the code from a PR and tests it on a Solaris VM with serverspec and then reverts the VM. This would give us an automated way to ensure Solaris is good.
from puppet-module-ssh.
@ghoneycutt Having some Jenkins magic to verify compatibility would be awesome. Getting an environment for full automated testing is on my wish list. Just I believe this will take some time before I can start working into that direction.
from puppet-module-ssh.
But I will start working on an suggestion for the template.
One detail come into my mind; in Hiera it is not possible to override a value to become undef once it is set. Therefore I think it would be good to have an alternative 'stop word' beside undef.
from puppet-module-ssh.
@Phil-Friderici These settings in ssh_config are also not valid on Solaris
AddressFamily
Tunnel
TunnelDevice
PermitLocalCommand
HashKnownHosts
from puppet-module-ssh.
There is my suggestion how to fix the incompatible parameters on Solaris: #213
@ghoneycutt if this goes into the right direction, I'll add the same for the other parameters.
from puppet-module-ssh.
Hiera does not allow reseting a specified value back to undef again. As workaround I have added the value 'unset' which does that.
@nalyanyam To address the Solaris incompatible parameters I have take care that each changeable parameter can take 'unset' as value. This will not add the parameter to the configuration files anymore.
I was only able to do that for the already parameterized parameters. Don't know how to progress with the other incompatible parameters. Please see/test the code from the PR #213.
ssh_config
AddressFamily
Tunnel
TunnelDevice
PermitLocalCommand
sshd_config
KerberosOrLocalPasswd
KerberosTicketCleanup
KerberosGetAFSToken
ShowPatchLevel
from puppet-module-ssh.
Thanks everyone! Released in v3.49.1
from puppet-module-ssh.
Related Issues (20)
- Module dependencies out of date HOT 4
- Add support for Ubuntu 22.04 LTS HOT 10
- config_mode not documented in version 4 of UPGRADING.md HOT 1
- V4 - ChallengeResponseAuthentication has wrong (new) variable name. HOT 2
- Feature request: Allow multiple instances of sshd HOT 1
- Add hiera support for Oracle Linux 8 HOT 4
- ssh_key_import not included in v4 HOT 6
- where is the hiera_merge feature in new version? HOT 1
- V4: wrong IdentityFile line in ssh_config HOT 1
- New $Custom Option examples HOT 1
- UsePAM value always yes HOT 2
- Add Ubuntu 22.04 support HOT 1
- notify Service['sshd_service'] when file resource in config_file_server class changes
- Move Include to top of sshd_config.erb
- no longer gathers ssh keys? HOT 2
- Error: Evaluation Error: Class[Ssh::Server]: parameter 'port' expects a value of type Undef or Array, got Integer HOT 1
- Ubuntu 22.04 Port changing HOT 1
- identityfile doesn't work right. HOT 1
- UseRoaming client parameter does not respect the $use_roaming parameter
- re-integrate Ubuntu 18.04 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-module-ssh.