nginx – “include_recipe”与Vagrantfile“chef.add_recipe”.有什么不同?

nginx – “include_recipe”与Vagrantfile“chef.add_recipe”.有什么不同?

刚刚在我的流浪盒上运行了nginx :: source recipe,我的行为很不寻常.当我从Vagrantfile中包含一个食谱(如下所示)时,一切都像魅力, chef.add_recipe(project::nginx) chef.add_recipe(nginx::source) (project :: nginx配方非常简单.用它来覆