added func of preparing chef bootstrap.