Micah Anderson
667d7e30df
Merge commit 'ng/master'
...
Conflicts:
manifests/init.pp
Conflict due to indentation formatting differences
2008-12-07 12:12:33 -05:00
Antoine Beaupre
461bc0c2f0
emit a warning instead of info when the ssh server doesn't have an sshrsa key
...
also export the key based on ip address, removing all warnings
2008-12-06 19:12:17 -05:00
Antoine Beaupre
992e6e0f07
use the proper fact to export ssh keys. See http://projects.reductivelabs.com/issues/show/1799#note-1
2008-12-06 18:39:53 -05:00
Antoine Beaupre
fa072188dc
make saner defaults for authorized_keys
...
note that this removes the user => root default
2008-12-02 16:56:19 -05:00
mh
ec2501d07c
unified naming
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2674 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-11-07 20:40:24 +00:00
mh
7103d6bfcc
check ssh with nagios
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2672 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-11-07 20:19:31 +00:00
Micah Anderson
6fb10939af
In debian, the daemon is run as 'sshd', but the initscript is
...
/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-27 17:00:39 -04:00
Micah Anderson
49d840dab4
lsbdistcodename is the proper variable to check for if the system is debian or lenny
2008-10-27 16:20:26 -04:00
Micah Anderson
98ddbe8ef5
change the debian 'hasrestart' option to a selector based on which $debian_version is detected,
...
etch does not have a ssh restart option in the initscript, but lenny does
2008-10-26 12:39:45 -04:00
Micah Anderson
1b2dcaf510
update formatting to be consistent with upstream puppet emacs mode, if this is different from the vim
...
mode, then there is a difference between these two editor's formatting that needs to be resolved
2008-10-23 15:04:47 -04:00
Micah Anderson
50c52b8483
Merge branch 'master' of gitosis@labs.riseup.net:module_sshd
2008-10-23 15:01:53 -04:00
Micah Anderson
96760cc558
debian has both status and restart options, in fact restart is
...
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-23 14:59:42 -04:00
Pietro Ferrari
ae5215705a
Merge commit 'immerda/master'
2008-10-21 02:03:37 +02:00
mh
96bbe0adb8
new options, cleaned up real_ hack
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2527 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-10-20 22:46:50 +00:00
mh
68b72b545b
remove deprecated define
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2317 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-10-02 22:04:31 +00:00
Micah Anderson
90f14f4ae4
Merge commit 'ng/master'
2008-09-30 21:04:46 -04:00
mh
456fec72ed
remove dependency completly
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2267 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29 22:50:28 +00:00
mh
f733562469
moved package depency to the linux class, openbsd doesn't have this package
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2266 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29 22:48:35 +00:00
mh
9ce186f5c3
merged with riseup
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2263 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-29 22:37:26 +00:00
Micah Anderson
16dd74a7de
include assert_lsbdistcodename for debian
2008-09-28 13:40:35 -04:00
Micah Anderson
aa3badea81
add some comments to clarify how to set variables, and provide examples
2008-09-28 12:38:18 -04:00
Micah Anderson
c751cf22ed
clarify in the example about how you can set multiple ListenAddresses with 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-27 17:45:57 -04:00
Micah Anderson
d827a52614
rename the templates to coincide with the downcased lsbdistcodename
...
also add a missing comma in the content selector
2008-09-27 16:51:32 -04:00
Micah Anderson
57eb2df037
Change the template naming:
...
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-27 16:42:08 -04:00
Micah Anderson
57a0fd279e
fix the default of PubkeyAuthentication (supposed to be yes, but was set to no)
2008-09-27 15:19:43 -04:00
Micah Anderson
11be1b1f8c
fix duplicate sshd word in variable name
2008-09-27 13:39:28 -04:00
Micah Anderson
2391ef9bfe
add the ability to set the ListenAddress configuration option through sshd_listen_address
2008-09-27 13:30:52 -04:00
Micah Anderson
ef6f137cff
add the variable sshd_authorized_keys_file with the default set to the normal: %h/.ssh/authorized_keys
2008-09-26 20:03:10 -04:00
Micah Anderson
26e4ac53a9
add sshd_port variable enabling you to set a different port for sshd, default is 22
2008-09-26 18:23:25 -04:00
Micah Anderson
e525f18d12
minor fix to indentation
2008-09-26 18:16:58 -04:00
Micah Anderson
0b18022727
add sshd_allow_tcp_forwarding variable, with the default changed to no (note this is opposite of
...
what the existing template had enabled for Debian, but this is a better setting)
2008-09-26 17:55:02 -04:00
Micah Anderson
58fef5f809
add variable sshd_permit_empty_passwords, with the default set to no
2008-09-26 17:51:12 -04:00
Micah Anderson
06163fbb92
added sshd_rhosts_rsa_authentication variable, default set to no
...
added sshd_hostbased_authentication variable, default set to no
2008-09-26 17:44:16 -04:00
Micah Anderson
9edd2705d4
add sshd_ignore_rhosts option, default set to yes
2008-09-26 17:30:28 -04:00
Micah Anderson
ba8d788f89
add the sshd_strict_modes variable, with the default set to yes
2008-09-26 17:28:05 -04:00
Micah Anderson
19b49e80ee
add the sshd_rsa_authentication option, default set to no
2008-09-26 17:21:01 -04:00
Micah Anderson
6f5a865b58
add sshd_pubkey_authentication variable, with the default set to yes
2008-09-26 17:10:33 -04:00
Micah Anderson
51c18b6b8f
added sshd_challenge_response_authentication variable, with the default value set to no
2008-09-26 17:05:49 -04:00
Micah Anderson
3bd90d741c
Add the variable AllowAgentForwarding to be set, with the default of 'no', 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-26 16:57:59 -04:00
mh
e3ce449ff4
Merge commit 'puzzle/development'
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2230 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-09-09 23:19:00 +00:00
mh
f66c80d97a
remove double definition
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2093 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-29 23:34:40 +00:00
mh
e41d117247
Merge commit 'puzzle/development'
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2092 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-29 23:30:05 +00:00
mh
34bcb5c3d6
fixed fact as centos doesn't seem to add the hostname to the hostkey, fixed package requirement
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1994 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-07-25 11:17:06 +00:00
mh
9fc6a0baf3
added exporting and collecting of ssh keys
...
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
2008-07-17 18:17:52 +00:00
mh
8bc696b174
readded a source
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1628 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-06-17 07:57:46 +00:00
mh
ece3afde12
merged with puzzle
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1614 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-06-13 21:01:39 +00:00
mh
2e38f51bd6
added status info
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1198 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-11 13:17:27 +00:00
mh
71da05e453
added debian and ubuntu
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1197 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-11 13:14:47 +00:00
mh
1ba819a192
fixed missing bracket
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1164 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-04 18:43:57 +00:00
mh
bdf171ffee
fixed typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1163 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-04 18:40:29 +00:00
mh
3a15ca8c3c
removed crap
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1162 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-04 18:39:12 +00:00
mh
0603077ce6
moved /dist/-stuff to /files/, heavily refactored a lot, made it more look all the same way. some sources added here and there. hope it still works everything, the location on the disk of /files/ is still call dists. no need to hurry to change that
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@1160 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-04-04 15:30:26 +00:00
mh
eba8003eef
fixed wrong path
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@923 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 14:25:05 +00:00
mh
bcb0140f70
changed server way
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@921 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 13:51:45 +00:00
mh
99410e1295
typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@916 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 12:50:32 +00:00
mh
dcb759f542
rearranged stuff
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@913 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 12:40:32 +00:00
mh
b42046acde
fixed real path
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@911 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 12:31:19 +00:00
mh
87e586658b
refactored the whole module
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@906 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 12:09:18 +00:00
mh
5076f8a68d
notice not warn
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@893 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 11:00:18 +00:00
mh
c10baee4eb
debug infos
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@890 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 10:57:33 +00:00
mh
5cf8ea7bd7
debug infos
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@886 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-29 10:41:44 +00:00
mh
7b3047b558
fixed import order
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@846 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-25 14:05:32 +00:00
mh
c140469f04
added new var to template
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@831 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 21:15:28 +00:00
mh
97766401f5
typo in definition
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@826 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 20:55:26 +00:00
mh
021e331ccb
typo in definition
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@825 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 20:50:47 +00:00
mh
691e1c759d
last one doesn't have , in definitions
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@824 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 20:48:17 +00:00
mh
e9ed1862d5
typo in definition
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@823 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 20:45:13 +00:00
mh
86b9637755
first step to put ssh and sshd together
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@820 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-17 19:46:11 +00:00
mh
d6c091a541
fixed typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@737 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:44:07 +00:00
mh
2f57f2176f
fixed language problem
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@736 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:42:12 +00:00
mh
904bdd65ed
fixed language problem
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@735 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:36:44 +00:00
mh
dc7d6d0120
fixed language problem
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@731 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:23:09 +00:00
mh
563aa80f8b
fixed language problem
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@730 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:17:24 +00:00
mh
9ebb3866e4
added Debian specific stuff
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-02-02 00:13:31 +00:00
mh
3a98e63253
codestyle
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@615 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-30 23:27:37 +00:00
mh
c247ed88fb
codestyle
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@613 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-30 22:51:09 +00:00
mh
3ccf7e835e
removed module_dirs
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@478 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-11 15:58:16 +00:00
am
a6ae564ea6
definitiv, die package darf keinen alias mit dem gleichen namen haben
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@455 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-10 12:44:34 +00:00
mh
a67ca09816
fixed path
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@399 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-04 14:19:34 +00:00
mh
ce720d4b0a
fixed path
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@398 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-04 14:18:55 +00:00
mh
2a92cc0827
added new sshd service way
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@397 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-04 14:16:20 +00:00
mh
6c229125f2
typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@349 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-02 20:05:30 +00:00
mh
147507f159
changed the install behaviour for openbsd
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@348 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-02 20:02:15 +00:00
mh
6f59d15abf
removed autoimports
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@346 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-02 19:40:42 +00:00
mh
58304b2f27
added barricada
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@343 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2008-01-02 18:02:20 +00:00
mh
9c78ba9f32
fixed typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@333 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-27 15:57:33 +00:00
mh
9cc7c834e4
fixed typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@332 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-27 15:53:51 +00:00
mh
ddb169a36e
moved sshd to templates so they are cpable of having different allowed_users
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@330 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-27 15:42:16 +00:00
mh
a1e8a89101
fixed some typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@301 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-21 18:27:16 +00:00
mh
76e789e5b7
fixed some typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@300 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-21 18:26:07 +00:00
mh
e99f9cb3a2
fixed some typo
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@299 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-21 18:21:22 +00:00
mh
7db46771e7
factored out ssh and sshd in seperate modules, as well added first stuff for euskal
...
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@289 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
2007-12-21 17:52:01 +00:00