尝试使用vagrant和puppet 4.2来启动VM。 Vagrantfile中的puppent配置为:
config.vm.provision "puppet" do |puppet|
puppet.options = ['--verbose --debug']
puppet.environment_path = "../puppet/environments"
puppet.environment = "testenv"
end
按照Vagrant documentation(搜索环境部分)
运行vagrant up
后,收到以下错误消息:
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
puppet provisioner:
* The following settings shouldn't exist: environment, environment_path
有什么想法吗?
答案 0 :(得分:3)
我相信傀儡4的支持来自1.7.3 - 你应该将流浪汉升级到这个版本甚至1.7.4
问题是https://github.com/mitchellh/vagrant/pull/5601 和vagrant changelog