The puppet-agent package you have is probably an AIO, or All-In-One, package. This means the package includes a curated version of ruby, among other applications and libraries, to be used by puppet. In the case of ruby, it's to meet the needs of the dependent gems.
I'm not sure the best way for you to start packaging with a higher version of ruby but I'd suggest watching https://www.youtube.com/watch?v=WaSaiRFAExo&index=55&list=PLV86BgbREluVjwwt-9UL8u2Uy8xnzpIqa to see how Puppet builds their own packages. Rob Nelson rnels...@gmail.com On Mon, Nov 21, 2016 at 10:13 AM, James Perry <jjperr...@gmail.com> wrote: > I am trying to build a puppet-agent 1.8.x package for older SUSE 10.x, > RHEL 4 and OEL 4. > > On the SUSE 10.3 I have a Puppet 3.8.7 agent running on Ruby 2.0. > > Wanting to have all of the servers running puppet-agent, I cloned the > https://github.com/puppetlabs/puppet-agent repo and steps as defined in > the README.md file. > > No matter where I run this command, it fails. Currently I am building on > a RHEL 7.2 with ruby 2.0.0p598. > > Here is the output of the *bundler install* command. > > Updating git://github.com/puppetlabs/packaging.git > Fetching gem metadata from https://rubygems.org/........... > Resolving dependencies... > Using rake 11.3.0 > Using ast 2.3.0 > Using parser 2.3.2.0 > Using astrolabe 1.3.1 > > *Gem::InstallError: fustigit requires Ruby version >= 2.1.0*. > An error occurred while installing fustigit (0.1.3), and Bundler cannot > continue. > Make sure that `gem install fustigit -v '0.1.3'` succeeds before bundling. > > The odd thing here is that this host is running the Puppet-Agent 1.8.7 > package. > > Can someone help me with what is going on here? Is this just the way that > the bundler install process works? > > I have modified the vim ./configs/projects/puppet-agent.rb as the > document shows, but even that fails to permit me to build it. > > Also is there another way to build a Puppet-Agent client? I tried to > locate the puppet-agent sources in another format, but wasn't able to find > them or a spec file to build the RPMs. I would really like to have all of > the hosts we are migrating to Puppet 4 be running the puppet-agent versus > the older puppet 3.8.7 client, if possible. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-dev/e018e442-4407-4749-ae89-a1b622c21f02%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-dev/e018e442-4407-4749-ae89-a1b622c21f02%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAC76iT-sVOo3UXOtU-8XmX8Y-%2BpPdBnpBfAzVKL2YCE_m6puZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.