Thanks Chris. It's been about 9 months since I worked with Vagrant and I 
forgot that it mounts the host working directory by default. I had tried 
that yesterday after I made this post but I mistakenly set 
the client_cert_path to be found at "/vagrant/ssl-config" which is why it 
didn't work. Removed the leading slash and it worked like a charm.

Cheers,
Pablo

On Wednesday, June 3, 2015 at 1:08:02 AM UTC-7, Chris Bednarski wrote:
>
> Hi Pablo,
>
> puppet will run inside the guest OS so all of the files and URL it needs 
> should be accessible *inside* your guest OS.
>
> Do I need to mount the location within Vagrant in order to access the 
>> folder where the client cert and private key are stored?
>
>
> By default, Vagrant mounts the host working directory (where your 
> Vagrantfile is located) into the VM as /vagrant.
>
> If you have resources on your host OS that you want to use in the guest 
> you'll either need to copy them into the VM or place them in the same 
> folder as your Vagrantfile and make sure your mount is setup correctly.
>
> More info here http://docs.vagrantup.com/v2/synced-folders/index.html
>
> -Chris
>
> On Tue, Jun 2, 2015 at 10:48 AM, Pablo Gosse <[email protected] 
> <javascript:>> wrote:
>
>> I'm trying to bring up a Vagrant box on a Windows host, and provision it 
>> using the puppet agent provisioner. Here's the pertinent section of my 
>> Vagrantfile:
>>
>>   config.vm.provision "puppet_server" do |puppet|
>>     puppet.puppet_server = "pg-uni-puppet-01"
>>     puppet.client_cert_path = 
>> "F:\vagrant-machines\Vagrant-Puppet-Agent\ssl-config\ca.pem"
>>     puppet.client_private_key_path = 
>> "F:\vagrant-machines\Vagrant-Puppet-Agent\ssl-config\drupal-dev-gossep-local.pem"
>>     puppet.puppet_node = config.vm.hostname
>>   end
>>
>> I'm getting the following error:
>>
>> puppet server provisioner:
>> * The specified client cert path could not be found
>> * The specified client private key path could not be found
>>
>> Do I need to mount the location within Vagrant in order to access the 
>> folder where the client cert and private key are stored?
>>
>> Pablo
>>
>>
>>  -- 
>> 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