Issue #14156 has been updated by Daniel Pittman.

Status changed from Unreviewed to Needs More Information

Hey.  So, I checked that our package is correct and has the right content in 
that file.  Something is odd on your system, and we would love to have you do a 
couple of things to check that for us, and post the results back here:

1. `ls -l /usr/lib/ruby/site_ruby/1.8/puppet/util/colors.rb`
2. `head /usr/lib/ruby/site_ruby/1.8/puppet/util/colors.rb`
3. `find / -name 'colors.rb' -ls`

Thanks.
----------------------------------------
Bug #14156: puppet-2.7.13-1.el6.noarch - error in destinations.rb
https://projects.puppetlabs.com/issues/14156#change-61355

Author: Gary Wilson (@earthgecko)
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.13
Keywords: 
Branch: 


In puppet-2.7.13-1.el6.noarch from 
http://yum.puppetlabs.com/el/6/dependencies/i386 there is an error in the 
destinations.rb file.

<pre>
[root@localhost ~]# puppet -V
/usr/lib/ruby/site_ruby/1.8/puppet/util/log/destinations.rb:90: uninitialized 
constant Puppet::Util::Colors (NameError)
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/classgen.rb:117:in 
`class_eval'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/classgen.rb:117:in `send'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/classgen.rb:117:in 
`genthing'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/classgen.rb:28:in 
`genclass'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:21:in `newdesttype'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/log/destinations.rb:88
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:34:in `require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:34
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/logging.rb:2:in `require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/logging.rb:2
        from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:567:in `require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:567
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:119:in `require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:119
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:1:in 
`require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:1
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:54:in 
`require'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:54:in 
`require_application'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:59:in 
`execute'
        from /usr/bin/puppet:4
</pre>

Remove and install puppet-2.7.12-1.el6.noarch and error gone.

<pre>
[root@localhost ~]# yum remove puppet --enablerepo=puppetlabs
...
...
Removed:
  puppet.noarch 0:2.7.13-1.el6

Complete!
[root@localhost ~]# yum install puppet-2.7.12-1.el6.noarch 
--enablerepo=puppetlabs
...
...
Installed:
  puppet.noarch 0:2.7.12-1.el6
[root@localhost ~]# puppet -V
2.7.12
[root@localhost ~]#
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to