aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
AgeCommit message (Collapse)Author
2010-10-16bugfixintrigeri
2010-10-16New option sshd_ports that obsoletes sshd_port.intrigeri
Backward compatibility is preserved.
2010-02-21update nagios check_command to check ssh port. it was using ssh_port, it ↵Micah Anderson
should be 'check_ssh_port'
2009-12-27Merge remote branch 'lavamind/master'Micah Anderson
2009-12-21update comments to include information about how to use the nagiosMicah Anderson
checks and the pre-requirements
2009-12-19fix the comments section so that the include isn't misleading. if youMicah Anderson
use 'include sshd::debian', then none of the variables are set, and you will fail to parse the templates
2009-12-18remove fqdn from nagios service description (hostname is used in the ↵Jerome Charaoui
internal nagios_service name)
2009-12-11false != 'false'mh
2009-12-10re-add shorewall in rule :/mh
2009-12-10merged with riseup module, various cleaning upmh
2009-12-07better set the variables in the initmh
2009-12-07factor everything into its own filemh
2009-12-07do not quote default!mh
2009-12-07try if setting a target fixes the problemmh
2009-12-07changed target behaviourmh
2009-12-07adjusted to new usage of booleansmh
2009-12-07adjusted to new usage of booleansmh
2009-10-01Revert "fix missing curly brace" -- this was actually correctMicah Anderson
This reverts commit d4fba70a51eeb253b0155f378ce7735df9479cd4.
2009-09-29fix missing curly braceMicah Anderson
2009-07-09fix previous change which took the client/server packages out of the linux classMicah Anderson
and instead allow for a version change through an if variable. thanks ng!
2009-07-07the sshd::linux class cannot also define the openssh packageMicah Anderson
if we are to have the possibility of potentially overriding the version number it must be done in the base class
2009-07-07make it possible to override what version of openssh-server and client are ↵Micah Anderson
installed by providing the variable $sshd_ensure_version, which defaults to the previous value of present when not specified
2009-07-07replace the sshd_additional_options variable with two, one calledMicah Anderson
sshd_head_additional_options and one called sshd_tail_additional_options. the first puts the value at the beginning of the file, and the second at the end. This is necessary due to some option ordering requiring things to be before others
2008-12-07Merge commit 'anarcat/master'Micah Anderson
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-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-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-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-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