[Pkg-puppet-devel] Bug#740818: Collected resources with a puppet master fail on Ruby 1.9.x
Evgeni Golov
evgeni at debian.org
Wed Mar 5 10:49:14 UTC 2014
Package: puppet-common
Version: 2.7.23-1~deb7u3
Severity: normal
Tags: patch upstream
Hi,
filling as normal, as Ruby 1.9.x is not officially supported for Puppet 2.7.
After an upgrade of our puppet master from squeeze+backports to wheezy, nodes
that were collecting exported ressources started to fail with the following message:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet::Parser::Compiler failed with error ArgumentError:
wrong number of arguments (1 for 0) on node foobar.example.org
This is reported upstream as [1] and fixed since 3.1.0 [2].
While I know that ruby 1.9.x is unsupported, I think backporting this (trivial) fix
is useful, as Puppet 2.7 works with ruby 1.9.x quite okay otherwise :)
A patch is attached.
Regards
Evgeni
[1] http://projects.puppetlabs.com/issues/10963
[2] https://github.com/puppetlabs/puppet/commit/f60af044487c61c721d9008887ce982278b2f032
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages puppet-common depends on:
ii adduser 3.113+nmu3
ii facter 1.6.10-1
ii libaugeas-ruby1.8 0.4.1-1.1
ii lsb-base 4.1+Debian8+deb7u1
ii ruby-shadow 2.1.4-2
ii ruby1.8 1.8.7.358-7.1+deb7u1
ii sysv-rc 2.88dsf-41+deb7u1
Versions of packages puppet-common recommends:
ii debconf-utils 1.5.49
ii lsb-release 4.1+Debian8+deb7u1
Versions of packages puppet-common suggests:
pn librrd-ruby1.8 <none>
pn ruby-selinux <none>
-- Configuration Files:
/etc/puppet/puppet.conf changed [not included]
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10963-collected-resources-on-ruby-1.9.patch
Type: text/x-diff
Size: 1213 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20140305/03c83503/attachment-0001.patch>
More information about the Pkg-puppet-devel
mailing list