Project

General

Profile

« Previous | Next » 

Revision 92b8cd5a

Added by Julien Pivotto about 8 years ago

Allow to specify the listen ip address of the puppetserver

Such an attempt was done in the past (#200) but was very complex due to
the use of apache::vhost, which does mot allow mixing IP and non-IP
based vhosts.

This PR only takes care of the Puppetserver side and issues a warning if
users try to change the IP address with the puppetmaster implementation.

View differences:

templates/server/puppetserver/conf.d/webserver.conf.erb
webserver: {
access-log-config = <%= scope.lookupvar('puppet::server_puppetserver_dir') %>/request-logging.xml
client-auth = want
ssl-host = 0.0.0.0
ssl-host = <%= scope.lookupvar('puppet::server_ip') %>
ssl-port = <%= scope.lookupvar('puppet::server_port') %>
ssl-cert = <%= scope.lookupvar('puppet::server::ssl_cert') %>
ssl-key = <%= scope.lookupvar('puppet::server::ssl_cert_key') %>

Also available in: Unified diff