add templates for the new options

This commit is contained in:
Antoine Beaupré 2008-07-10 22:02:38 +00:00
parent a550bf6067
commit 27215d1cbc
2 changed files with 20 additions and 0 deletions

2
debian/config vendored
View File

@ -173,6 +173,8 @@ db_input low alternc/mysql/db || true
db_input low alternc/mysql/user || true db_input low alternc/mysql/user || true
db_input low alternc/mysql/password || true db_input low alternc/mysql/password || true
db_input low alternc/mysql/client || true db_input low alternc/mysql/client || true
db_input low alternc/sql/backup_type || true
db_input low alternc/sql/overwrite || true
db_input low alternc/monitor_ip || true db_input low alternc/monitor_ip || true
db_input low alternc/bind_internal || true db_input low alternc/bind_internal || true
db_input low alternc/mynetwork || true db_input low alternc/mynetwork || true

18
debian/templates vendored
View File

@ -89,6 +89,24 @@ _Description: The server to GRANT permissions to:
to the hostname or IP the Apache server will appear as connecting from to to the hostname or IP the Apache server will appear as connecting from to
the MySQL server. the MySQL server.
Template: alternc/sql/backup_type
Type: select
Choices: rotate, date
_Description: The way backup rotation is executated
AlternC enables users to configure their own backups, on demand, with
automatic rotation. This option determines how the backups are rotated.
.
rotate - backup.sql, backup.sql.0, backup.sql.1
date - backup.sql, backup.sql.20080709, backup.sql.20080708
Template: alternc/sql/backup_overwrite
Type: select
Choices: no, rename, overwrite
_Description: Behavior of the backup script when it encounters a unmanaged file
The SQL backups can rename or overwrite existing files it doesn't know
about when doing backups. The default behavior is to skip those files
and ignore it.
Template: alternc/public_ip Template: alternc/public_ip
Type: string Type: string
_Description: The primary IP of this server: _Description: The primary IP of this server: