summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-25 22:10:08 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-25 22:10:08 +0100
commitffa73194da6eb6e9e32348fa1770724faaec213e (patch)
treee30d10edc3bedf08541e84903573c88cbc4c9067
parent9679776801b0e9cf751acef70f84c55955d314a2 (diff)
downloadgitano-ffa73194da6eb6e9e32348fa1770724faaec213e.tar.gz
Add the input data for gitano-setup
-rw-r--r--doc/gitano-setup.197
1 files changed, 96 insertions, 1 deletions
diff --git a/doc/gitano-setup.1 b/doc/gitano-setup.1
index 7577be3..0ef2b01 100644
--- a/doc/gitano-setup.1
+++ b/doc/gitano-setup.1
@@ -28,7 +28,102 @@ repository is created within it.
Said repository is populated with the example administration repository
rules and an admin user and group.
.SS "Answer files"
-FIXME add the answer file format here.
+Answer files contain key value pairs which are used to answer the questions
+which
+.B gitano-setup
+would otherwise prompt for. If the setting
+.I setup.batch
+is set, then
+.B gitano-setup
+will operate in batch mode, rather than interactively. The format is as
+follows:
+.PP
+.nf
+.RS
+key.name "value"
+.RE
+.fi
+.PP
+Valid keys and the
+meaning of their values are:
+.TP
+.BR setup.batch
+Operate in batch mode if set at all.
+.TP
+.BR paths.home
+Home directory for the Gitano management user. This defaults to the
+.B HOME
+environment variable.
+.TP
+.BR paths.ssh
+The
+.I .ssh
+directory for the Gitano management user. This defaults to the value of
+.B paths.home
+with
+.I /.ssh
+appended.
+.TP
+.BR paths.pubkey
+The path to a public SSH key to be used for the newly created user with
+.I gitano-admin
+rights in the new Gitano instance. This defaults to the value of the
+.I paths.ssh
+variable plus
+.I id_rsa.pub
+etc if present. Normally you would set this to the path to your public key
+so that you will have administration rights upon creation of the instance.
+.TP
+.BR paths.repos
+The path to the repository store for the new Gitano instance. This defaults
+to the value of
+.I paths.home
+with
+.I /repos
+appended to it.
+.TP
+.BR admin.username
+The username for the administrator of the new Gitano instance. This defaults
+to
+.I admin
+and is only relevant for rulesets inside Gitano.
+.TP
+.BR admin.realname
+The real name for the administrator of the new Gitano instance. This defaults
+to
+.I Administrator
+and is only relevant inside the Gitano instance as it will be used to indicate
+the name of the committer of administration changes.
+.TP
+.BR admin.email
+The email address of the administrator of the new Gitano instance. This
+defaults to
+.I admin@administrator.local
+and is only relevant inside the Gitano instance as it will be used to indicate
+the email address of the comitter of administration changes.
+.TP
+.BR site.name
+The site name used in greetings and messages from Gitano. This defaults to
+.I a random Gitano instance
+and should always start with a lowercase letter since it will be used in
+sentences such as
+.B Welcome to
+.I a random Gitano instance
+or those with similar forms.
+.TP
+.BR log.prefix
+The log prefix for the Gitano instance. This defaults to
+.I gitano
+and is used in messages from Gitano. Lines generated by Gitano will be
+prefixed with the log prefix in square brackets. For example:
+.PP
+.nf
+.RS
+[example] CRIT: Repository creation is not permitted.
+[example] FATAL: Ruleset denied action. Sorry.
+.RE
+.fi
+.PP
.SH OPTIONS
.TP
.BR \-h ", " \-\-help ", " \-\-usage