64 Commits

Author SHA1 Message Date
Kyle Fu
fbe72409ff Make GSSAPIAuthentication in ssh_config modifiable. Fix corresponding Puppet::Error test code. 2015-05-04 11:00:11 +08:00
Garrett Honeycutt
c105d91d4e Add parameters for AuthorizedKeysCommand and AuthorizedKeysCommandUser 2015-04-13 17:01:45 -04:00
Garrett Honeycutt
80f77a2000 Work with Phil on PR
Numbers are treated as strings, so removed those from the test.
Simplified validation of sshd_config_forcecommand to simply check if it
is a string.
2015-04-07 13:55:49 -04:00
Phil Friderici (ephifre)
ffde12030c parameterize sftp_server related settings 2015-04-07 18:32:01 +02:00
Garrett Honeycutt
a8be0466dc Always manage ssh_known_hosts and add spec tests 2014-11-16 16:47:44 -08:00
Markus Frosch
a03df37f09 Manage the ssh_known_hosts file when ssh_key_import is used 2014-11-16 16:47:44 -08:00
Garrett Honeycutt
d462f6f0b2 Improve validation of sshd_config_maxstartups and add spec tests 2014-11-13 01:46:53 -08:00
Kalle Kiviaho
6d6fe4c030 Add support for MaxStartups and MaxSessions in sshd_config
MaxStartups and MaxSessions control how many connections can be made to a ssh server.
Corrected faulty commented value for MaxStartups.
2014-11-12 16:03:08 -08:00
Garrett Honeycutt
8fbbdc7d3d Add ability to specify ListenAddress in sshd_config 2014-10-25 13:52:05 -07:00
Markus Frosch
445981f9af Add sshd_listen parameter for ListenAddress 2014-10-25 21:48:13 +02:00
Garrett Honeycutt
fadfa3b3bc Merge pull request #85 from diddi-/sshd_hostkey
Add support for changing HostKey option in sshd_config
2014-10-21 11:49:05 -04:00
Garrett Honeycutt
0e15d74b4b Support EL7
No actual code changes were needed to support EL7. Tests were updated
such that each supported release of EL is now tested.
2014-10-14 20:30:37 -04:00
Roy Victor Williams
ab37372230 Add support for GSSAPIDelegateCredentials in ssh_config.
By default this only applies to Solaris 11.
2014-09-23 16:52:34 -04:00
Diddi Oscarsson
2dfe01c0e3 Add support for changing HostKey option
This is to make it possible to change the HostKey parameter in
sshd_config.

