2021-06-02 03:44:37 +02:00
|
|
|
# @summary Adds an http "application" to the Teleport configuration for the host.
|
|
|
|
#
|
|
|
|
# See https://goteleport.com/docs/application-access/
|
|
|
|
define zulip_ops::teleport::application (
|
|
|
|
$port,
|
2021-06-08 23:41:02 +02:00
|
|
|
$description = '',
|
2021-06-02 03:44:37 +02:00
|
|
|
$order = '50',
|
|
|
|
) {
|
|
|
|
concat::fragment { "teleport_app_${name}":
|
|
|
|
target => '/etc/teleport_node.yaml',
|
|
|
|
order => $order,
|
2021-06-08 23:41:02 +02:00
|
|
|
content => template('zulip_ops/teleport_app.yaml.template.erb'),
|
2021-06-02 03:44:37 +02:00
|
|
|
}
|
|
|
|
}
|