Add support for foreman-tasks

Merge after https://github.com/theforeman/puppet-foreman/pull/173