流浪汉1.7.2 +木偶4.2供应不起作用

时间:2015-08-05 13:46:24

标签: vagrant puppet provisioning

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

有什么想法吗?

1 个答案:

答案 0 :(得分:3)

我相信傀儡4的支持来自1.7.3 - 你应该将流浪汉升级到这个版本甚至1.7.4

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

相关问题