9ae179cd51
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: If6eb852b44673ea6b6a629aa1381b78bb6ae5646
24 lines
532 B
Puppet
24 lines
532 B
Puppet
# == class: zaqar::transport::wsgi
|
|
#
|
|
# [*bind*]
|
|
# Address on which the self-hosting server will listen.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
# [*port*]
|
|
# Port on which the self-hosting server will listen.
|
|
# Defaults to $facts['os_service_default'].
|
|
#
|
|
class zaqar::transport::wsgi(
|
|
$bind = $facts['os_service_default'],
|
|
$port = $facts['os_service_default'],
|
|
) {
|
|
|
|
include zaqar::deps
|
|
|
|
zaqar_config {
|
|
'drivers:transport:wsgi/bind': value => $bind;
|
|
'drivers:transport:wsgi/port': value => $port;
|
|
}
|
|
|
|
}
|