changing resource retrieving in ChefNodeNameRetriever