Adding code for generated pillar configuration