aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
AgeCommit message (Collapse)Author
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
2008-09-27add the ability to set the ListenAddress configuration option through ↵Micah Anderson
sshd_listen_address
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-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-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
2008-09-26added sshd_challenge_response_authentication variable, with the default ↵Micah Anderson
value set to no
2008-09-26Add the variable AllowAgentForwarding to be set, with the default of 'no', ↵Micah Anderson
only the Debian template was adjusted for this, as my knowledge of the other operating systems is not good enough to determine the appropriate setting there
2008-09-09Merge commit 'puzzle/development'mh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2230 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-29remove double definitionmh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2093 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-29Merge commit 'puzzle/development'mh
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2092 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-25fixed fact as centos doesn't seem to add the hostname to the hostkey, fixed ↵mh
package requirement git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1994 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-17added exporting and collecting of ssh keysmh
Taken from David Schmitts ssh module: http://git.black.co.at/?p=module-ssh git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1877 d66ca3ae-40d7-4aa7-90d4-87d79ca94279