Hello Alvaro,

Super, this seems to fix my problem.

Summary, I am using this config instead:

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

Thanks!

Alex

On Monday, August 4, 2014 1:24:11 AM UTC+2, Alvaro Miranda Aguilera wrote:
>
>
> around this part:
>
>     web.vm.provision "puppet"
>     web.vm.provision :puppet do |puppet|
>       
>
>
> *puppet.manifests_path = "puppet/manifests"*
>
>
> *documenation state:*
>
>   config.vm.provision "puppet" do |puppet|
>     puppet.manifests_path = "my_manifests"
>
> not sure if this the cause, but can you replace those lines with:
>
>     web.vm.provision "puppet" do |puppet|
>       *puppet.manifests_path = "puppet/manifests"*
>
>
>
>
>
>
>
> On Wed, Jul 30, 2014 at 7:20 PM, <[email protected] <javascript:>> wrote:
>
>> Hello,
>>
>> Env - Vagrant 1.6.2, Ubuntu 12.04.4 LTS
>>
>> I'm having problems with the Puppet Apply provisioner. I get the 
>> following error when issuing 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/vagrantpuppettest/manifests
>>
>> The puppet.manifests_path setting seems to be being ignored.
>>
>> I have the following file/directory structure :
>>
>> /home/adyas/vagrantpuppettest/Vagrantfile
>> /home/adyas/vagrantpuppettest/puppet/manifests/default.pp
>> /home/adyas/vagrantpuppettest/puppet/modules/apache2/init.pp
>> /home/adyas/vagrantpuppettest/puppet/modules/system-update/init.pp
>>
>> My Vagrantfile:
>>
>> # -*- mode: ruby -*-
>> # vi: set ft=ruby :
>>
>> # 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.manifest_file = "default.pp"
>>       puppet.module_path = "puppet/modules"
>>       puppet.options = ['--verbose']
>>     end
>>   end
>> end
>>
>> I've also tried with an absolute path for the puppet.manifests_path 
>> setting, but I still 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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