on a freshly reinstalled icinga1001:
Notice: /Stage[main]/Httpd/Httpd::Mod_conf[php7.0]/Exec[ensure_present_mod_php7.0]/returns: **ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first**!
Error: /usr/sbin/a2enmod php7.0 returned 1 instead of one of [0]
--
```
a2enmod php7.0
Considering dependency mpm_prefork for php7.0:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
```
This was easily fixed by:
```
a2dismod mpm_event
Module mpm_event disabled.
a2enmod php7.0
..
Enabling module php7.0.
```
But it should not happen because Puppet already has code for this:
```
# Disable the other mpms, enable the selected one.
$rejected_mpms = prefix(reject($available_mpms, $mpm), 'mpm_')
httpd::mod_conf { $rejected_mpms:
ensure => absent,
}
```
in /modules/httpd/manifests/mpm.pp
So something there doesn't work as it should.