And I've managed to dodge one of your questions. :-) The include is done in ./lib/puppet/feature/base.rb (last line) which uses the lib/puppet/util/feature.rb. Basically you end up with a good old "require RRDtool" in load_library from feature.rb, if this require failsm you will get, further in the runtime, the error you specified. This require is standard for ruby, so google should turn out better answers than I do (I am not familiar with ruby library system).
Silviu On Thu, 21 Jan 2010 11:58:22 -0800 (PST), John Lyman <jlym...@gmail.com> wrote: > I am trying to get rrd graphs working, but I am getting the infamous > "RRD library is missing; cannot store metrics". Everything I have > read about the error applied to redhat or ubuntu. I am using Solaris > 10. > > I installed both the rrdtool Solaris package and the RubyRRDtool gem. > When I run "ruby -rRRDtool -e 'puts :yep'", it successfully returns > "yep" (though not until I linked /usr/local/lib/ruby/site_ruby/1.8/ > i386-solaris2.10 to /usr/local/lib/ruby/gems/1.8/gems/ > RubyRRDtool-0.6.0/RRDtool.so). I was also able to generate rrds and > pngs using the minmax.rb script includes in the examples directory in > the RubyRRDtool gem source. > > I guess my question is, where exactly is puppet looking for the > library? Is the library named RRDtool.so? > > Thanks for the help. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.