From 16e684ac77c95789a9903cdbeb5baf5b95cfe07c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 17 Feb 2010 19:30:17 -0200 Subject: Split proxy config --- templates/puppetmaster.conf.erb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/puppetmaster.conf.erb (limited to 'templates/puppetmaster.conf.erb') 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 -%> +} -- cgit v1.2.3