Displaying 1 result from an estimated 1 matches for "methodtrac".
Did you mean:
methodcrc
2012 Aug 07
0
hooking NewRelic into Puppet agent
...008-vm5.healthcare.nedap.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_or...