6c05509bcc
This class helps manage zaqar transport settings for wsgi. Change-Id: I668ecc79f1684438beff620394711c6bb8f2cc34
22 lines
481 B
Puppet
22 lines
481 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,
|
|
) {
|
|
|
|
zaqar_config {
|
|
'drivers:transport:wsgi/bind': value => $bind;
|
|
'drivers:transport:wsgi/port': value => $port;
|
|
}
|
|
|
|
}
|