How do I set the Ruby path that Puppet uses? I have Ruby Enterprise Edition installed for my *application*, installed from source and symlinked (/usr/local/bin/ruby) so it''s in the path, overriding the default .deb installed standard Ruby (/usr/bin/ruby). For *Puppet* I want to use the standard Ruby (/usr/bin/ruby). I''m seeing some hangs during my Puppet runs and I''m trying to see if it''s because it''s using REE (even though I installed it as a standard Ruby gem). I''m using standalone Puppet, version 2.6.1, installed via gem on Debian. -- 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.
On Oct 20, 2010, at 2:13 AM, bobics wrote:> How do I set the Ruby path that Puppet uses? I have Ruby Enterprise > Edition installed for my *application*, installed from source and > symlinked (/usr/local/bin/ruby) so it''s in the path, overriding the > default .deb installed standard Ruby (/usr/bin/ruby). For *Puppet* I > want to use the standard Ruby (/usr/bin/ruby).You can use an abosulte path to ruby to run puppet: % /usr/bin/ruby /usr/sbin/puppetd All the best, Sandor Szücs -- -- 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 Sandor, that worked for me. Unfortunately I''m still seeing Puppet intermittently hang. I''ll investigate the issue some more and create a new thread if needed. On Oct 20, 1:54 am, Sandor Szuecs <sandor.szu...@fu-berlin.de> wrote:> On Oct 20, 2010, at 2:13 AM, bobics wrote: > > > How do I set the Ruby path that Puppet uses? I have Ruby Enterprise > > Edition installed for my *application*, installed from source and > > symlinked (/usr/local/bin/ruby) so it''s in the path, overriding the > > default .deb installed standard Ruby (/usr/bin/ruby). For *Puppet* I > > want to use the standard Ruby (/usr/bin/ruby). > > You can use an abosulte path to ruby to run puppet: > % /usr/bin/ruby /usr/sbin/puppetd > > All the best, Sandor Szücs > ---- 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.
This often means that an exec is hanging. On Oct 21, 2010, at 3:16 PM, bobics wrote:> Thanks Sandor, that worked for me. > > Unfortunately I''m still seeing Puppet intermittently hang. I''ll > investigate the issue some more and create a new thread if needed. > > On Oct 20, 1:54 am, Sandor Szuecs <sandor.szu...@fu-berlin.de> wrote: >> On Oct 20, 2010, at 2:13 AM, bobics wrote: >> >>> How do I set the Ruby path that Puppet uses? I have Ruby Enterprise >>> Edition installed for my *application*, installed from source and >>> symlinked (/usr/local/bin/ruby) so it''s in the path, overriding the >>> default .deb installed standard Ruby (/usr/bin/ruby). For *Puppet* I >>> want to use the standard Ruby (/usr/bin/ruby). >> >> You can use an abosulte path to ruby to run puppet: >> % /usr/bin/ruby /usr/sbin/puppetd >> >> All the best, Sandor Szücs >> -- > > -- > 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. >-- 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.