Hello, I''ve just installed Ruby, Facter and Puppet from source (versions listed below) and am getting the following error, when trying to run Puppet 2.6.3: [root@localhost puppet]# ruby --version ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] [root@localhost puppet]# ruby -ropenssl -e "puts :installed" installed [root@localhost puppet]# ruby -rxmlrpc/client -e "puts :installed" installed [root@localhost puppet]# facter --version 1.5.8 [root@localhost puppet]# puppet --version /usr/local/lib/ruby/site_ruby/1.9.1/puppet/util/log/destinations.rb: 97: warning: class variable access from toplevel /usr/local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb: /usr/ local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb:107: Invalid next (SyntaxError) I''ve looked around and have not seen other posts regarding this so either I''m missing something or no one has installed the newest packages from source yet (I doubt that). Please advise, thank you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2010-Nov-30 19:57 UTC
Re: [Puppet Users] puppet 2.6.3 (kick.rb) error after install
On Tue, Nov 30, 2010 at 11:54 AM, monte <olveram@gmail.com> wrote:> Hello, I''ve just installed Ruby, Facter and Puppet from source > (versions listed below) and am getting the following error, when > trying to run Puppet 2.6.3: > > [root@localhost puppet]# ruby --version > ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]Puppet doesn''t support Ruby 1.9 yet.> [root@localhost puppet]# ruby -ropenssl -e "puts :installed" > installed > [root@localhost puppet]# ruby -rxmlrpc/client -e "puts :installed" > installed > [root@localhost puppet]# facter --version > 1.5.8 > [root@localhost puppet]# puppet --version > /usr/local/lib/ruby/site_ruby/1.9.1/puppet/util/log/destinations.rb: > 97: warning: class variable access from toplevel > /usr/local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb: /usr/ > local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb:107: Invalid > next (SyntaxError) > > I''ve looked around and have not seen other posts regarding this so > either I''m missing something or no one has installed the newest > packages from source yet (I doubt that). Please advise, thank you. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- Nigel Kersten - Puppet Labs - http://www.puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
ed ruk
2010-Dec-21 11:41 UTC
[Puppet Users] Re: puppet 2.6.3 (kick.rb) error after install
Puppet not supporting Ruby 1.9 caught me out too. I am just evaluating whether Chef or Puppet will work best for my setup. Puppet was definitely the simplest solution of the two to get up and running on an old dev box ( which uses Ruby 1.8.7 ) , but then fell over as soon as I tried the manifest file on a production box ( all Ruby 1.9.2 ). Any roadmap for how soon Ruby 1.9.2 support will come or a git branch I can perhaps use in the meantime ? On Nov 30, 7:57 pm, Nigel Kersten <ni...@puppetlabs.com> wrote:> On Tue, Nov 30, 2010 at 11:54 AM, monte <olve...@gmail.com> wrote: > > Hello, I''ve just installed Ruby, Facter and Puppet from source > > (versions listed below) and am getting the following error, when > > trying to run Puppet 2.6.3: > > > [root@localhost puppet]# ruby --version > > ruby1.9.2p0 (2010-08-18 revision 29036) [i686-linux] > > Puppet doesn''t support Ruby1.9yet. > > > > > > > [root@localhost puppet]# ruby -ropenssl -e "puts :installed" > > installed > > [root@localhost puppet]# ruby -rxmlrpc/client -e "puts :installed" > > installed > > [root@localhost puppet]# facter --version > > 1.5.8 > > [root@localhost puppet]# puppet --version > > /usr/local/lib/ruby/site_ruby/1.9.1/puppet/util/log/destinations.rb: > > 97: warning: class variable access from toplevel > > /usr/local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb: /usr/ > > local/lib/ruby/site_ruby/1.9.1/puppet/application/kick.rb:107: Invalid > > next (SyntaxError) > > > I''ve looked around and have not seen other posts regarding this so > > either I''m missing something or no one has installed the newest > > packages from source yet (I doubt that). Please advise, thank you. > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. > > -- > Nigel Kersten - Puppet Labs - http://www.puppetlabs.com-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.