Add additional hash parameters for defined types
This is a rebase of https://github.com/voxpupuli/puppet-systemd/pull/212