As the HostKey is hardcoded to the template now it is currently not
possible to connect using for example ssh-dss. This commit changes that
behaviour.
2014-09-02 13:41:46 +02:00
Wolf Noble
b719363821 fix facts declarations in spec tests to pass codesmell 2014-08-13 18:03:50 -05:00
Wolf Noble
dbd0e51760 Add parameters to specify the template used to generate sshd_config and ssh_config 2014-08-12 14:47:58 -05:00
Wolf Noble
71dfbca914 permit customization of sshd config loglevel 2014-08-06 15:13:32 -05:00
Mark Nalyanya
e52bad15e1 Update Solaris 11 package names 2014-06-10 13:48:53 -04:00
Garrett Honeycutt
3f94bff707 Add Allow/Deny options to sshd_config
Add ability to specify DenyGroups, AllowGroups, and AllowUsers to
sshd_config.
2014-05-29 11:17:18 -04:00
Garrett Honeycutt
eef1ca3f73 Add ability to specify DenyUsers in sshd_config 2014-05-28 16:46:13 -04:00
Garrett Honeycutt
230023ef5a Add ability to specify MACs option in ssh_config and sshd_config 2014-05-28 14:57:35 -04:00
Garrett Honeycutt
dbf2d6c138 Add ability to specify Ciphers option in ssh_config and sshd_config 2014-05-28 14:12:44 -04:00
Garrett Honeycutt
e91a36ae31 remove trailing whitespace 2014-05-22 14:52:38 -04:00
nbentoumi
05704d7280 Add ServerKeyBits parameter 2014-05-22 14:52:23 -04:00
root
0d00d040da Add StrictModes parameter for sshd 2014-05-20 13:04:51 -04:00
Martin Hagstrom
7dd6b653b0 Add option to specify AuthorizedKeysFile 2014-05-16 13:01:27 +02:00
Garrett Honeycutt
58dd6263e7 Merging emahags/import_ssh_keys into master 2014-04-14 01:24:08 -04:00
Garrett Honeycutt
9d4af6156a Update spec tests to use contain_class as include_class is deprecated 2014-04-03 14:00:36 +02:00
Mike Lehner
9792b269bd Added ClientAliveCountMax config parameter 2014-04-01 20:34:37 -04:00
Garrett Honeycutt
b3c2cd7886 Fix Mark's commit to support Solaris 9 2014-02-28 18:43:17 -05:00
Mark Nalyanya
0523bac29a Fix service hasstatus for Solaris 9 2014-02-28 17:43:39 -05:00
Garrett Honeycutt
ae87198e76 Make Solaris work
Clean up nalyanyam's commit
2014-02-27 18:06:18 -05:00
Garrett Honeycutt
94d8fef4bb Ensure spec tests for Solaris port pass 2014-02-25 10:42:26 +01:00
Garrett Honeycutt
5b8317daa5 Merge remote-tracking branch 'origin/master' into support_solaris
Get this branch up to date
2014-02-25 10:23:08 +01:00
Mark Nalyanya
2ee8163d9b Add Solaris support
Parameterized the OS specific options
2014-02-25 10:20:01 +01:00
Martin Hagstrom
6236973bf8 Add option to not import ssh keys 2014-02-20 16:58:51 +01:00
Garrett Honeycutt
cd5e300fa0 Support Puppet v3.4 2014-02-06 14:54:43 -05:00
Garrett Honeycutt
0f4b8320e5 Add spec tests for hiera_merge
Test for hiera_merge set to an invalid type that is not checked in the
code's case statement. Also test for error message returned from
validate_re().
2014-01-20 09:36:38 -05:00
Phil Friderici
8a8ffbee6a added optional hiera merge functionality 2014-01-20 11:16:28 +01:00
Garrett Honeycutt
2afe44fd22 Support rspec-puppet v1.0.0
include_class has been replaced with contain_class.
http://bombasticmonkey.com/2013/12/05/rspec-puppet-1.0.0/
2013-12-27 17:47:46 -05:00
Garrett Honeycutt
507b35e453 Cleaning up contributions 2013-12-21 02:27:10 -05:00
Garrett Honeycutt
42efd6ebfc Clean up contributions and improve spec tests 2013-12-21 02:21:06 -05:00
Garrett Honeycutt
8ed84f7e18 Update to work with new version of rspec-puppet 2013-12-21 02:05:37 -05:00
Garrett Honeycutt
7c378d0e8b Merge pull request #39 from Phil-Friderici/spec_test_fixes
fixing spec warnings
2013-12-19 04:47:16 -08:00
Phil Friderici
c6c85ed325 fixing spec warnings 2013-12-11 14:45:53 +01:00
Phil Friderici
7bce1e8b35 ssh_config_hash_known_hosts option added 2013-12-11 14:35:42 +01:00
Kent Johansson
388ba4d147 Add option to specify banner content 2013-12-05 12:13:26 +01:00
Daniel Tremblay
c60c8618f8 Change default value for sshd_config_challenge_resp_auth to 'yes' 2013-12-04 19:10:36 +00:00
Garrett Honeycutt
f964678546 Add test for ssh key that runs a command 2013-11-18 12:55:55 +01:00
Garrett Honeycutt
359a041582 Validate keys parameter
Ensure that keys is a hash
2013-11-14 17:57:47 -05:00