puppet-zaqar/manifests/transport/wsgi.pp
Dan Prince 6c05509bcc Add zaqar::transport::wsgi class
This class helps manage zaqar transport settings for wsgi.

Change-Id: I668ecc79f1684438beff620394711c6bb8f2cc34
2016-02-17 08:23:58 -05:00

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