updated libpuppet to make use of rest_client gem