dsa-check-config: Update for new TLS_CACERT config
authorPeter Palfrader <peter@palfrader.org>
Fri, 28 Feb 2014 18:39:39 +0000 (19:39 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 28 Feb 2014 18:39:39 +0000 (19:39 +0100)
dsa-nagios-checks/checks/dsa-check-config
dsa-nagios-checks/debian/changelog

index 2341d07..4a59c65 100755 (executable)
@@ -48,7 +48,7 @@ check_ldap_conf() {
 
        if egrep '^URI.*ldap://db.debian.org' /etc/ldap/ldap.conf > /dev/null &&
           egrep '^BASE.*dc=debian,dc=org' /etc/ldap/ldap.conf > /dev/null &&
-          egrep '^TLS_CACERT.*/etc/ssl/certs/spi-cacert-2008.pem' /etc/ldap/ldap.conf > /dev/null &&
+          egrep '^TLS_CACERT.*/etc/ssl/servicecerts/db.debian.org.crt' /etc/ldap/ldap.conf > /dev/null &&
           egrep '^TLS_REQCERT.*hard' /etc/ldap/ldap.conf > /dev/null ; then
                log ok "ldap.conf configured properly"
                return
index 377b275..51358b6 100644 (file)
@@ -1,10 +1,11 @@
-dsa-nagios-checks (97) UNRELEASED; urgency=low
+dsa-nagios-checks (97) unstable; urgency=low
 
   [ Stephen Gran ]
   * Update dsa-check-mq-connection to actually work
 
   [ Peter Palfrader ]
   * dsa-check-backuppg: allow BASE backup filenames without the WAL ID.
+  * dsa-check-config: Update for new TLS_CACERT config.
 
  -- Peter Palfrader <weasel@debian.org>  Mon, 27 Jan 2014 22:29:15 +0100