我想minion.d/*.conf
用来配置一个流浪机器。这是我的流浪者配置:
Vagrant.configure("2") do |config|
## Choose your base box
config.vm.box = "precise64"
## For masterless, mount your salt file root
config.vm.synced_folder "salt/roots/", "/srv/salt/"
## Use all the defaults:
config.vm.provision :salt do |salt|
salt.minion_config = "salt/minion"
salt.run_highstate = true
salt.grains_config = "salt/minion.d/vagrant.conf"
end
end
配置 Vagrant 机器后,我在渲染 SLS 文件时出错,因为这些minion.d/*.conf
文件没有被复制到来宾机器下:
/etc/salt/minion.d/
我应该在 Vagrant 配置中对 co 进行同步配置吗?