我在主廚屬性文件中看到了這段代碼。ruby chef指令:include_attribute vs. include_attributes
include_recipe "deployment"
include_attribute "postgresql"
include_attribute "redis"
include_attributes "uaa"
include_attributes "service_lifecycle"
有什麼不同? include_attribute與include_attribute * 小號 *
我無法找到任何文件有關include_attribute * 小號 *
謝謝你的回答,但是,這個怎麼樣? https://github.com/cloudfoundry/vcap/blob/master/dev_setup/cookbooks/cloud_controller/attributes/default.rb – plhn
在此處無法看到:https://github.com/opscode/chef/blob/master/lib /chef/dsl/include_attribute.rb –
這是古老的,但它在這裏:https://github.com/chef/chef/blob/master/lib/chef/dsl/include_attribute.rb – ZombieDev