zulip/puppet/zulip_ops/manifests/teleport/db.pp

19 lines
539 B
ObjectPascal
Raw Normal View History

# @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'),
notify => Service['teleport_db'],
}
zulip_ops::teleport::part { 'db': }
}