0

我正在尝试使用 puppet 来提供 vagrant

我的 Vagrantfile 是这样的

Vagrant::Config.run  do |config|
    config.vm.box = "precise32"
    config.vm.provision :puppet  do |puppet|
       puppet.modules_path = "/path/to/puppet/modules"
       puppet.manifest_path = "/path/to/puppet/manifests"
       puppet.manifest_file = "site.pp"
       puppet.puppet_node = "lucy-dev-1"
       ## custom facts provided to Puppet
       puppet.facter = {
          ## tells default.pp that we're running in Vagrant
          "is_vagrant" => true,
       }
       puppet.options = "--verbose --debug"
    end
 end

当我运行时vagrant up发生以下错误:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

puppet provisioner:
   * The manifests path specified for Puppet does not exist: /Users/fguimara/vagrant/manifests

您会注意到 manifest_path 没有得到尊重。我究竟做错了什么?

4

1 回答 1

1

从这里http://docs.vagrantup.com/v2/provisioning/puppet_apply.html它是manifests_path.

于 2013-04-17T12:41:15.890 回答