Hi Puppeteers, I hope I can get you advice about the best way to approach using MSIs and other installers on Windows. Currently I am downloading Windows installers from the puppet master with the puppet:// syntax and the "file" type into a temporary directory c:\puppet_temp with subdirectories where necessary. Then after running the installers witht the "package" type, I was hoping to remove them with the "tidy" type. Is this the right approach, or should we be planning to host our installers in a Windows-based file server and using running the installers with a UNC path? Will this be a future feature? Assuming the temp directory approach is correct, could I get your advice on the most lightweight way to copy the files, since I can''t use the checksum "none" setting, and I don''t need to check the files are present on each run, I plan to remove them after the package is installed correctly. Sorry for the noob question. Look forward to your responses. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/noF9F-TV4rgJ. 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.
Hi Jason, On Mon, Sep 17, 2012 at 11:05 AM, Jason_s <jason.southgate@gmail.com> wrote:> Hi Puppeteers, > > I hope I can get you advice about the best way to approach using MSIs and other installers on Windows. > > Currently I am downloading Windows installers from the puppet master with the puppet:// syntax and the "file" type into a temporary directory c:\puppet_temp with subdirectories where necessary. Then after running the installers witht the "package" type, I was hoping to remove them with the "tidy" type. > > Is this the right approachRemoving them will cause puppet to think they needed to be downloaded the next time it runs. And then it will try to re-install the package.> or should we be planning to host our installers in a Windows-based file server and using running the installers with a UNC path? Will this be a future feature?UNC paths is on the roadmap http://projects.puppetlabs.com/issues/8657 Alternatively you might want to try out Simon''s module: http://forge.puppetlabs.com/simondean/net_share> Assuming the temp directory approach is correct, could I get your advice on the most lightweight way to copy the files, since I can''t use the checksum "none" setting, and I don''t need to check the files are present on each run, I plan to remove them after the package is installed correctly. > > Sorry for the noob question. Look forward to your responses. > > Thanks, Jason > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/noF9F-TV4rgJ. > 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. >Josh -- Josh Cooper Developer, Puppet Labs -- 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 Mon, Sep 17, 2012 at 6:07 PM, Josh Cooper <josh@puppetlabs.com> wrote:> Hi Jason, > > On Mon, Sep 17, 2012 at 11:05 AM, Jason_s <jason.southgate@gmail.com> wrote: >> Hi Puppeteers, >> >> I hope I can get you advice about the best way to approach using MSIs and other installers on Windows. >> >> Currently I am downloading Windows installers from the puppet master with the puppet:// syntax and the "file" type into a temporary directory c:\puppet_temp with subdirectories where necessary. Then after running the installers witht the "package" type, I was hoping to remove them with the "tidy" type. >> >> Is this the right approach > > Removing them will cause puppet to think they needed to be downloaded > the next time it runs. And then it will try to re-install the package. > >> or should we be planning to host our installers in a Windows-based file server and using running the installers with a UNC path? Will this be a future feature? > > UNC paths is on the roadmap http://projects.puppetlabs.com/issues/8657 > > Alternatively you might want to try out Simon''s module: > http://forge.puppetlabs.com/simondean/net_shareMy bad, this is for managing shares, not mounts (net use). See http://projects.puppetlabs.com/issues/13197>> Assuming the temp directory approach is correct, could I get your advice on the most lightweight way to copy the files, since I can''t use the checksum "none" setting, and I don''t need to check the files are present on each run, I plan to remove them after the package is installed correctly. >> >> Sorry for the noob question. Look forward to your responses. >> >> Thanks, Jason >> >> -- >> You received this message because you are subscribed to the Google Groups "Puppet Users" group. >> To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/noF9F-TV4rgJ. >> 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. >> > > Josh > > -- > Josh Cooper > Developer, Puppet LabsJosh -- Josh Cooper Developer, Puppet Labs -- 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.
Paul Tötterman
2012-Sep-18 06:51 UTC
Re: [Puppet Users] Right approach to Windows installers
> > UNC paths is on the roadmap http://projects.puppetlabs.com/issues/8657I''m using UNC paths with 2.7.19. Works fine. https://github.com/puppetlabs/puppet-docs/pull/100 Cheers, Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/fYKs1KhYBE8J. 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.
Hi Josh, I have realized my noob-ness since asking this question. I think it comes down to my mindset of thinking procedurally rather than in the puppet mindset of deterministically http://puppetlabs.com/blog/inside-puppet-about-determinism/ This are all great and useful comments: I will pass this on to my team! Thanks for being such a resourceful community! Cheers, JS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/PiEeYeF6C3EJ. 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.
Hi Paul, Thanks - good to know. I will double-check our server and client versions today. JS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/uDL9bVm9gtAJ. 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.