This API will communicate with puppet master