Index: modules/filtermaster/templates/sitescripts.ini.erb |
diff --git a/modules/filtermaster/templates/sitescripts.ini.erb b/modules/filtermaster/templates/sitescripts.ini.erb |
index 787cd7fe88f446cbbe5cff3a79720d390e630774..8d63d4000e1341a9d0ce77d7482d027ec6825c45 100644 |
--- a/modules/filtermaster/templates/sitescripts.ini.erb |
+++ b/modules/filtermaster/templates/sitescripts.ini.erb |
@@ -2,6 +2,10 @@ |
root=/home/rsync/subscription |
[subscriptionDownloads] |
-<% scope.function_hiera('filtermaster::repo_download', {}).each do |key, hash| -%> |
+<% @repos.each do |key| -%> |
+<%= key %>_repository=%(root)s/<%= key %> |
+<% end -%> |
+<% @repo_downloads.each do |key, hash| -%> |
<%= hash['alias'] rescue key %>_repository=%(root)s/<%= key %> |
<% end -%> |
+outdir=/home/rsync/generated |