Hello there, I would like to install software on my puppets. I have two installation options: - RPMs lying on the master - silent installation routine lying on the master What is the standard/pattern for puppet to install software from the puppet master if it is not installed? Kind regards Maciej -- 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 25, 2010, at 8:20 AM, Maciej Skrzetuski wrote:> Hello there, > > I would like to install software on my puppets. I have two > installation options: > > - RPMs lying on the master > - silent installation routine lying on the master > > What is the standard/pattern for puppet to install software from the > puppet master if it is not installed?I''m not sure what the second is, but OS packages are always the preferred way to install software on Redhat and Debian based systems. Any reason not to setup a repository? -- 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.
Do you mean hosting your own yum repository in your own network? That is not a bad idea but it would be easier to just copy the files over to the puppets and then just rpm -ihv <package>, wouldn''t it? Another question in this context is: How can I install software (for example RPMs) on all my puppets only on demand? Can you tell puppet to install s.th. right "now"? On 25 Okt., 18:46, Patrick <kc7...@gmail.com> wrote:> On Oct 25, 2010, at 8:20 AM, Maciej Skrzetuski wrote: > > > Hello there, > > > I would like to install software on my puppets. I have two > > installation options: > > > - RPMs lying on the master > > - silent installation routine lying on the master > > > What is the standard/pattern for puppet to install software from the > > puppet master if it is not installed? > > I''m not sure what the second is, but OS packages are always the preferred way to install software on Redhat and Debian based systems. > > Any reason not to setup a repository?-- 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
2010-Oct-25 18:25 UTC
Re: [Puppet Users] Re: Installing Software via Puppet
Maciej Skrzetuski wrote:> Do you mean hosting your own yum repository in your own network? > That is not a bad idea but it would be easier to just copy the files > over to the puppets and then just rpm -ihv <package>, wouldn''t it?No, it wouldn''t be. You lose yum''s ability to install depndencies for one. Creating a yum repository is as simple as "createrepo /path/" and serving that via apache really.> Another question in this context is: How can I install software (for > example RPMs) on all my puppets only on demand? Can you tell puppet > to install s.th. right "now"?Puppet''s not really geared to that sort of one-off thing. Tools like func or mcollective are better suited for that. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I am not young enough to know everything. -- Oscar Wilde (1854-1900)
On Oct 25, 1:25 pm, Todd Zullinger <t...@pobox.com> wrote:> Maciej Skrzetuski wrote: > > Do you mean hosting your own yum repository in your own network? > > That is not a bad idea but it would be easier to just copy the files > > over to the puppets and then just rpm -ihv <package>, wouldn''t it? > > No, it wouldn''t be. You lose yum''s ability to install depndencies for > one.Also, it''s messy and non-trivial to persuade Puppet that it only needs to copy the RPMs if the package isn''t already installed. You might partially work around that by placing them in a network-accessible location (e.g. on an NFS share) to avoid the copying, but yum inherently downloads only the RPMs it needs. It really is very easy to set up a yum repository. It''s also easy to use Puppet to tell your clients about it (see the Yumrepo resource). You should hack together a poor man''s alternative only if there is a surpassingly strong barrier to using yum. John -- 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.