125 Commits

Author SHA1 Message Date
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
kTitan
6d0cfd48c8 Parameterize IgnoreUserKnownHosts & IgnoreRhosts 2015-06-01 21:50:46 +02:00
kTitan
ea036f117e Add parameter for HostbasedAuthentication option in sshd_config 2015-06-01 10:58:25 -04:00
Garrett Honeycutt
ab8d700a6a Fix style issues 2015-05-31 15:27:43 -04:00
Kyle Fu
20bb5118df Remove if statement for sshd_gssapiauthentication. 2015-05-07 14:45:09 +08:00
Kyle Fu
29c042a960 Remove if for ssh_gssapiauthentication. Remove unnecessary line in spec_helper.rb. Fix dot by backslash. 2015-05-07 11:19:40 +08:00
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
Garrett Honeycutt
21be3b2da3 Requiring rubygems is not needed. 2014-06-10 13:51:39 -04: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