chef_db: export sql/cdb org metadata functions