[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 = <%= @system_hostname %>
+certname = <%= @real_hostname %>
ldapserver = <%= @ldap_server %>
ldaptls = true
ldapbase = <%= @ldap_base %>