equal
deleted
inserted
replaced
76 hostmaster => $cf{hostmaster}, |
76 hostmaster => $cf{hostmaster}, |
77 primary => $cf{primary}, |
77 primary => $cf{primary}, |
78 secondary => $cf{secondary}, |
78 secondary => $cf{secondary}, |
79 ); |
79 ); |
80 |
80 |
|
81 $vars{hostmaster} =~ s/@/./g; |
|
82 |
81 my $tt = Template->new(INCLUDE_PATH => $cf{template_dir}) |
83 my $tt = Template->new(INCLUDE_PATH => $cf{template_dir}) |
82 or die "$Template::ERROR\n"; |
84 or die "$Template::ERROR\n"; |
83 |
85 |
84 $tt->process("named.zone", \%vars, $zonefile) || die $tt->error; |
86 $tt->process("named.zone", \%vars, $zonefile) || die $tt->error; |
85 $tt->process("named.config", \%vars, $configfile) || die $tt->error; |
87 $tt->process("named.config", \%vars, $configfile) || die $tt->error; |