Is there a way to check which data file(s) hiera is attempting to parse? I tried "puppet -d" with no luck. I''m wanting to select the variable "dnsservers" based on a custom fact. --- Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item dnsservers in any Hiera data file and no default supplied at /etc/puppet/modules/dns/manifests/init.pp:3 on node testserver.lab.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run --- Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/AYkTxPb25J0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- Original Message -----> From: "ZJE" <countach44@gmail.com> > To: puppet-users@googlegroups.com > Sent: Thursday, August 23, 2012 6:04:22 PM > Subject: [Puppet Users] debugging hiera > > Is there a way to check which data file(s) hiera is attempting to > parse? I tried "puppet -d" with no luck. I''m wanting to select the > variable "dnsservers" based on a custom fact.run the master in debug mode, check its log files -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thursday, August 23, 2012 12:07:18 PM UTC-5, R.I. Pienaar wrote:> > > > ----- Original Message ----- > > From: "ZJE" <count...@gmail.com <javascript:>> > > To: puppet...@googlegroups.com <javascript:> > > Sent: Thursday, August 23, 2012 6:04:22 PM > > Subject: [Puppet Users] debugging hiera > > > > Is there a way to check which data file(s) hiera is attempting to > > parse? I tried "puppet -d" with no luck. I''m wanting to select the > > variable "dnsservers" based on a custom fact. > > run the master in debug mode, check its log files >Thanks, that helps a lot! I used --no-daemonize to print debugging output to stdout as I couldn''t find which log file it was going to. Normally, the puppet master logs to syslog, but I also checked everything in $vardir with no luck... Thanks again for the great software! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/OkLLSa0nKzgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.