On Mon, Jul 6, 2015 at 3:02 PM, Rob Reynolds <[email protected]> wrote:
> > > On Fri, Jun 19, 2015 at 3:43 AM, Helen Paterson <[email protected]> > wrote: > >> Hi, >> >> I'm trying to set-up puppet environment so that our ymal files can >> usernames and passwords for Production and test ( dq), modules will be the >> same. I have run through the documentation but am getting the following >> error: >> >> client error >> >> Error: Could not retrieve catalog from remote server: Error 400 on >> SERVER: Could >> not find data item classes in any Hiera data file and no default supplied >> at /e >> tc/puppet/environments/dq/manifests/windows-servers.pp:54 on node >> hp-test2008r2. >> >> >> debug from master >> Cannot find datafile /var/lib/hiera/ >> >> >> I don't understand why puppet is looking in /var/lib/hiera/. before >> setting up environments hiera was working and looking at >> /etc/puppethiera.yaml but default >> > What version of Puppet? > >> >> hiera.yaml >> :datadir: '/etc/puppet/environments/%{::environment}/hieradata' >> > > If this is what you have/had in your yaml file, you've probably realized > this is not a valid Windows path, which is necessary for the yaml files on > the Windows clients. > This may not be correct - Hiera evaluates wherever the catalog is compiled I believe. > > >> >> >> >> >> >> -- >> 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/220c601e-b537-4d9b-b0d9-3c94bb6d68e7%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/220c601e-b537-4d9b-b0d9-3c94bb6d68e7%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Rob Reynolds > Developer, Puppet Labs > > *PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland, > Oregon! Join us October 5-9.* > *Register now to take advantage of the Early Adopter discount > <https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter> > * > *—**save $349!* > -- Rob Reynolds Developer, Puppet Labs *PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland, Oregon! Join us October 5-9.* *Register now to take advantage of the Early Adopter discount <https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter> * *—**save $349!* -- 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/CAMJiBK5BxfTKrxOzCx4X7juvQd7tFFWuQN3tH%2BtD8VqD4%3DP6aQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
