X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fbase_installation%2Ftemplates%2Fpuppet%2Fpuppet.conf.erb;h=da394686c7aa97f626c32f63fedf95ecf3df9907;hb=c8511b2019b44360887d33a9626ec14c81736aee;hp=03b33bba119d8fedbf9e3c4947648d486dae3708;hpb=5a5b32d87d06cfc6dce82cf83cb023ed2764fc45;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 03b33bb..da39468 100644 --- a/modules/base_installation/templates/puppet/puppet.conf.erb +++ b/modules/base_installation/templates/puppet/puppet.conf.erb @@ -1,9 +1,14 @@ [main] -<% if @xmpp.count > 0 %> -reports = store,xmpp -<% else %> -reports = store -<% end %> +<% + reports = ["store"] + 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