121 Commits

Author SHA1 Message Date
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
Garrett Honeycutt
cbc1db4819 Merge pull request #170 from ghoneycutt/maxauthtries
Add param to manage MaxAuthTries in sshd_config
2016-06-06 13:56:21 -04:00
jthiesfeld
e1841e04d8 Add param to manage MaxAuthTries in sshd_config 2016-06-06 12:49:20 -04:00
Nasredine Bentoumi
c04c0cca92 Fix Solaris ssh issue - AddressFamily not supported 2016-06-06 12:27:48 -04:00
Garrett Honeycutt
79e53c0940 Fix strict variable checks 2016-06-04 12:26:36 -04:00
Garrett Honeycutt
88f857d6b6 Work with apazga on adding config options for ssh_config 2016-06-04 10:42:02 -04:00
Abel Paz
b48e066f21 Additional parameters for ssh_config
To allow the following options to be configured in ssh_config
* StrictHostKeyChecking
* EnableSSHKeysign
* HostbasedAuthentication for ssh_client
2016-06-04 10:36:17 -04:00
Garrett Honeycutt
21ca38dc88 Merge pull request #154 from Phil-Friderici/specs_for_facts
Specs for ssh* facts
2016-05-02 12:46:43 -04:00
Anders Larsson
82962f61ae Update SLE related spec tests 2016-03-21 14:57:15 +01:00
Anders Larsson
98382a05ff Refactor spec tests 2016-02-24 12:01:30 +01:00
Phil Friderici
041ad172c1 Add spec tests for ssh_version* facts 2016-02-15 13:40:27 +01:00
Phil Friderici
38260e68c4 Set UseRoaming parameter only on Linux clients
- add variable validation
- add tests
2016-01-15 15:16:09 +01:00
Garrett Honeycutt
a8a939a4d9 Support Puppet v4.3.0
Requires upgrade to ghoneycutt/common v1.4.1
2015-12-15 19:55:11 -05:00
Tom De Vylder
8876844637 Add parameter sshd_addressfamily 2015-12-10 09:59:19 -05:00
Daniel Fairhurst
e67cea8e24 Add a parameter to allow disabling management of the ssh service 2015-10-15 13:13:11 -04:00
Phil Friderici
45ef1ddbaa add default SFTP subsystem for SLES12 2015-10-07 15:28:54 +02:00
Garrett Honeycutt
4ea08a5357 Work with fang64 on spec tests 2015-09-03 15:05:05 -04:00
Roy Williams
e649f71ef9 Add support for KerberosAuthentication option in sshd. 2015-09-03 15:01:30 -04:00
Phil Friderici (ephifre)
0de49e43f7 fix for hiera_array() always returning an empty array 2015-08-11 13:35:42 +02:00
Garrett Honeycutt
2b39c4153d Fix spec tests since hashes are displayed differently in Puppet v4 2015-08-05 11:51:34 -04:00
Garrett Honeycutt
2f38918b05 Fix spec tests 2015-08-05 11:20:37 -04:00
Phil Friderici (ephifre)
13e7433e0b Fix failing spec tests and get Puppet v4 working 2015-08-05 11:02:11 -04:00
Garrett Honeycutt
b434ea89ef Support Puppet v4 and v3 with future parser 2015-08-05 11:01:02 -04:00