[Dbconfig-common-devel] Using templates

Tim Stoop tim.stoop at gmail.com
Fri Dec 10 13:49:03 UTC 2010


Hi there,

I'm currently trying to create a patch for the pdns-backend-mysql
package that makes it use dbconfig and the nicests thing would be if
it could create the config for pdns too. So I'm looking at the
template possibility for dbconfig-generate-includes. My current
template is:

launch=gmysql
gmysql-host=_DBC_DBHOST_
gmysql-user=_DBC_DBUSER_
gmysql-password=_DBC_DBPASS_
gmysql-dbname=_DBC_DBNAME_

I have some questions, though:

1) Where should I place the template?
2) Which variable do I need to set in postinst to tell dbc where to
find the template?

Thanks in advance!

-- 
Gegroet,
Tim



More information about the Dbconfig-common-devel mailing list