projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f0cdbb
)
Danger, Will Robinson. We need to create etc/ssh/userkeys - else we lock ourselves...
author
Peter Palfrader
<peter@palfrader.org>
Fri, 28 Aug 2009 20:29:06 +0000
(22:29 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 28 Aug 2009 20:29:06 +0000
(22:29 +0200)
modules/ssh/manifests/init.pp
patch
|
blob
|
history
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"]
;
+ "/etc/ssh/userkeys":
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 775,
+ ;
"/etc/ssh/userkeys/root":
content => template("ssh/authorized_keys.erb"),
mode => 444,