aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-07move plugin directory to fit new 0.25 stylemh
2009-12-07switch to new lsb waymh
2009-12-07better set the variables in the initmh
2009-12-07upstream capability, fix new linesmh
- added new upstream options - don't put new lines for control statements
2009-12-07factor everything into its own filemh
2009-12-07disable gssapimh
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-07same problem with the openssh-clients in the sshd::client::linux classMicah Anderson
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-07Template out the possibility of specifying the key word 'off' to theMicah Anderson
$sshd_port parameter, which simply puts a comment in front of that option, rather than specifying it.
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
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