Hi We have on our systems old school software which is only installable via tar. I have the tar in <pathtomodules>module/file/software.tar How can I now access this file to untar it via an exec command. With the file type I think it is not possible, otherwise the tar gets downloaded every time puppet runs (because I remove the tar after installation) Any Ideas how I can access the file in the exec command? Thanks in advance Rene --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Pieter Barrezeele
2009-May-28 08:01 UTC
[Puppet Users] Re: access file form files directory in module
Hi Rene, On 28 May 2009, at 09:20, Rene wrote:> > Hi > > We have on our systems old school software which is only installable > via tar. I have the tar in <pathtomodules>module/file/software.tar > > How can I now access this file to untar it via an exec command. With > the file type I think it is not possible, otherwise the tar gets > downloaded every time puppet runs (because I remove the tar after > installation)I''d recommend you to build custom {rpm,deb,...} packages out of your tarball and install these using the package native type. This has the advantage of easy upgrades, post/pre-install and -remove scripts (provided your packaging system supports these) and will save you fileserving headaches. You will have to setup a custom package repository though, but this can come in handy anyway. Good luck, Pieter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
OK, I''ll do that. Thanks.... On 28 Mai, 10:01, Pieter Barrezeele <mac...@gmail.com> wrote:> Hi Rene, > > On 28 May 2009, at 09:20, Rene wrote: > > > > > Hi > > > We have on our systems old school software which is only installable > > via tar. I have the tar in <pathtomodules>module/file/software.tar > > > How can I now access this file to untar it via an exec command. With > > the file type I think it is not possible, otherwise the tar gets > > downloaded every time puppet runs (because I remove the tar after > > installation) > > I''d recommend you to build custom {rpm,deb,...} packages out of your > tarball and install these using the package native type. > > This has the advantage of easy upgrades, post/pre-install and -remove > scripts (provided your packaging system supports these) and will save > you fileserving headaches. > > You will have to setup a custom package repository though, but this > can come in handy anyway. > > Good luck, > > Pieter--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---