When I want to use multiple service providers on 1 machine (typically sys-v-init & upstart or systemd), I cannot use Service resource to do that.
For example, I want to replace sys-v-init script by upstart. With code like this:
I get this error:
For Package resource it is already solved in 4.0.0+ (
PUP-1073). Services are another case, when it makes sense as well.
Currently the only way is to use Exec to work around that, but it is not nice to write the command myself, when they are already implemented inside Service type.