implementing get_puppet_errors() and get_puppet_notices()