[sysadmin-bin] Make sure each of the signed_zones is grabbed by dnssec-signzone



commit 4ee19fc77c081902e597cd6aa2874b0e31c2ff71
Author: Andrea Veri <av gnome org>
Date:   Wed Nov 20 01:37:21 2013 +0100

    Make sure each of the signed_zones is grabbed by dnssec-signzone

 automatic-dnssec-signzone |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/automatic-dnssec-signzone b/automatic-dnssec-signzone
index 78e85f2..69b394f 100755
--- a/automatic-dnssec-signzone
+++ b/automatic-dnssec-signzone
@@ -4,7 +4,7 @@ signed_zones='gnome.org guadec.org gnomehispano.org gnomehispano.es guadec.es'
 
 cd /tmp
 git clone /home/admin/dns.git
-cd dns/master ; /usr/sbin/dnssec-signzone -K /srv/dnssec-keys/ -N INCREMENT $signed_zones
+cd dns/master ; for zone in $signed_zones ; do /usr/sbin/dnssec-signzone -K /srv/dnssec-keys/ -N INCREMENT 
$zone ; done
 mv *.signed ../built/ ; mv dsset* ../built/
 git add . ; git commit -a -m 'Automatic weekly signing run'
 git push ; cd /tmp ; rm -rf dns


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]