I have compiled and installed ruby 1.9.3 on Centos 5 # ruby -v ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] Now I am trying to install puppet 2.7.11. However, it is requiring that ruby version 1.8.5-5.el5_4.8. # yum install puppet Installing: puppet noarch 2.7.11-2.el5 lvlt-tools-updates 1.0 M Installing for dependencies: ruby x86_64 1.8.5-5.el5_4.8 Any idea why it is requiring that version as a dependency? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/pJAfy-Frl2AJ. 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.
Michael Stahnke
2012-Mar-02 22:17 UTC
Re: [Puppet Users] puppet 2.7.11 requires ruby = 1.8.5
It actually require ruby(abi) = 1.8 This is likely only satisfied by Ruby 1.8.5 in your repositories. This is the way the rpm package is currently built. This is in the problem of changing, as 1.9.3 is now becoming the default in Fedora 17. I suspect a spec version very soon will have a this updated to run with Ruby 1.9. There are a couple of other 1.9 compatibility issues with packaging. For example, ruby-shadow doesn''t quite work with Ruby 1.9 and now rubygem-ruby-shadow should be used. Mike On Fri, Mar 2, 2012 at 1:39 PM, rjl <rjlindal@gmail.com> wrote:> I have compiled and installed ruby 1.9.3 on Centos 5 > > # ruby -v > ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] > > Now I am trying to install puppet 2.7.11. However, it is requiring that ruby > version 1.8.5-5.el5_4.8. > > # yum install puppet > Installing: > puppet noarch > 2.7.11-2.el5 > lvlt-tools-updates 1.0 M > Installing for dependencies: > ruby x86_64 > 1.8.5-5.el5_4.8 > > Any idea why it is requiring that version as a dependency? > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/pJAfy-Frl2AJ. > 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.-- 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.
Thanks Michael, I have a working environment using ruby 1.8.5 (The Centos 5 default). However, I want to change my puppet framework to be database driven. For that, I would like to use rails activerecord. Now the problem is that rails is not supported in 1.8.5. Any suggestions would be greatly appreciated. On Friday, March 2, 2012 2:39:37 PM UTC-7, rjl wrote:> > I have compiled and installed ruby 1.9.3 on Centos 5 > > # ruby -v > ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] > > Now I am trying to install puppet 2.7.11. However, it is requiring that > ruby version 1.8.5-5.el5_4.8. > > # yum install puppet > Installing: > puppet noarch > 2.7.11-2.el5 > lvlt-tools-updates 1.0 M > Installing for dependencies: > ruby x86_64 > 1.8.5-5.el5_4.8 > > Any idea why it is requiring that version as a dependency? > > Thanks in advance >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/OF4-Rlf8oJQJ. 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.
Craig White
2012-Mar-02 23:28 UTC
Re: [Puppet Users] Re: puppet 2.7.11 requires ruby = 1.8.5
On Mar 2, 2012, at 3:43 PM, rjl wrote:> Thanks Michael, > I have a working environment using ruby 1.8.5 (The Centos 5 default). However, I want to change my puppet framework to be database driven. For that, I would like to use rails activerecord. Now the problem is that rails is not supported in 1.8.5. > > Any suggestions would be greatly appreciated.---- you''re on the right track but on CentOS 5, you pretty much should forget about using ruby/gems from rpm packages. Ruby 1.8.5 isn''t going to get you anywhere with a Rails application. Use gems... gem install puppet gem install rails Craig -- 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.
I can only find the puppet gem. Isn''t there a puppet-server gem? I have a working environment without rails. The following is installed on my puppet master: puppet-2.6.7-1.el5 puppet-server-2.6.7-1.el5 And the following is installed on my clients: puppet-2.6.7-1.el5 You mention only one gem. Is there not a server gem? Obviously I am very confused. On Friday, March 2, 2012 4:28:10 PM UTC-7, Craig White wrote:> > > On Mar 2, 2012, at 3:43 PM, rjl wrote: > > > Thanks Michael, > > I have a working environment using ruby 1.8.5 (The Centos 5 default). > However, I want to change my puppet framework to be database driven. For > that, I would like to use rails activerecord. Now the problem is that > rails is not supported in 1.8.5. > > > > Any suggestions would be greatly appreciated. > ---- > you''re on the right track but on CentOS 5, you pretty much should forget > about using ruby/gems from rpm packages. Ruby 1.8.5 isn''t going to get you > anywhere with a Rails application. > > Use gems... > gem install puppet > gem install rails > > Craig > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/LCusiYG84zoJ. 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.
Russell Van Tassell
2012-Mar-03 00:19 UTC
Re: [Puppet Users] Re: puppet 2.7.11 requires ruby = 1.8.5
The gem includes everything you will need... the (basic) difference is simply running "puppet agent" versus "puppet master" -- some packages just hide the simplicity (probably a legacy thing?). Note: I do not believe things like the sysconfig, logrotate and startup scripts get installed by default with the gem (it''s been a while since I''ve done a fresh/virgin install in an environment) ... but those should be easy enough to find. Many folks seem to run things out of cron, anyway... On Fri, Mar 2, 2012 at 3:58 PM, rjl <rjlindal@gmail.com> wrote:> I can only find the puppet gem. Isn''t there a puppet-server gem? I have a > working environment without rails. The following is installed on my puppet > master: > > puppet-2.6.7-1.el5 > puppet-server-2.6.7-1.el5 > > And the following is installed on my clients: > > puppet-2.6.7-1.el5 > > You mention only one gem. Is there not a server gem? Obviously I am very > confused. > > On Friday, March 2, 2012 4:28:10 PM UTC-7, Craig White wrote: >> >> >> On Mar 2, 2012, at 3:43 PM, rjl wrote: >> >> > Thanks Michael, >> > I have a working environment using ruby 1.8.5 (The Centos 5 default). >> However, I want to change my puppet framework to be database driven. For >> that, I would like to use rails activerecord. Now the problem is that >> rails is not supported in 1.8.5. >> > >> > Any suggestions would be greatly appreciated. >> ---- >> you''re on the right track but on CentOS 5, you pretty much should forget >> about using ruby/gems from rpm packages. Ruby 1.8.5 isn''t going to get you >> anywhere with a Rails application. >> >> Use gems... >> gem install puppet >> gem install rails >> >> Craig >> >> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/LCusiYG84zoJ. > > 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. >-- 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.
Craig White
2012-Mar-05 15:59 UTC
Re: [Puppet Users] Re: puppet 2.7.11 requires ruby = 1.8.5
On Mar 2, 2012, at 5:19 PM, Russell Van Tassell wrote:> The gem includes everything you will need... the (basic) difference is simply running "puppet agent" versus "puppet master" -- some packages just hide the simplicity (probably a legacy thing?). > > Note: I do not believe things like the sysconfig, logrotate and startup scripts get installed by default with the gem (it''s been a while since I''ve done a fresh/virgin install in an environment) ... but those should be easy enough to find. Many folks seem to run things out of cron, anyway...---- I think you will find the various bits in the gem/conf directory (init/sysconfig/logrotate/etc.) Craig -- 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.