mirror of https://github.com/zulip/zulip.git
19 lines
508 B
Puppet
19 lines
508 B
Puppet
class zulip_ops::teleport::base {
|
|
include zulip::supervisor
|
|
|
|
$setup_apt_repo_file = "${::zulip_scripts_path}/lib/setup-apt-repo"
|
|
exec{ 'setup-apt-repo-teleport':
|
|
command => "${setup_apt_repo_file} --list teleport",
|
|
unless => "${setup_apt_repo_file} --list teleport --verify",
|
|
}
|
|
package { 'teleport':
|
|
ensure => installed,
|
|
require => Exec['setup-apt-repo-teleport'],
|
|
}
|
|
service { 'teleport':
|
|
ensure => stopped,
|
|
enable => mask,
|
|
require => Package['teleport'],
|
|
}
|
|
}
|