puppet-zaqar/manifests/transport/wsgi.pp
ZhongShengping c54428f524 Add hooks for external install & svc management
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
2016-12-07 16:49:58 +08:00

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;
}
}