aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-02removed the facter/sshkeys.rb, this is handled by facter now days, so it is ↵Micah Anderson
no longer necessary to provide it
2008-12-07Merge commit 'anarcat/master'Micah Anderson
2008-12-07Fix location of default sftp-server on Debian, and uncomment the sftpMicah Anderson
configuration line to get the sshd_config file defaults to be more like the standard shipped defaults from Debian
2008-12-07Merge commit 'ng/master'Micah Anderson
Conflicts: manifests/init.pp Conflict due to indentation formatting differences
2008-12-06emit a warning instead of info when the ssh server doesn't have an sshrsa keyAntoine Beaupre
also export the key based on ip address, removing all warnings
2008-12-06use the proper fact to export ssh keys. See ↵Antoine Beaupre
http://projects.reductivelabs.com/issues/show/1799#note-1
2008-12-02make saner defaults for authorized_keysAntoine Beaupre
note that this removes the user => root default
2008-11-07unified namingmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2674 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-11-07check ssh with nagiosmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2672 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-10-27In debian, the daemon is run as 'sshd', but the initscript isMicah Anderson
/etc/init.d/ssh, which means that name needs to be set to 'ssh', and pattern needs to be set to 'sshd', and then we set the hassstatus and hasrestart depending on the lsbdistcodename
2008-10-27lsbdistcodename is the proper variable to check for if the system is debian ↵Micah Anderson
or lenny
2008-10-27Debian's sshd config typically has PrintMotd no set because its already ↵Micah Anderson
printed via PAM. Without it set, it is defaulted to 'yes', which results in the MOTD being printed twice, so we return the Debian default configuration in this commit
2008-10-26change the debian 'hasrestart' option to a selector based on which ↵Micah Anderson
$debian_version is detected, etch does not have a ssh restart option in the initscript, but lenny does
2008-10-23update formatting to be consistent with upstream puppet emacs mode, if this ↵Micah Anderson
is different from the vim mode, then there is a difference between these two editor's formatting that needs to be resolved
2008-10-23Merge branch 'master' of gitosis@labs.riseup.net:module_sshdMicah Anderson
2008-10-23debian has both status and restart options, in fact restart isMicah Anderson
preferable because a stop/start operation can leave sshd broken because the stop wont stop before the start is run. On the next puppet run ssh will be brought back up, but its a hair-raising few minutes while you wonder what happened
2008-10-21Merge commit 'immerda/master'Pietro Ferrari
2008-10-20new options, cleaned up real_ hackmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2527 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-10-02remove deprecated definemh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2317 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-30Merge commit 'ng/master'Micah Anderson
2008-09-30fix correct inheritancemh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2272 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29remove dependency completlymh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2267 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29moved package depency to the linux class, openbsd doesn't have this packagemh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2266 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29factored out the package to some subclasses as openbsd doesn't need such a ↵mh
package git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2265 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29added link for lsb stuffmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2264 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29merged with riseupmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2263 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-28include assert_lsbdistcodename for debianMicah Anderson
2008-09-28add some comments to clarify how to set variables, and provide examplesMicah Anderson
2008-09-27clarify in the example about how you can set multiple ListenAddresses with ↵Micah Anderson
the right syntax also set the default to be 0.0.0.0 and :: which is the normal default for all IPv4 and all IPv6 addresses
2008-09-27rename the templates to coincide with the downcased lsbdistcodenameMicah Anderson
also add a missing comma in the content selector
2008-09-27Change the template naming:Micah Anderson
1. remove the _normal suffix, as it is not used 2. add a selector to look for the variable $lsbdistcodename being set and use that in selecting a template this is useful to create a Debian_Etch.erb and a Debian_Lenny.erb which can have different values. For example the Debian Etch version of openssh does not have the AllowAgentForwarding option, and if it is included, ssh will fail to start
2008-09-27remove some newlines from the template to clean it up a bitMicah Anderson
2008-09-27fix the default of PubkeyAuthentication (supposed to be yes, but was set to no)Micah Anderson
2008-09-27fix duplicate sshd word in variable nameMicah Anderson
2008-09-27add the ability to set the ListenAddress configuration option through ↵Micah Anderson
sshd_listen_address
2008-09-27adjust template to not leave behind so many empty linesMicah Anderson
2008-09-27fix minor spelling errorMicah Anderson
2008-09-27fix incorrect variable sshd_permit_empty_passwordsMicah Anderson
2008-09-26add the variable sshd_authorized_keys_file with the default set to the ↵Micah Anderson
normal: %h/.ssh/authorized_keys
2008-09-26add sshd_port variable enabling you to set a different port for sshd, ↵Micah Anderson
default is 22
2008-09-26minor fix to indentationMicah Anderson
2008-09-26add sshd_allow_tcp_forwarding variable, with the default changed to no (note ↵Micah Anderson
this is opposite of what the existing template had enabled for Debian, but this is a better setting)
2008-09-26add variable sshd_permit_empty_passwords, with the default set to noMicah Anderson
2008-09-26fix ignore_rhosts variable nameMicah Anderson
2008-09-26added sshd_rhosts_rsa_authentication variable, default set to noMicah Anderson
added sshd_hostbased_authentication variable, default set to no
2008-09-26add sshd_ignore_rhosts option, default set to yesMicah Anderson
2008-09-26add the sshd_strict_modes variable, with the default set to yesMicah Anderson
2008-09-26fix a set of duplicated sshd words in the variablesMicah Anderson
2008-09-26add the sshd_rsa_authentication option, default set to noMicah Anderson
2008-09-26add sshd_pubkey_authentication variable, with the default set to yesMicah Anderson