流浪汉没有在正确的地方寻找木偶清单

时间:2013-04-17 11:05:46

标签: settings puppet vagrant

我正在尝试使用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未受到尊重。我做错了什么?

1 个答案:

答案 0 :(得分:1)