On Sun, Nov 21, 2010 at 6:15 PM, Markus Falb <markus.f...@fasel.at> wrote:

> On 18.11.10 21:17, CraftyTech wrote:
> > Hello All,
> >
> >      Is there a way of suppressing DEPRECATION WARNINGS?  Ever since I
> > upgraded rails, I keep on getting deprecation warnings that I run
> > puppetd.  Is there any way of turning these off?  i.e,
> >
> > ruby --version
> > ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]
> >
> > puppet --version
> > DEPRECATION WARNING: metaclass is deprecated and will be removed from
> > Rails 2.3 (use singleton_class instead). (called from meta_eval at /
> > usr/lib/ruby/site_ruby/1.8/puppet/util/metaid.rb:4)
> > 0.25.5
> >
> > cat /etc/redhat-release
> > CentOS release 5.5 (Final)
>
> Downgrade rails to 2.3.5
> https://bugzilla.redhat.com/show_bug.cgi?id=616519
>
>
An easier fix might be to manually patch puppet, its not too much hassle:
https://github.com/mmrobins/puppet/commit/31e1762bb24761fe1710245c475c08a61e04fe5b

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to