Bugfix: undefined method get_db_conf

A library called "within" (err..) the template resource is assumed to
be part of the Chef::Template module/object. So obviously this is not
the case and this commit hopefully fixes it.