projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Danger, Will Robinson. We need to create etc/ssh/userkeys - else we lock ourselves...
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
manifests
/
init.pp
diff --git
a/modules/ssh/manifests/init.pp
b/modules/ssh/manifests/init.pp
index
59fe97b
..
b00d774
100644
(file)
--- a/
modules/ssh/manifests/init.pp
+++ b/
modules/ssh/manifests/init.pp
@@
-13,6
+13,12
@@
class ssh {
require => Package["openssh-server"],
notify => Exec["ssh restart"]
;
require => Package["openssh-server"],
notify => Exec["ssh restart"]
;
+ "/etc/ssh/userkeys":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 775,
+ ;
"/etc/ssh/userkeys/root":
content => template("ssh/authorized_keys.erb"),
mode => 444,
"/etc/ssh/userkeys/root":
content => template("ssh/authorized_keys.erb"),
mode => 444,