2024-02-06 21:40:19 +01:00
|
|
|
class kandra::teleport::base {
|
2021-06-02 03:41:02 +02:00
|
|
|
include zulip::supervisor
|
|
|
|
|
2024-03-25 20:16:16 +01:00
|
|
|
$setup_apt_repo_file = "${facts['zulip_scripts_path']}/lib/setup-apt-repo"
|
2021-06-02 03:41:02 +02:00
|
|
|
exec{ 'setup-apt-repo-teleport':
|
|
|
|
command => "${setup_apt_repo_file} --list teleport",
|
|
|
|
unless => "${setup_apt_repo_file} --list teleport --verify",
|
|
|
|
}
|
2023-03-15 15:37:54 +01:00
|
|
|
package { 'teleport':
|
|
|
|
ensure => installed,
|
2021-06-02 03:41:02 +02:00
|
|
|
require => Exec['setup-apt-repo-teleport'],
|
|
|
|
}
|
2023-03-15 15:37:54 +01:00
|
|
|
service { 'teleport':
|
|
|
|
ensure => stopped,
|
|
|
|
enable => mask,
|
|
|
|
require => Package['teleport'],
|
|
|
|
}
|
2021-06-02 03:41:02 +02:00
|
|
|
}
|