tsupport signed zones - gitzone - git-based zone management tool for static and dynamic domains HTML git clone https://git.parazyd.org/gitzone DIR Log DIR Files DIR Refs --- DIR commit 54ff1c9aafff44c0c5e024c54a541924131e448d DIR parent 4ab688d2a9447016f302c2c442815ec2e4e60b26 HTML Author: tg(x) <*@tg-x.net> Date: Sat, 1 Jun 2013 06:22:00 +0200 support signed zones Diffstat: M bin/gitzone | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/bin/gitzone b/bin/gitzone t@@ -188,8 +188,10 @@ sub process_file { } sub check_zones { + print ">> check_zones: ,",%files,"\n" if $verbosity >= 3; for my $file (keys %files) { my ($zone, $dir) = fileparse $file; + $zone =~ s/\.signed$//; $dir = substr $dir, 0, -1; # skip files with errors and those that are not in the config next unless $files{$file} > 0 && exists $repos->{$repo}->{$dir}->{$zone}; t@@ -236,6 +238,7 @@ sub install_zones { for my $file (@zones) { my ($zone, $dir) = fileparse $file; + $zone =~ s/\.signed$//; $dir = substr $dir, 0, -1; my $view = $repos->{$repo}->{$dir}->{$zone}; print "$_/$zone: ", `$rndc reload '$zone' $class $_` for @$view;