Configured rails to use postgresql database in puppet node