summaryrefslogtreecommitdiff
path: root/templates/puppetmaster.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/puppetmaster.conf.erb')
-rw-r--r--templates/puppetmaster.conf.erb18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/puppetmaster.conf.erb b/templates/puppetmaster.conf.erb
new file mode 100644
index 0000000..65240e7
--- /dev/null
+++ b/templates/puppetmaster.conf.erb
@@ -0,0 +1,18 @@
+# This configuration file was auto-generated by the Puppet configuration
+# management system. Any changes you make to this file will be overwritten
+# the next time Puppet runs. Please make configuration changes to this
+# service in Puppet.
+
+ssl on;
+ssl_certificate /var/lib/puppet/ssl/certs/puppetmaster.example.com.pem;
+ssl_certificate_key /var/lib/puppet/ssl/private_keys/puppetmaster.example.com.pem;
+ssl_client_certificate /var/lib/puppet/ssl/certs/ca.pem;
+ssl_ciphers SSLv2:-LOW:-EXPORT:RC4+RSA;
+ssl_session_cache shared:SSL:8m;
+ssl_session_timeout 5m;
+
+upstream puppet-production {
+ <% puppetmaster_servers.each do |upstream| -%>
+ server <%= upstream %>;
+ <% end -%>
+}