If providing the name of a monitoring plugin that is not available on the current OS, it should be silently skipped.
So it should fail if the requested plugin is unknown BUT should skip if the requested plugin is simply unavailable for that specific OS/version.
Currently there is still a failure because comparisons are made in the wrong order.
Wrong order:
Remove specific exclusions from available packages
Add specific inclusions to available packages
Check if all requested plugins are handled by the role
Correct order:
Check if all requested plugins are handled by the role
Remove specific exclusions from available packages
If providing the name of a monitoring plugin that is not available on the current OS, it should be silently skipped.
So it should fail if the requested plugin is unknown BUT should skip if the requested plugin is simply unavailable for that specific OS/version.
Currently there is still a failure because comparisons are made in the wrong order.
Wrong order:
Correct order: