Hi all,
well, I think I have some things clear now. I still have same error: warning: RRD library is missing; cannot store metrics But I think I have the source of the problem, maybe it's a development issue. My scenario: # cat /etc/redhat-release CentOS release 5.2 (Final) # rpm -qa|grep puppet puppet-0.22.4-1.el5.rf puppet-server-0.22.4-1.el5.rf If I use rpmforge ruby-rrdtool (yum install ruby-rrdtool) #ruby-rrdtool-1.2.28-1.el5.rf That version creates: /usr/lib/ruby/site_ruby/1.8/i386-linux/RRD.so which puppet likes, cause it find it and is able to call it. But I get the error: err: Report rrdgraph failed: Could not create RRD file /var/lib/puppet/rrd/td234.pic.es/time.rrd: invalid argument - Bignum, expected T_STRING or T_FIXNUM on index 2 which seems that is complaining about library version. I've downloadded rubyrrdtool-0.5.1.tgz and comparing README files I deduce that yum is installing version 0.51 !!!!! So, in Centos 5.2 puppet is not solving all its dependencies correctly. So, that version is not compatible with my puppet version. So, I must install 0.6 version I do it with gem, but I could build a rpm with the spec in http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5. that version creates: /root/RubyRRDtool-0.6.0/RRDtool.so ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Notice that now it's called RRDtool.so instead of RRD.so. So now, my error makes sense. Puppet is looking for RRD.so and not RRDtool.so. /usr/lib/ruby/site_ruby/1.8/puppet/util/metric.rb # Load the library as a feature, so we can test its presence. Puppet.features.add :rrd, :libs => 'RRD' Linking has no sense because of Init_RRDtool, so library should be rebuild with the other name. Someone knows how to do that ? May I open a bug? I also send it to devel list. Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---