]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
try in template
authorLuca Filipozzi <lfilipoz@emyr.net>
Wed, 16 May 2012 09:12:07 +0000 (09:12 +0000)
committerLuca Filipozzi <lfilipoz@emyr.net>
Wed, 16 May 2012 09:12:07 +0000 (09:12 +0000)
modules/puppetmaster/files/hiera.yaml
modules/ssh/templates/authorized_keys.erb

index 98411f6c12b09fc6ddb48166b9ea1302f4619792..9304c0e46e92abd4830e8b30c8d122f45a4a32cd 100644 (file)
@@ -1,6 +1,8 @@
 ---
 :hierarchy:
   - %{hoster}
+  - machines/${fqdn}
+  - clusters/${cluster}
   - common
 :backends:
   - yaml
index 23ee49b72158c2df0de745567e02fc5a13a1a15f..e0f97b48a6fbc9de550abbd11a6d54f74338edb6 100644 (file)
@@ -24,6 +24,9 @@ localkeys
 end
 ganetikeys
 %>
+<% Puppet::Parser::Functions.function('hiera') -%>
+<% Puppet::Parser::Functions.function('hiera_array') -%>
+#<%= scope.function_hiera('cluster') %>
 #
 # DSA
 #