vagrant 1.7.2 + puppet 4.2 配置不工作

vagrant 1.7.2 + puppet 4.2 provisioning not working

正在尝试使用 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

有什么想法吗?

我相信 puppet 4 支持来自 1.7.3 - 你应该将 vagrant 升级到这个版本甚至 1.7.4

问题是 https://github.com/mitchellh/vagrant/pull/5601vagrant changelog