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

--
Andrea Cappelli

--
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/52D91FE5.9000400%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to