Andrea, Ok, now I see your question more clearly, about the missing information. I've seen this before as well, but don't remember why. I *believe* (but may be totally wrong) it's something about included or required classes, and that by time the dynamic lookup is evaluated, the source line where it occurred is no longer known.
Someone else will probably chime in and correct me if my memory was totally inaccurate. -Jason On 01/17/2014 07:19 AM, Andrea Cappelli wrote: > Il 17/01/2014 13:12, Jason Antman ha scritto: >> On 01/16/2014 11:56 AM, Andrea Cappelli wrote: >>> Hi, >>> I'm searching through the logs of my master for the warning in the >>> subject, to move to Puppet3 >>> >>> Sometimes in the warning the manifest name isn't showed up, thereis a >>> reason? >>> >>> Thu Jan 16 14:58:02 +0100 2014 Puppet (warning): Dynamic lookup of >>> $mailaddr is deprecated. For more information, see >>> http://docs.puppetlabs.com/guides/scope_and_puppet.html. To see the >>> change in behavior, use the --debug flag. >> Have you tried running with the --debug flag as suggested? > > Using --debug doesn't give me more info on the path where the error > is, only adds info about what changed. My problem is that I don't > know (exactly) where to find ythe manifests > >> Have you tried just grepping your modules/manifests for "$mailaddr" ??? > > Sure, and with some work I can find all problems, I was just wondering > why in some cases the path is showed and in some others it isn't > > >> There's a specific location: Dynamic lookup of $domain at >> /path/to/a/file/dotpp.pp/:127 > > I pick up 2 lines form my log file to show that for some warning the > path is reported (as in this case) but in other case (the former log > line) it isn't > > > Thanks for your help > -- 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/52D92121.40205%40jasonantman.com. For more options, visit https://groups.google.com/groups/opt_out.
