- soriano.debian.org
security_upload:
- suchon.debian.org
- ssh.upload.d.o:
- - coccia.debian.org
- - suchon.debian.org
- - usper.debian.org
sso:
- diabelli.debian.org
# single sign on relying party (host) - also required apache2 module enabled on that host via other means
classes:
- roles::api_ftp_master
- roles::ftp_upload
+ - roles::ssh_upload
- roles::static_source
--- /dev/null
+---
+classes:
+ - roles::ssh_upload
---
classes:
- roles::ftp_upload
+ - roles::ssh_upload
include roles::dakmaster
include roles::signing
}
- if has_role('ssh.upload.d.o') {
- include roles::ssh_upload
- }
if has_role('security_upload') {
include roles::security_upload
}
<%- if has_variable?("has_etc_ssh_ssh_host_ed25519_key") && @has_etc_ssh_ssh_host_ed25519_key -%>
HostKey /etc/ssh/ssh_host_ed25519_key
<% end %>
-<% if scope.function_has_role(['ssh.upload.d.o']) -%>
+<% if classes.include?("roles::ssh_upload") -%>
# On ssh upload hosts we have many clients doing ssh connections to us.
# sshd has - by default - a limit of 10 on the number of currently
# unauthenticated (or not yet authenticated) connections. Raise that limit.