simp / pupmod-simp-ssh Goto Github PK
View Code? Open in Web Editor NEWThe SIMP ssh Puppet Module
License: Other
The SIMP ssh Puppet Module
License: Other
The tests introduced in 7177ed0 are not valid rspec
tests.
Also, the tests didn't seem to fire off in the GitLab CI job so we should look into that.
This is definitely a good way to ensure the host key has the appropriate mode, however, if a particular host key isn't called out in the config, the file's mode will be unchanged. Specifically /etc/ssh/ssh_host_ecdsa_key
and ssh_host_ed25519_key
by default will exist, but not have the more restrictive mode applied to them.
It should remove any unmanaged files within /etc/ssh/sshd_config.d/ if configured to tidy the directory. The module doesn't currently make or manage anything within that directory so this will likely just be a tidy_sshd_config_d
parameter that will be set to false by default (to not mess with existing configurations).
Currently if the file doesn't exist for any reason, the class will throw an error because it's trying to source a file that could very potentially not exist on the system.
We should attempt to source from /usr/share/zoneinfo/${facts['timezone']}
, but only if /etc/localtime doesn't exist.
File.exists?
was removed in Ruby 3.
Remediating this on a system not already set up with simp could easily cause issues for systems that rely on their AuthorizedKeysFile being in a specific location. What we add won't change base functionality whatsoever, but will give us an option to turn off moving this location away from what users might already have setup.
I can't set RekeyLimit 1G 1h
via ssh::client::host_config_entry
, it returns an error
Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.
I was able to fix this by changing both simp/pupmod-simp-ssh
and voxpupuli/puppet-augeasproviders_ssh
to take an array for RekeyLimit and then passing in rekeylimit: [1G, 1h]
.
I can submit some PRs if this is not just user error on my part and if that fix is reasonable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.