projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move ganeti details into hiera
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
templates
/
authorized_keys.erb
diff --git
a/modules/ssh/templates/authorized_keys.erb
b/modules/ssh/templates/authorized_keys.erb
index
23ee49b
..
ce054cd
100644
(file)
--- a/
modules/ssh/templates/authorized_keys.erb
+++ b/
modules/ssh/templates/authorized_keys.erb
@@
-24,6
+24,10
@@
localkeys
end
ganetikeys
%>
+<%=
+ nodes = hiera('nodes', nil, {'cluster' => hiera('cluster')})
+ nodes.collect{|x| hiera('rootkey', nil, {'hostname' => x})}
+%>
#
# DSA
#