ud-replicate: do not hard-code 'debian.org' in the 'write-zonefile debian.org' call...
authorPeter Palfrader <peter@palfrader.org>
Wed, 2 Nov 2011 22:42:06 +0000 (23:42 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 2 Nov 2011 22:43:16 +0000 (23:43 +0100)
debian/changelog
ud-replicate

index a433320..149649c 100644 (file)
@@ -7,12 +7,14 @@ userdir-ldap (0.3.XXX) UNRELEASED; urgency=low
   * naming your variable like a module is unsmart.
   * ud-generate: filter on shadowAccount.
   * ud-mailgate: only run ldapmodfiy if we actually have attributes to modify.
+  * ud-replicate: do not hard-code 'debian.org' in the 'write-zonefile
+    debian.org' call, but instead re-use the domain from email-append.
 
   [ Stephen Gran ]
   * Fix deprecation warnings for sha module by using hashlib module instead
   * ud-fingerserv: update Net::LDAP import
 
- -- Peter Palfrader <weasel@debian.org>  Mon, 15 Aug 2011 21:52:22 +0200
+ -- Peter Palfrader <weasel@debian.org>  Wed, 02 Nov 2011 23:41:26 +0100
 
 userdir-ldap (0.3.79) unstable; urgency=low
 
index 4f7609b..8324a86 100755 (executable)
@@ -165,7 +165,7 @@ fi
 rndc_reload=0
 if [ -e /var/lib/misc/thishost/dns-sshfp ]; then
   if ! cmp -s /var/lib/misc/thishost/dns-sshfp $tempfile; then
-    /git/HOOKS/write_zonefile debian.org
+    /git/HOOKS/write_zonefile "$EMAILAPPEND"
     rndc_reload=1
   fi
 fi