Francisco Calero (UNIX)
58ea7fe1dc
Added fixture file for sles15
2021-10-21 13:14:52 +02:00
Francisco
5d4fb8d2e8
Merge branch 'ghoneycutt:master' into master
2021-10-21 13:11:05 +02:00
Francisco Calero (UNIX)
ad7e98e860
Added spec for sles15sp3
2021-10-21 13:05:30 +02:00
mergwyn
4d6e2260dd
Address review comments
2020-09-07 18:23:42 +01:00
mergwyn
f2b6c2d8a8
# This is a combination of 2 commits.
...
# This is the 1st commit message:
Align fixtures with 20.04 defaults
Align fixtures with defaults
# This is the commit message #2 :
Remove type to make puppet 3 compatible
2020-07-06 21:05:46 +01:00
mergwyn
8baa6760dc
Merge branch 'master' into PR343_merge
2020-06-11 20:37:36 +01:00
mergwyn
8408d599ba
Add Ubuntu 20.04 support
2020-06-11 18:33:20 +01:00
Jan Vansteenkiste
7f1dae4a63
Correct the fixtures for debian 10 sshd_config
...
As the original author of the pr said: He added
the vanilla configuration files as spec tests. Since
the module uses it's own template, this won't work.
I copied the debian9 fixtures sshd_config since the
defaults in puppet are identical for debian 10.
Closes #323
2020-06-03 18:11:18 -04:00
Florian Baumann
c77fc07eab
Add support for debian10
2020-06-03 18:11:17 -04:00
Jan Vansteenkiste
6232cd0196
Explicitly unset the ipaddress6 fact
...
Not sure when this behavior changed...
2020-02-27 10:13:30 +01:00
Garrett Honeycutt
9a30ef666d
Merge pull request #311 from hdep/debian8
...
Add support for Debian8
2019-05-01 09:50:14 -04:00
hugo.deprez
ecd8b20b66
Add support for Ubuntu 18.04 LTS
2019-04-30 18:59:41 +02:00
hugo.deprez
c6b65c951b
Add debian8 support
2019-04-30 14:03:15 +02:00
Garrett Honeycutt
d169a5cc01
Merge pull request #309 from hdep/debian9
...
Add support for debian9
2019-04-29 18:12:46 -04:00
hugo.deprez
dce102f33a
Add support for debian9
2019-04-29 17:39:47 +02:00
Bart-Jan Vrielink
9832dee0a0
Add for the possibility of an IPv6 address
...
Also cover the case that there is no IPv4 address on an IPv6 only host.
Included are rspec tests for the sshkey resource
Test for correct host_aliases for the host's own sshkey resource.
3 possible combinations of IPv4 and IPv6 address are tested.
Not tested are:
- Virtual sshkey resources from other hosts.
- Other parameters for the sshkey resource (type, key)
- Non-default values for ssh_key_ensure and ssh_key_import.
2019-04-29 16:15:14 +02:00
Asif Maqbool
1c0d3f6bdb
Add RevokedKeys option to sshd_config
...
Co-authored-by: Garrett Honeycutt <code@garretthoneycutt.com>
2018-10-08 15:38:54 -04:00
Martin Alfke
ff11ca8a9b
Disable ServerkeyBits on RHEL 7.4 and later
...
fixes #244
replaces #259
update spec tests to test changes
mock operatingsystemrelease in default_facts
2018-07-27 07:36:42 +02:00
Garrett Honeycutt
3d3121a183
Merge pull request #257 from baurmatt/AuthenticationMethods
...
Add sshd_config_authenticationmethods parameter
2017-12-10 20:59:25 -05:00
e.vanhazendonk
2ca1bdfcca
Add support for AllowAgentForwarding option in sshd_config
2017-12-10 19:27:35 -05:00
Matthias Baur
bc4c8a82a6
Add sshd_config_authenticationmethods parameter
...
This commit adds support for AuthenticationMethods by adding the
sshd_config_authenticationmethods parameter. Credits to @Saford91 for
the first implementation.
2017-12-10 20:29:02 +01:00
Phil Friderici
1cc9edea3a
Add config_entries parameter
...
Uses create_resources() to create ssh::config_entry resources for the given hash.
Does respect hiera_merge parameter accordingly.
2017-09-21 13:17:52 +00:00
Phil Friderici
4dbbdf5685
Add spec tests for ssh::config_entry define
2017-09-21 11:20:22 +00:00
David Hollinger
4cefc65069
Update hostcertificated to take both Strings and Arrays
2017-07-24 14:36:10 -05:00
David Hollinger
717a237cc0
Add parameter to set AuthorizedPrincipalsFile setting
2017-07-24 13:42:13 -05:00
David Hollinger
ec5141de84
Update HostCertificate to take an array of certs
2017-07-24 13:42:13 -05:00
Garrett Honeycutt
82f436c6b8
Remove trailing whitespace and convert tabs into two spaces
2017-07-24 13:54:13 -04:00
Mears148
5368e52b30
Add PrintLastLog, UsePrivilegeSeparation, and Compression
2017-05-26 13:27:16 -04:00
Yoann Laissus
48576111c6
Make sure the ssh config dir is present before trying to define the known host file.
2017-05-18 15:25:38 +02:00
Garrett Honeycutt
84f0078a32
Allow sshd_config_trustedusercakeys to be 'none' as per the docs
2017-05-17 10:51:46 -04:00
David Hollinger
b67aefd3c4
Add support for HostCertificate and TrustedUserCAKeys settings in sshd_config
2017-05-17 10:47:04 -04:00
Martin Narkiewicz
4cf16192a5
Add support for PubkeyAcceptedKeyTypes option to sshd_config
2017-03-16 10:48:13 -07:00
Phil Friderici
b476a3f725
Enhance compatibility with Solaris
...
Some OpenSSH parameters are not compatible with Solaris SSH.
They do break if they are included into the configuration file(s).
This patch does not include them by default on Solaris anymore.
Changed parameters:
sshd_config_tcp_keepalive (TCPKeepAlive in sshd_config)
sshd_config_permittunnel (PermitTunnel in sshd_config)
sshd_config_maxsessions (MaxSessions in sshd_config)
ssh_config_hash_known_hosts (HashKnownHosts in ssh_config)
2017-02-27 09:10:12 +01:00
Garrett Honeycutt
363e6a98e7
Fix ruby dependencies
2016-11-03 11:54:56 -04:00
Garrett Honeycutt
00829437ba
Merge pull request #186 from andrei693/Expose_PermitTunnel_from_sshd_config
...
Expose PermitTunnel from sshd_config
2016-10-25 11:25:37 -04:00
Andrei Brezan
e044e4c89f
Expose PermitTunnel from sshd_config
2016-10-24 17:18:25 +02:00
Garrett Honeycutt
6f34248977
Fixup mlosapio's contribution
2016-10-20 17:47:04 -04:00
Michael LoSapio
64008a427f
Add support for ProxyCommand in ssh_config
2016-10-20 16:04:15 -04:00
43d6107949
adding support for KexAlgorithms
2016-10-19 14:01:24 -07:00
Bosse Andersson
f41d7966ab
Add configurable param X11UseLocalhost to sshd_config
2016-10-04 12:55:06 +02:00
Phil Friderici
56b7054736
Fix tests on Puppet 4.0 to 4.2
...
- Make hiera used facts available in all test cases
- Refactor facts & params usage in tests cases
2016-08-30 13:54:31 +02:00
Garrett Honeycutt
d13c324001
Add support for Ubuntu 16.04 LTS
2016-08-28 20:55:00 -04:00
Andrei Brezan
d68ebec55d
Expose TCPKeepAlive from sshd_config
2016-08-18 10:24:41 +02:00
jthiesfeld
cb09aedee6
Adding two new options for sshd_config PermitEmptyPasswords and
...
PermitUserEnvironment
2016-06-21 15:52:55 -05:00
Sergii Kipot
0d936a954c
Add support for multiple files in GlobalKnownHostsFile ssh option
...
Array option ssh_config_global_known_hosts_list implemented
2016-06-15 20:36:58 +02:00
Sergii Kipot
5be19cd1d7
Add support for UserKnownHostsFile ssh option
...
Array option ssh_config_user_known_hosts_file implemented
2016-06-15 17:52:53 +02:00
Garrett Honeycutt
6e920cab49
Merge pull request #162 from andrei693/Add_multiple_ports_option_to_sshd_config_port
...
Change sshd_config_port to support multiple port numbers
2016-06-09 16:47:25 -04:00
Andrei Brezan
1c78f1e732
Change sshd_config_port to support multiple port numbers, string/integer/array
2016-06-09 12:41:12 +02:00
Florian Faltermeier
49c799afb3
add support for PubkeyAuthentication in sshd_config
2016-06-08 15:25:24 +02:00
Florian Faltermeier
b0b245e2ed
add host_aliases attribute to sshkey resource
2016-06-07 10:49:37 +02:00