Hey Brendan,

I did notice you aren't setting environmentpath in the config section in
your gist. Maybe try setting environmentpath in vagrant? See below for what
I would try.

@@ -31,6 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       puppet.options = "--config /vagrant/puppet.conf
--fileserverconfig=/vagrant/fileserver.conf"
       puppet.module_path =
['/Users/bmurtagh/Dropbox/renan/puppet/environments/vagrant',
'/Users/bmurtagh/Dropbox/renan/puppet/modules']
       puppet.hiera_config_path = 'hiera.yaml'
+      puppet.environmentpath =
'/Users/bmurtagh/Dropbox/renan/puppet/environments/'
       puppet.facter = {
         "fqdn" => 'centos65.renan.com'
       }

Otherwise, I believe puppet is going to look in the default location for
the directory environments, and it's not clear to me that you're populating
/etc/puppet/environments/vagrant nor syncing it from your filesystem
anywhere.

This doesn't give you a friendly guide, but I did update my vagrant
environment to Puppet 3.7 + Directory Environments a week or so ago.
Although I think I elected to not use directory environments since I didn't
need them, I started off going that route and it did work.

Might be of use if you don't mind digging through the code a bit and you're
still stuck.

https://github.com/ucbunix/vagrant-puppet

Something to note is I have a bootstrap process to bring up a real puppet
master that subsequent vagrant boxes will connect to.

Best,​

Aaron


On Sun, Sep 28, 2014 at 5:43 PM, Brendan Murtagh <
[email protected]> wrote:

> Hello,
>
> I am having trouble trying to configure my Vagrant & Puppet 3.7 to use
> Directory Environments for development. I haven't found a guide to help
> update Vagrant to utilize Directory Environments. I'm unsure what I'm
> missing. Any help is appreciated. My current Vagrantfile, my provision
> output, and puppet.conf are Gist'd below.
>
> https://gist.github.com/bmurtagh/418080e5779357eb8515
>
> Thanks,
>
> Brendan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/1ff7733a-d5ea-496f-a2ae-4e3c81ad6b73%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/1ff7733a-d5ea-496f-a2ae-4e3c81ad6b73%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAJ4yqfRu4Uf%3DoQ0uiNB1OZgS2_uG70UkjjbPmrj4KHbgoKHkOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to