Replace the icinga2 module with the rewrite, once it has the required features.
See https://github.com/Icinga/puppet-icinga2-rewrite