You might like to read this: http://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html Also this: http://docs.puppetlabs.com/puppet/latest/reference/environments.html
If you provide relevant puppet master puppet.conf and directory structure we may be able to help further. THT Den > On 29 Jul 2014, at 5:23, Christopher Wood <christopher_w...@pobox.com> wrote: > >> On Mon, Jul 28, 2014 at 11:54:34AM -0700, Wijnand Wiersma wrote: >> Hi all, >> I am a bit in distress right now. I have to replicate a dead puppet server >> on a new server. I have all hiera files and manifests etc in git but I am >> not able to get a new puppet server to compile catalogs. >> The old server was 3.4 and the new server is 3.6.2 with directory >> environments enabled. >> To understand the whole process I even created a empty environment exactly >> like >> https://github.com/adrienthebo/r10k/blob/master/doc/dynamic-environments/quickstart.mkd >> I really copied and pasted everything in that quickstart. The tutorial >> misses a default node definition but that's ok, I understand that part. >> However, it fails to even load the one class I try to load: >> Error: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Could not find class profile::base for geppetto.mycorp.nl on node >> geppetto.mycorp.nl > > I haven't read that tutorial and haven't yet used directory environments. To > find out what paths your puppetmaster is using to find files, run your > puppetmaster in the foreground in debug mode (add the path to your > puppetmaster config): > > su - puppet > puppet master --config /etc/puppet/puppet.conf --debug --no-daemonize 2>&1 | > tee /var/tmp/pm1.log > > That may give you some hints? > > http://docs.puppetlabs.com/guides/troubleshooting.html > >> What is this really minimal config missing for this to work? I fail to see >> where to put all my old manifests now and I have been trying for 2 days >> now. >> What piece of documentation did I miss? I am sorry if this is a frequently >> asked question, it currently is a bit hard to find anything regarding >> directory environments. >> -- Wijnand >> >> -- >> 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 [1]puppet-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> >> [2]https://groups.google.com/d/msgid/puppet-users/7a2d7480-65b0-4400-98ca-d20c4cb4a62a%40googlegroups.com. >> For more options, visit [3]https://groups.google.com/d/optout. >> >> References >> >> Visible links >> 1. mailto:puppet-users+unsubscr...@googlegroups.com >> 2. >> https://groups.google.com/d/msgid/puppet-users/7a2d7480-65b0-4400-98ca-d20c4cb4a62a%40googlegroups.com?utm_medium=email&utm_source=footer >> 3. 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 puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/20140728192330.GB30396%40iniquitous.heresiarch.ca. > 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/FA3C0B27-3496-4576-B4A3-AF0BA663F362%40gmail.com. For more options, visit https://groups.google.com/d/optout.