Update masterfiles/libraries/cfengine_stdlib.cf

classes body all_prefix will define a class based all possible outcomes based on your prefix with the state appended (_failed, _repaired, etc).