fixed redirect_to_ssl for puppet3