]> 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 99d9fc327117442989db50edacfde1ea647325d4..427771473f3ecb931f37b38f17741bbd09b4af2f 100644 (file)
@@ -1,7 +1,23 @@
 [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 %>
+
 node_terminus = ldap
+certname = <%= @real_hostname %>
 ldapserver = <%= @ldap_server %>
 ldaptls = true
 ldapbase = <%= @ldap_base %>