Fix to make providers run in puppet 3.x as HOME is stripped, and erl needs HOME set