[Pkg-puppet-devel] Bug#577680: puppet: Cannot create RRD databases with librrd-ruby1.8

martin.stern at jpberlin.de martin.stern at jpberlin.de
Tue Apr 13 14:55:56 UTC 2010


Package: puppetmaster
Version: 0.24.5-3
Severity: normal

Hello,

i like to use the RRD reporttype of puppetmaster. /etc/puppet/puppet.conf contains:

[puppetmasterd]
...
reports        = store, log, rrdgraph
rrdgraph       = true
rrdintervall   = $runintervall

With the Ruby-RRD bindings in librrd-ruby1.8 Version 1.3.1-4 this did not work,
because librrd-ruby1.8 provides RRD.so but /usr/lib/ruby/1.8/puppet/util/metric.rb
wants RRDTools.so

This Problem also exists in puppetmaster 0.25.4-2~bpo50+1 and librrd-ruby1.8 
1.4.3-1~bpo50+1

Based in the patches under http://projects.reductivelabs.com/issues/2891
I create the attached Patch for the Puppet version in Lenny, witch worked for
me.

The patches under the link above may be appropriate for puppet 0.25.4


Regards,
Martin




-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-etchnhalf.1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages puppet depends on:
ii  adduser                       3.110      add and remove users and groups
ii  facter                        1.5.1-0.1  a library for retrieving facts fro
ii  libopenssl-ruby               4.2        OpenSSL interface for Ruby
ii  libruby [libxmlrpc-ruby]      4.2        Libraries necessary to run Ruby 1.
ii  libshadow-ruby1.8             1.4.1-8    Interface of shadow password for R
ii  libxmlrpc-ruby                4.2        transitional dummy package
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  ruby                          4.2        An interpreter of object-oriented 

Versions of packages puppet recommends:
ii  rdoc                          4.2        Generate documentation from ruby s

puppet suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metric.rb-puppet0.24.5-with-librrd-ruby1.8-1.3.1.diff
Type: text/x-diff
Size: 2433 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20100413/a93f5403/attachment.diff>


More information about the Pkg-puppet-devel mailing list