[Pkg-puppet-devel] Bug#592305: puppet: "Duplicate definition" error when "-" used in class names
Grant McLean
grant at catalyst.net.nz
Mon Aug 9 05:31:07 UTC 2010
Package: puppet
Version: 2.6.0-2
Severity: important
This problem has been fixed upstream in this commit:
http://github.com/MarkusQ/puppet/commit/9569136329f87ee
The bug was apparently inadvertently introduced in a "last minute fix".
In previous versions of Puppet, it was allowable to use a dash ('-') in
class names. This functionality broke in the 2.6 release and unfortunately
results in the very misleading "Duplicate definition" error.
It is possible to work around the problem by changing existing class names
to not include dashes but this could be a huge job for many Puppet users
(such as myself) and it's literally a 1 character change to correct the
problem.
Regards
Grant
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_NZ.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages puppet depends on:
ii adduser 3.112 add and remove users and groups
ii facter 1.5.7-1 a library for retrieving facts fro
pn libopenssl-ruby <none> (no description available)
ii libruby [libxmlrpc-ruby] 4.5 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-23.1 Linux Standard Base 3.2 init scrip
ii puppet-common 2.6.0-2 Centralized configuration manageme
ii ruby1.8 1.8.7.299-1 Interpreter of object-oriented scr
Versions of packages puppet recommends:
ii libaugeas-ruby1.8 0.3.0-1.1 Augeas bindings for the Ruby langu
ii rdoc 4.4 Generate documentation from ruby s
Versions of packages puppet suggests:
pn libselinux-ruby1.8 <none> (no description available)
pn puppet-el <none> (no description available)
pn vim-puppet <none> (no description available)
-- no debconf information
More information about the Pkg-puppet-devel
mailing list