an already installed plugin but not yet activated is never activated

Missing else for this if statement :

https://gitlab.adullact.net/adullact/puppet-wordpress/blob/master/manifests/resource.pp#L74

An already installed resource, with ensure set to latest and without update available will not be activated.

Edited by Fabien Combernous