Hello,

Env - Ubuntu 12.04.4 LTS, Vagrant 1.6.2

I'm playing with Vagrant, trying to provision a new VM using Puppet Apply 
provisioning. Despite declaring the Puppet manifests directory in my 
Vagrantfile, I keep getting an error that Vagrant cannot find it when I 
issue a '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: 
/home/adyas/multivagrant/manifests

My Vagrant environment :

/home/adyas/multivagrant/Vagrantfile
/home/adyas/multivagrant/puppet/manifests/default.pp
/home/adyas/multivagrant/puppet/modules/apache2/init.pp
/home/adyas/multivagrant/puppet/modules/system-update/init.pp

My Vagrantfile:

# Vagrantfile API/syntax version. Don't touch unless you know what you're 
doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.define "web" do |web|
    web.vm.box = "hashicorp/precise32"
    web.vm.provision "puppet"
    web.vm.provision :puppet do |puppet|
      puppet.manifests_path = "puppet/manifests"
      puppet.module_path = "puppet/modules"
      puppet.options = ['--verbose']
      puppet.manifest_file = "default.pp"
    end
  end
end

I've tried using absolute paths, but get the same error.

What am I doing wrong?

Thanks,

Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to