projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore /etc/lvm on biber
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
manifests
/
init.pp
diff --git
a/modules/ssh/manifests/init.pp
b/modules/ssh/manifests/init.pp
index
b00d774
..
9b25383
100644
(file)
--- a/
modules/ssh/manifests/init.pp
+++ b/
modules/ssh/manifests/init.pp
@@
-4,6
+4,13
@@
class ssh {
openssh-server: ensure => installed;
}
openssh-server: ensure => installed;
}
+ case $hostname {
+ bartok: {
+ $keyinfo = allnodeinfo("sshRSAHostKey", "ipHostNumber")
+ }
+ }
+
+
file { "/etc/ssh/ssh_config":
source => [ "puppet:///ssh/ssh_config" ],
require => Package["openssh-client"]
file { "/etc/ssh/ssh_config":
source => [ "puppet:///ssh/ssh_config" ],
require => Package["openssh-client"]
@@
-17,7
+24,7
@@
class ssh {
ensure => directory,
owner => root,
group => root,
ensure => directory,
owner => root,
group => root,
- mode => 7
7
5,
+ mode => 7
5
5,
;
"/etc/ssh/userkeys/root":
content => template("ssh/authorized_keys.erb"),
;
"/etc/ssh/userkeys/root":
content => template("ssh/authorized_keys.erb"),
@@
-30,4
+37,5
@@
class ssh {
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,
}
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,
}
+
}
}