Unhelpful error message when applying a tehcnique with invalid agent type to a node
Target version (plugin):
I got the following error when adding a dsc agent:
[2017-06-21 15:42:30] ERROR com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent - Error when updating policy, reason Cannot write configuration node <- Node with id 'eb0472bb-446e-4c69-a4ec-6ded12ff9cc2' is configured with agent type='dsc' but technique 'genericVariableDefinition/2.0' is not compatible with that agent type.
this is super unhelpful, as a a 50 genericVariableDefinition techniques
We'd need the directinve name (or id) at least
Fixes #10969: Unhelpful error message when applying a tehcnique with invalid agent type to a node