Puppet Bolt: taking action based on exit codes