updated with correct DB settings for foreman