This commit was generated by cvs2svn to compensate for changes in r3921,
[freeside.git] / FS / FS / part_export / bind.pm
1 package FS::part_export::bind;
2
3 use vars qw(@ISA %info %options);
4 use Tie::IxHash;
5 use FS::part_export::null;
6
7 @ISA = qw(FS::part_export::null);
8
9 tie %options, 'Tie::IxHash',
10   'named_conf'   => { label  => 'named.conf location',
11                       default=> '/etc/bind/named.conf' },
12   'zonepath'     => { label => 'path to zone files',
13                       default=> '/etc/bind/', },
14   'bind_release' => { label => 'ISC BIND Release',
15                       type  => 'select',
16                       options => [qw(BIND8 BIND9)],
17                       default => 'BIND8' },
18   'bind9_minttl' => { label => 'The minttl required by bind9 and RFC1035.',
19                       default => '1D' },
20   'reload'       => { label => 'Optional reload command.  If not specified, defaults to "ndc" under BIND8 and "rndc" under BIND9.', },
21 ;                    
22
23 %info = (
24   'svc'     => 'svc_domain',
25   'desc'    => 'Batch export to BIND named',
26   'options' => \%options,
27   'notes'   => <<'END'
28 Batch export of BIND zone and configuration files to a primary nameserver.
29 <a href="http://search.cpan.org/search?dist=File-Rsync">File::Rsync</a>
30 must be installed.  Run bin/bind.export to export the files.
31 END
32 );
33
34 1;
35