refactor to consume cookbooks from git url