Add KDC to sea.fudo.org (for testing...for now)
This commit is contained in:
parent
0377113b44
commit
fdbbc4c22d
|
@ -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";
|
||||||
|
|
5
lib.nix
5
lib.nix
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue