c54428f524
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: If4f585264f5f5a15549855d97b532866d91f5215
24 lines
506 B
Puppet
24 lines
506 B
Puppet
# == class: zaqar::transport::wsgi
|
|
#
|
|
# [*bind*]
|
|
# Address on which the self-hosting server will listen.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*port*]
|
|
# Port on which the self-hosting server will listen.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class zaqar::transport::wsgi(
|
|
$bind = $::os_service_default,
|
|
$port = $::os_service_default,
|
|
) {
|
|
|
|
include ::zaqar::deps
|
|
|
|
zaqar_config {
|
|
'drivers:transport:wsgi/bind': value => $bind;
|
|
'drivers:transport:wsgi/port': value => $port;
|
|
}
|
|
|
|
}
|