Red Hat Bugzilla – Bug 281631
Pass in schema and config LDIF files to setup
Last modified: 2015-12-07 11:35:06 EST
We should allow the user to pass in additional schema files and additional
config entries during setup to allow e.g. custom schema with the
InstallLdifFile, or the creation of additional suffixes/databases, or
replication configuration, or whatever.
Created attachment 189321 [details]
Looks good to me.
Created attachment 190001 [details]
cvs commit log
Reviewed by: nhosoi (Thanks!)
Files: see diff
Fix Description: 1) Allow multi-valued parameters in .inf files and command
line. These values will be represented internally as an array ref. No
existing parameters allow being multi-valued (e.g. you can't use Suffix=o=foo
2) Add two new .inf parameters - SchemaFile and ConfigFile. The files listed
in SchemaFile will be copied into the schema subdirectory of the new instance,
so they must already be named appropriately (e.g. 60foo.ldif). The files
listed in ConfigFile must be LDIF files with one or more whole entries to be
added to the initial dse.ldif. These could be additional suffixes/databases to
create, plugin configuration, replication configuration, or anything else.
Right now, if you have an LDIF file that relies on custom schema, you cannot
use the InstallLdifFile directive during setup. SchemaFile allows you to do
Platforms tested: RHEL5
Flag Day: no
Doc impact: Will need to document the two additional parameters.