projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can't call hiera() from templates?
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
manifests
/
init.pp
diff --git
a/modules/ssh/manifests/init.pp
b/modules/ssh/manifests/init.pp
index
0824f0f
..
455d322
100644
(file)
--- a/
modules/ssh/manifests/init.pp
+++ b/
modules/ssh/manifests/init.pp
@@
-1,5
+1,8
@@
class ssh {
+ nodes = hiera('nodes', nil, {'cluster' => hiera('cluster')})
+ $rootkeys = nodes.collect{|x| hiera('rootkey', nil, {'hostname' => x})}
+
package { [ 'openssh-client', 'openssh-server']:
ensure => installed
}