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