[Dbconfig-common-devel] dbconfig and default values

Radu Spineanu radu at debian.org
Mon Apr 10 20:43:29 UTC 2006


sean finney wrote:
> hi radu,
> 
> On Mon, Apr 10, 2006 at 10:11:51PM +0300, Radu Spineanu wrote:
>> In the postinst i now have:
>> dbc_first_version="0.6.1-1"
>> dbc_generate_include="perl:/etc/simba/simba-db.cfg"
>> dbc_generate_include_owner="root:www-data"
>> dbc_generate_include_perms="0640"
>> dbc_generate_include_args="-f template -o
>> template_infile=/usr/share/doc/simba/simba-cfg.template"
>> dbc_go simba $@
>>
>> The result however, is that no substitution takes place, the resulting
>> file is the same as the template.
> 
> s/_DBC_DBUSER/_DBC_DBUSER_/ etc, and let me know if you still have problems :)
> 
That worked. Any solution for the default host/port values ?

-------
# local database configuration file:

  db => {
     dsn  => 'dbi:mysql:database=simba;host=;port=',
     user => 'simba',
     pass => 'AItrHw0PPex7',
   },
-------

Radu



More information about the Dbconfig-common-devel mailing list