Add KDC to sea.fudo.org (for testing...for now)

This commit is contained in:
niten 2023-01-18 12:54:21 -08:00
parent 0377113b44
commit fdbbc4c22d
2 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,9 @@
ldap-servers = [ "nutboy3" "legatus" ]; ldap-servers = [ "nutboy3" "legatus" ];
kerberos-master = "limina";
kerberos-slaves = [ "nostromo" ];
prometheus-hosts = [ "limina" ]; prometheus-hosts = [ "limina" ];
grafana-hosts = [ "nostromo" ]; grafana-hosts = [ "nostromo" ];
log-aggregator = "nostromo"; log-aggregator = "nostromo";

View File

@ -8,5 +8,8 @@ let
let domain-name = entities.hosts."${hostname}".domain; let domain-name = entities.hosts."${hostname}".domain;
in entities.domains."${domain-name}"; in entities.domains."${domain-name}";
getHostRealm = hostname: (getHostDomain hostname).gssapi-realm; getHostRealm = hostname: (getHostDomain hostname).gssapi-realm;
getHostFqdn = hostname:
let hostDomain = entities.hosts."${hostname}".domain;
in "${hostname}.${hostDomain}";
in { inherit getHostSite getHostDomain getHostRealm; } in { inherit getHostSite getHostDomain getHostRealm getHostFqdn; }