Tim Uckun
2009-Sep-10 03:16 UTC
[Puppet Users] New 2.5 gem does not create entries into /usr/sbin
Just a heads up. If you do a gem install puppet it does not create the entries into the proper directories. Running install.rb from the tar file does. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Sep-10 04:43 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
2009/9/10 Tim Uckun <timuckun@gmail.com>:> > Just a heads up. > > If you do a gem install puppet it does not create the entries into the > proper directories. > > Running install.rb from the tar file does.There is a problem with how Gems handle binaries - Puppet has binaries in the bin and sbin directories in line with the FHS. Gems do not understand the concept of a binary directory other than "bindir" (usually "bin"). So binaries in the sbin directory are not installed. I am working on some (probably hack''ish) way to deal with this. Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Tim Uckun
2009-Sep-10 06:33 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
> > There is a problem with how Gems handle binaries - Puppet has binaries > in the bin and sbin directories in line with the FHS. Gems do not > understand the concept of a binary directory other than "bindir" > (usually "bin"). So binaries in the sbin directory are not installed. > I am working on some (probably hack''ish) way to deal with this. >I put the bindir into the PATH. Kind of hacky but it works. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Todd Zullinger
2009-Sep-10 13:57 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
Tim Uckun wrote:> Just a heads up. > > If you do a gem install puppet it does not create the entries into > the proper directories.In addition to what James said, here''s the upstream RubyGems bug (filed by some Luke Kanies guy a little more than 2 years ago): http://rubyforge.org/tracker/index.php?func=detail&aid=11604&group_id=126&atid=578 Perhaps someone who likes gems can dive in there and propose a patch since upstream doesn''t have much time for it? -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ People demand freedom of speech to make up for the freedom of thought which they avoid. -- Soren Aabye Kierkegaard (1813-1855)
Tim Uckun
2009-Sep-11 02:38 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
> Perhaps someone who likes gems can dive in there and propose a patch > since upstream doesn''t have much time for it?You know the more I think about this the more I am convinced creating a yum or apt repository is a better way to go. Right now on ubuntu I can do a apt-get install puppet and puppet --server blah yada yadda I can have the puppet do the rest. Of course if we could package up puppet with crate or something we could also do wget to get a self contained binary too. Just a thought. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
James Turnbull
2009-Sep-11 02:55 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
2009/9/10 Tim Uckun <timuckun@gmail.com>:> >> >> There is a problem with how Gems handle binaries - Puppet has binaries >> in the bin and sbin directories in line with the FHS. Gems do not >> understand the concept of a binary directory other than "bindir" >> (usually "bin"). So binaries in the sbin directory are not installed. >> I am working on some (probably hack''ish) way to deal with this. >> > > > I put the bindir into the PATH. Kind of hacky but it works. >What exactly do you mean here? Can you elaborate? Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Tim Uckun
2009-Sep-11 03:16 UTC
[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin
>> >> I put the bindir into the PATH. Kind of hacky but it works. >> > > What exactly do you mean here? Can you elaborate?I mean I did at export PATH=/usr/local/lib/ruby/gems/1.8/gems/puppet-0.25.0/sbin/;$PATH I suppose an alias would have worked just as well to start with. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---