projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give the function a better name
[mirror/userdir-ldap.git]
/
ud-generate
diff --git
a/ud-generate
b/ud-generate
index
158c3f6
..
887176c
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-853,8
+853,8
@@
def ExtractDNSInfo(x):
return DNSInfo
return DNSInfo
-# Generate the DNS
SSHFP
records
-def Gen
SSHFP
(File):
+# Generate the DNS records
+def Gen
ZoneRecords
(File):
F = None
try:
F = open(File + ".tmp", "w")
F = None
try:
F = open(File + ".tmp", "w")
@@
-1184,7
+1184,7
@@
for host in HostAttrs:
if 'DNS' in ExtraList:
GenDNS(OutDir + "dns-zone")
if 'DNS' in ExtraList:
GenDNS(OutDir + "dns-zone")
- Gen
SSHFP
(OutDir + "dns-sshfp")
+ Gen
ZoneRecords
(OutDir + "dns-sshfp")
if 'AUTHKEYS' in ExtraList:
DoLink(GlobalDir, OutDir, "authorized_keys")
if 'AUTHKEYS' in ExtraList:
DoLink(GlobalDir, OutDir, "authorized_keys")