puppet-zaqar/manifests/transport/wsgi.pp
Takashi Kajinami 9ae179cd51 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: If6eb852b44673ea6b6a629aa1381b78bb6ae5646
2023-03-02 12:51:11 +09:00

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