1
我有多个规定块颠沛流离的文件是这样的:如何覆盖供应商的默认值?
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "first.pp"
end
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "second.pp"
end
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "third.pp"
end
怎样消除冗余puppet.manifest_path
和puppet.module_path
?
像魅力,thx工作。 – Yevgeniy 2014-11-21 10:47:55