search for: add_method_trac

Displaying 1 result from an estimated 1 matches for "add_method_trac".

Did you mean: add_method_tracer
2012 Aug 07
0
hooking NewRelic into Puppet agent
...edap.local]: HEAD 0.1 2.0 > 28.4 Though interesting it still doesn''t tell me much so I want to do something like this: > require ''puppet/configurer/downloader'' > Puppet::Configurer::Downloader.class_eval do > include NewRelic::Agent::MethodTracer > add_method_tracer :evaluate > end However, this is where it goes wrong. At that point, agents start complaining: > /usr/lib/ruby/1.8/puppet/indirector.rb:6: uninitialized constant Puppet > (NameError) > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require''...