]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/templates/puppet/puppet.conf.erb
Store only changed reports
[perso/Immae/Projets/Puppet.git] / modules / base_installation / templates / puppet / puppet.conf.erb
index 24e67c85c4d5c697f3365640e62c6fa5c9b338b5..427771473f3ecb931f37b38f17741bbd09b4af2f 100644 (file)
@@ -1,4 +1,17 @@
 [main]
+<%
+  reports = ["store_changed", "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 %>