2021-06-07 20:53:13 +02:00
|
|
|
# @summary Provide Teleport SSH access to a node.
|
|
|
|
#
|
|
|
|
# https://goteleport.com/docs/admin-guide/#adding-nodes-to-the-cluster
|
|
|
|
# details additional manual steps to allow a node to join the cluster.
|
|
|
|
class zulip_ops::teleport::db {
|
|
|
|
include zulip_ops::teleport::base
|
|
|
|
|
|
|
|
file { '/etc/teleport_db.yaml':
|
|
|
|
ensure => file,
|
|
|
|
owner => 'root',
|
|
|
|
group => 'root',
|
|
|
|
mode => '0644',
|
|
|
|
content => template('zulip_ops/teleport_db.yaml.template.erb'),
|
2023-03-15 15:37:54 +01:00
|
|
|
notify => Service['teleport_db'],
|
2021-06-07 20:53:13 +02:00
|
|
|
}
|
|
|
|
|
2023-03-15 15:37:54 +01:00
|
|
|
zulip_ops::teleport::part { 'db': }
|
2021-06-07 20:53:13 +02:00
|
|
|
}
|