Add parameters to foreman::config::puppetdb

This replaces https://github.com/theforeman/puppet-foreman/pull/184 since I no longer have access to that repository.
I thought $title only works in the define arguments, not in the body.