47 Commits

Author SHA1 Message Date
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
Garrett Honeycutt
3dfa15ef6b Add ability to specify listen port for sshd
This patch allows you to specify a non-standard port for sshd.
2013-11-02 14:22:46 +01:00
Garrett Honeycutt
31397a0f18 Add Debian 7 support
Thank you, for5min, for testing this out and verifying that the package
names are the same between Debian 7 and Ubuntu 12.04 LTS.
2013-11-02 13:59:27 +01:00
Garrett Honeycutt
5971660ec3 Release v3.0.0
Remove sshd_config_sendenv_xmodifiers parameter which introduced a bug
that would prevent sshd from running.

Change default behvior of sshd to permit root to login. This is done to
be in line with the standard default of sshd. If you want to block root
from logging in by default, set the following in hiera.

ssh::permit_root_login: false
2013-10-31 20:29:50 +01:00
Garrett Honeycutt
2ecb232a0e Add feature to allow setting 'SendEnv XMODIFIERS'
This defaults to false and has options to independently set this in both
ssh_config and sshd_config.
2013-10-31 11:19:46 +01:00
Garrett Honeycutt
c178b9519a normalize fail message format
Use angle brackets around <$param> in message to make it clear when a
variable is blank.
2013-10-31 10:40:44 +01:00
Phil Friderici
952bea5393 Added more parameterizations 2013-10-31 09:26:45 +01:00
Garrett Honeycutt
a436adffd1 Refactor to fully support Ubuntu 2013-10-21 17:09:08 -04:00
Garrett Honeycutt
3fbadff68c Add spec tests for variables in sshd_config template 2013-10-17 17:07:15 -04:00
Garrett Honeycutt
60ed4b8a4f Add missing spec test in sshd_config for banner option 2013-10-17 16:58:16 -04:00
Garrett Honeycutt
ebe04a0fe6 Refactor to condense lines in spec test for readability 2013-10-17 16:55:14 -04:00
Garrett Honeycutt
55da6eeb92 Add spec tests for ssh_config template 2013-10-17 16:51:14 -04:00
Garrett Honeycutt
1ac04501e0 Add ability to add more OS's and add spec tests 2013-10-15 12:43:09 -04:00
Martin Hagstrom
4a67684240 Add ssh authorized key management 2013-09-25 16:11:37 +02:00
Garrett Honeycutt
58561177e0 Add spec tests
This is a first pass and is in no way complete. It does travis support
and test the default case and the major params that change logic.
2013-07-01 17:06:16 -04:00
Garrett Honeycutt
edb956ee98 initial commit 2013-05-16 16:06:06 +02:00