2021-06-02 03:43:49 +02:00
|
|
|
# See https://goteleport.com/docs/config-reference/
|
|
|
|
teleport:
|
|
|
|
ca_pin: "sha256:df15ba56d56227e288ce183d7eee77a6bef552aaaa5dc25f0f5ea56494ce14c6"
|
|
|
|
auth_servers:
|
2021-06-02 03:44:37 +02:00
|
|
|
# Use the proxy address, to support running the app_service, which requires
|
|
|
|
# a reverse tunnel.
|
|
|
|
- teleport.zulipchat.net:443
|
2024-01-30 20:55:29 +01:00
|
|
|
<% if @is_ec2 -%>
|
|
|
|
join_params:
|
|
|
|
method: iam
|
|
|
|
token_name: iam-token
|
|
|
|
<% else -%>
|
|
|
|
join_params:
|
|
|
|
method: token
|
|
|
|
token_name: <%= @join_token %>
|
|
|
|
<% end %>
|
2021-06-02 03:43:49 +02:00
|
|
|
ssh_service:
|
|
|
|
enabled: "yes"
|
|
|
|
commands:
|
|
|
|
- name: hostname
|
2022-01-12 02:16:55 +01:00
|
|
|
command: ["/bin/hostname"]
|
|
|
|
period: 1h0m0s
|
|
|
|
- name: uname
|
|
|
|
command: ["/usr/bin/uptrack-uname", "-r"]
|
|
|
|
period: 1h0m0s
|
|
|
|
- name: distro
|
2022-02-12 22:55:07 +01:00
|
|
|
command:
|
|
|
|
["/bin/sh", "-c", '. /etc/os-release && printf "%s\n" "$PRETTY_NAME"']
|
2022-01-12 02:16:55 +01:00
|
|
|
period: 1h0m0s
|
|
|
|
- name: classes
|
|
|
|
command:
|
|
|
|
- /usr/bin/crudini
|
|
|
|
- --get
|
|
|
|
- /etc/zulip/zulip.conf
|
|
|
|
- machine
|
|
|
|
- puppet_classes
|
2021-06-02 03:43:49 +02:00
|
|
|
period: 1h0m0s
|
|
|
|
|
|
|
|
proxy_service:
|
|
|
|
enabled: no
|
|
|
|
auth_service:
|
|
|
|
enabled: no
|