Setup database in puppet script