]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/templates/puppet/puppet.conf.erb
Add cat_files report to notify of important changes
[perso/Immae/Projets/Puppet.git] / modules / base_installation / templates / puppet / puppet.conf.erb
index 37eba8ef0cbc5d151f30048e3df4c03299fa8700..38a0c1bb5e21f60214e179c291033edcce45f4b9 100644 (file)
@@ -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 %>