summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-04-20 12:37:23 +0000
committerivan <ivan>2002-04-20 12:37:23 +0000
commitffe9f4473c5c9c7cb7caeaa5b39160d7b3e8d137 (patch)
tree9caf4c64c6efa03f47ce247ae4fc40aa81daf4c1
parent4d5485150720c91d9945c3ae3cad9427ece23833 (diff)
bind export
-rw-r--r--ANNOUCE.1.4.06
-rw-r--r--FS/FS/part_export.pm32
-rw-r--r--httemplate/edit/part_export.cgi2
3 files changed, 34 insertions, 6 deletions
diff --git a/ANNOUCE.1.4.0 b/ANNOUCE.1.4.0
index 86f48b6df..63fd3fa95 100644
--- a/ANNOUCE.1.4.0
+++ b/ANNOUCE.1.4.0
@@ -120,3 +120,9 @@ icradius groups (usergroup table if not radgroupreply & radgroupcheck)
message catalogs (infrastructure, anyway) & anything which gets sent to a
customer from the signup server should use message catalog
+multi-agent signup server
+
+signup_server-realtime to run cards immediately
+
+and signup-alternate.html for free/paid packages on same signup
+
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 49e21307b..d1148fa0a 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -472,6 +472,7 @@ sub exporttype2svcdb {
'';
}
+#export names cannot have dashes...
%exports = (
'svc_acct' => {
'sysvshell' => {
@@ -494,9 +495,9 @@ sub exporttype2svcdb {
},
'shellcommands' => {
- 'desc' => 'Real-time export via arbitrary commands on a remote machine (i.e. useradd, userdel, etc.)',
+ 'desc' => 'Real-time export via remote SSH (i.e. useradd, userdel, etc.)',
'options' => {
- 'machine' => { label=>'Remote machine' },
+ #'machine' => { label=>'Remote machine' },
'user' => { label=>'Remote username', default=>'root' },
'useradd' => { label=>'Insert command',
default=>'useradd -d $dir -m -s $shell -u $uid $username'
@@ -581,10 +582,31 @@ sub exporttype2svcdb {
},
'svc_domain' => {
- 'bind' => 'Batch export to BIND named',
- 'options' => {
+
+ 'bind' => {
+ 'desc' =>'Batch export to BIND named',
+ 'options' => {
+ #'machine' => { label=>'named machine' },
+ 'named_conf' => { label => 'named.conf location',
+ default=> '/etc/bind/named.conf' },
+ 'zonepath' => { label => 'path to zone files',
+ default=> '/etc/bind/', },
+ },
+ 'notes' => 'bind export notes',
},
- 'notes' => 'bind export notes',
+
+ 'bind_slave' => {
+ 'desc' =>'Batch export to slave BIND named',
+ 'options' => {
+ #'machine' => { label=> 'Slave machine' },
+ 'master' => { label=> 'Master IP address' },
+ 'named_conf' => { label => 'named.conf location',
+ default=> '/etc/bind/named.conf' },
+ },
+ 'notes' => 'bind export notes (secondary munge)',
+ },
+
+
},
'svc_acct_sm' => {},
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi
index 4affeb48f..af89c4ead 100644
--- a/httemplate/edit/part_export.cgi
+++ b/httemplate/edit/part_export.cgi
@@ -52,7 +52,7 @@ my $widget = new HTML::Widgets::SelectLayers(
|| $part_export->option($option)
|| (exists $optinfo->{default} ? $optinfo->{default} : '');
$html .= qq!<TR><TD ALIGN="right">$label</TD>!.
- qq!<TD><INPUT TYPE="text" NAME="$option" VALUE="$value"></TD>!.
+ qq!<TD><INPUT TYPE="text" NAME="$option" VALUE="$value" SIZE=64></TD>!.
'</TR>';
}
$html .= '</TABLE>';