Hello All, I come from the RHN age and don''t quite have my head fully wrapped around yum. I know that puppet exclusively uses yum to install RPMs. I have some custom modules to write, but they require custom RPMs be installed. Not being the most well-versed person with yum, I don''t want to get too deep into yum architecture if I don''t have to. Can puppet be made to execute yum localinstall [pkgname]? It seems like it would remove many steps from my module-filebucket the RPMs, and execute localinstall to install them. Thanks! -- 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.
Just make a local yum repository using your custom RPM''s, make sure your system can "see" it, and then a plain "yum install" will work. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) ----- Sam Roza <samroza@gmail.com> wrote:> Hello All, > > I come from the RHN age and don''t quite have my head fully wrapped around > yum. I know that puppet exclusively uses yum to install RPMs. I have some > custom modules to write, but they require custom RPMs be installed. Not > being the most well-versed person with yum, I don''t want to get too deep > into yum architecture if I don''t have to. > > Can puppet be made to execute yum localinstall [pkgname]? It seems like it > would remove many steps from my module-filebucket the RPMs, and execute > localinstall to install them. > > Thanks! > > -- > 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.
So I use createrepo to make a local repo somewhere-for instance, the puppet server-and then use that to do the install? Why doesn''t puppet support all of yum features? On Fri, Nov 4, 2011 at 2:15 PM, Dan White <ygor@comcast.net> wrote:> Just make a local yum repository using your custom RPM''s, make sure your > system can "see" it, and then a plain "yum install" will work. > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ----- Sam Roza <samroza@gmail.com> wrote: > > Hello All, > > > > I come from the RHN age and don''t quite have my head fully wrapped around > > yum. I know that puppet exclusively uses yum to install RPMs. I have some > > custom modules to write, but they require custom RPMs be installed. Not > > being the most well-versed person with yum, I don''t want to get too deep > > into yum architecture if I don''t have to. > > > > Can puppet be made to execute yum localinstall [pkgname]? It seems like > it > > would remove many steps from my module-filebucket the RPMs, and execute > > localinstall to install them. > > > > Thanks! > > > > -- > > 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. > >-- 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 Fri, Nov 04, 2011 at 02:19:08PM -0700, Sam Roza wrote:> So I use createrepo to make a local repo somewhere-for instance, the > puppet server-and then use that to do the install? > Why doesn''t puppet support all of yum features?I''ll venture a guess that it''s for the same reason that yum doesn''t already support all of puppet''s features. They do different things and that kind of duplication is pointless.> On Fri, Nov 4, 2011 at 2:15 PM, Dan White <[1]ygor@comcast.net> wrote: > > Just make a local yum repository using your custom RPM''s, make sure your > system can "see" it, and then a plain "yum install" will work. > > �Sometimes I think the surest sign that intelligent life exists > elsewhere in the universe is that none of it has tried to contact us.� > Bill Waterson (Calvin & Hobbes) > ----- Sam Roza <[2]samroza@gmail.com> wrote: > > Hello All, > > > > I come from the RHN age and don''t quite have my head fully wrapped > around > > yum. I know that puppet exclusively uses yum to install RPMs. I have > some > > custom modules to write, but they require custom RPMs be installed. > Not > > being the most well-versed person with yum, I don''t want to get too > deep > > into yum architecture if I don''t have to. > > > > Can puppet be made to execute yum localinstall [pkgname]? It seems > like it > > would remove many steps from my module-filebucket the RPMs, and > execute > > localinstall to install them. > > > > Thanks! > > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > To post to this group, send email to [3]puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > [4]puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > [5]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 [6]puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > [7]puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > [8]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. > > References > > Visible links > 1. mailto:ygor@comcast.net > 2. mailto:samroza@gmail.com > 3. mailto:puppet-users@googlegroups.com > 4. mailto:puppet-users%2Bunsubscribe@googlegroups.com > 5. http://groups.google.com/group/puppet-users?hl=en > 6. mailto:puppet-users@googlegroups.com > 7. mailto:puppet-users%2Bunsubscribe@googlegroups.com > 8. 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.
Puppet uses yum as a tool, not the other way around. I suppose if yum started using puppet to install software, I''d expect them to support a complete featureset as well. On Fri, Nov 4, 2011 at 2:23 PM, Christopher Wood <christopher_wood@pobox.com> wrote:> On Fri, Nov 04, 2011 at 02:19:08PM -0700, Sam Roza wrote: > > So I use createrepo to make a local repo somewhere-for instance, the > > puppet server-and then use that to do the install? > > Why doesn''t puppet support all of yum features? > > I''ll venture a guess that it''s for the same reason that yum doesn''t > already support all of puppet''s features. They do different things and that > kind of duplication is pointless. > > > On Fri, Nov 4, 2011 at 2:15 PM, Dan White <[1]ygor@comcast.net> > wrote: > > > > Just make a local yum repository using your custom RPM''s, make sure > your > > system can "see" it, and then a plain "yum install" will work. > > > > �Sometimes I think the surest sign that intelligent life exists > > elsewhere in the universe is that none of it has tried to contact > us.� > > Bill Waterson (Calvin & Hobbes) > > ----- Sam Roza <[2]samroza@gmail.com> wrote: > > > Hello All, > > > > > > I come from the RHN age and don''t quite have my head fully wrapped > > around > > > yum. I know that puppet exclusively uses yum to install RPMs. I > have > > some > > > custom modules to write, but they require custom RPMs be > installed. > > Not > > > being the most well-versed person with yum, I don''t want to get > too > > deep > > > into yum architecture if I don''t have to. > > > > > > Can puppet be made to execute yum localinstall [pkgname]? It seems > > like it > > > would remove many steps from my module-filebucket the RPMs, and > > execute > > > localinstall to install them. > > > > > > Thanks! > > > > > > -- > > > You received this message because you are subscribed to the Google > > Groups "Puppet Users" group. > > > To post to this group, send email to [3] > puppet-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > [4]puppet-users+unsubscribe@googlegroups.com. > > > For more options, visit this group at > > [5]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 [6] > puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > [7]puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > > [8]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. > > > > References > > > > Visible links > > 1. mailto:ygor@comcast.net > > 2. mailto:samroza@gmail.com > > 3. mailto:puppet-users@googlegroups.com > > 4. mailto:puppet-users%2Bunsubscribe@googlegroups.com > > 5. http://groups.google.com/group/puppet-users?hl=en > > 6. mailto:puppet-users@googlegroups.com > > 7. mailto:puppet-users%2Bunsubscribe@googlegroups.com > > 8. 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. > >-- 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.
Sam Roza writes: > So I use createrepo to make a local repo somewhere-for instance, the puppet > server-and then use that to do the install? If you are reluctant to create a local yum repository (maybe you don''t have many custom packages) you can just source a package from a web server or the like: package { "mypackage": source => "http://my.package.server/rpms/mypackage-1.0.0-1.i386.rpm", ensure => installed, before => "needsmypackage", } > Why doesn''t puppet support all of yum features? Puppet supports not just yum but a number of other package providers in different OSes and OS distributions. It supports the yum features needed to implement its package management mode. -- 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.
Thank you all. I''ll probably use yum, but I am reluctant to get involved in the architecture-just another thing to manage-for a total of 4 packages. On Fri, Nov 4, 2011 at 2:27 PM, Steven VanDevender <stevev@uoregon.edu>wrote:> Sam Roza writes: > > So I use createrepo to make a local repo somewhere-for instance, the > puppet > > server-and then use that to do the install? > > If you are reluctant to create a local yum repository (maybe you don''t > have many custom packages) you can just source a package from a web > server or the like: > > package { "mypackage": > source => "http://my.package.server/rpms/mypackage-1.0.0-1.i386.rpm > ", > ensure => installed, > before => "needsmypackage", > } > > > Why doesn''t puppet support all of yum features? > > Puppet supports not just yum but a number of other package providers in > different OSes and OS distributions. It supports the yum features > needed to implement its package management mode. > > -- > 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.
Very nice! Puppet is full of surprises ! I did a local/custom repo with three RPM''s in it because I use cobbler to build the machines initially, and I can just put the package name in the cobbler/kickstart package list. I suppose I could have done a cobbler snnippet to load the RPM''s, but a custom repo covered all those bases with minimal tinkering. ----- Steven VanDevender <stevev@uoregon.edu> wrote:> Sam Roza writes: > > So I use createrepo to make a local repo somewhere-for instance, the puppet > > server-and then use that to do the install? > > If you are reluctant to create a local yum repository (maybe you don''t > have many custom packages) you can just source a package from a web > server or the like: > > package { "mypackage": > source => "http://my.package.server/rpms/mypackage-1.0.0-1.i386.rpm", > ensure => installed, > before => "needsmypackage", > } > > > Why doesn''t puppet support all of yum features? > > Puppet supports not just yum but a number of other package providers in > different OSes and OS distributions. It supports the yum features > needed to implement its package management mode.“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- 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.