Revision 7e21ab03
Added by Massimiliano Adamo almost 6 years ago
manifests/apache.pp | ||
---|---|---|
apache::vhost { 'pulp-http':
|
||
priority => '05',
|
||
docroot => '/usr/share/pulp/wsgi',
|
||
port => 80,
|
||
port => $::pulp::http_port,
|
||
servername => $::fqdn,
|
||
serveraliases => [$::hostname],
|
||
additional_includes => '/etc/pulp/vhosts80/*.conf',
|
||
... | ... | |
apache::vhost { 'pulp-https':
|
||
priority => '05',
|
||
docroot => '/usr/share/pulp/wsgi',
|
||
port => 443,
|
||
port => $::pulp::https_port,
|
||
servername => $::fqdn,
|
||
serveraliases => [$::hostname],
|
||
keepalive => 'on',
|
manifests/init.pp | ||
---|---|---|
#
|
||
# $enable_http:: Whether to enable http access to deb/rpm repos.
|
||
#
|
||
# $http_port:: HTTP port Apache will listen
|
||
#
|
||
# $https_port:: HTTPS port Apache will listen
|
||
#
|
||
# $manage_httpd:: Whether to install and configure the httpd server.
|
||
#
|
||
# $manage_plugins_httpd:: Whether to install the enabled pulp plugins apache configs even if $manage_httpd is
|
||
... | ... | |
Optional[String] $tasks_login_method = $::pulp::params::tasks_login_method,
|
||
String $email_host = $::pulp::params::email_host,
|
||
Integer[1, 65535] $email_port = $::pulp::params::email_port,
|
||
Integer[1, 65535] $http_port = $::pulp::params::http_port,
|
||
Integer[1, 65535] $https_port = $::pulp::params::https_port,
|
||
String $email_from = $::pulp::params::email_from,
|
||
Boolean $email_enabled = $::pulp::params::email_enabled,
|
||
Boolean $manage_squid = $::pulp::params::manage_squid,
|
manifests/params.pp | ||
---|---|---|
$https_chain = undef
|
||
$ssl_username = 'SSL_CLIENT_S_DN_CN'
|
||
$enable_http = false
|
||
$http_port = 80
|
||
$https_port = 443
|
||
$ssl_verify_client = 'require'
|
||
$ssl_protocol = ['all', '-SSLv2', '-SSLv3']
|
||
|
Also available in: Unified diff
allow to change Apache http and https port (#325)