X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fbase_installation%2Ftemplates%2Fpuppet%2Fpuppet.conf.erb;h=38a0c1bb5e21f60214e179c291033edcce45f4b9;hb=a7b985dd3cc4af68875733eb135335a31504f472;hp=37eba8ef0cbc5d151f30048e3df4c03299fa8700;hpb=64b197e6488e1ba1a48d63f365242d50c668ee13;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/base_installation/templates/puppet/puppet.conf.erb b/modules/base_installation/templates/puppet/puppet.conf.erb index 37eba8e..38a0c1b 100644 --- a/modules/base_installation/templates/puppet/puppet.conf.erb +++ b/modules/base_installation/templates/puppet/puppet.conf.erb @@ -1,9 +1,17 @@ [main] -<% if @xmpp.count > 0 %> -reports = store,xmpp -<% else %> -reports = store -<% end %> +<% + reports = ["store", "cat_files"] + if @xmpp.count > 0 + reports << "xmpp" + end + if @slack.count > 0 + reports << "slack" + end +%> +reports = <%= reports.join(",") %> + +basemodulepath = <%= @puppet_code_path %>/modules:<%= @puppet_code_path %>/external_modules + ssldir = <%= @puppet_ssl_path %> environment = <%= @environment %>