Hi all,

I've been looking into having Puppet deploy some larger files and I'm
noticing that it ties up puppetmasters quite a bit and can often
result in a timeout if the file is too large. Before I submit a
feature request for a http method for file sources, I would throw it
out to the group and see if anyone had any thoughts on it.

Possible benefits of a HTTP source could be shifting some filefile
serverd from Puppet on larger installs (especially useful if you need
to deploy larger files like packages). Another possible benefit could
be the ability to generate files using sources external to Puppet -
ie. cgi script on remote server generates config file (yes, I know you
could do it with a template, but maybe this isn't good in all
cases...)

The main question would be in terms of how to detect file changes
without a full transfer - HTTP does provide some mechanisms for
checking this, but I'm not sure if they would be adequate if scripting
responses through HTTP...

My main reason for wanting this is to allow me to deploy files through
firewalls where NFS is not possible (ie. DMZ) and Puppet is not able
to keep up...

For those wanting the specific example, I'm deploying Sun Explorer
through the install_stb.sh file (30+ Mb.) then executing it to install
the packages. The install file fails to download when using "puppet:///
explorer/install_stb.sh" as a source as it takes too long and Puppet
chops it off as a timeout.

Yes, I know I can do it through a package resource, but the SUNWsneep
component won't install then - running "pkgadd -d http://server/SUNWsneep.pkg
-a adminfile -r responsefile" does not work - pkgadd refuses to do a
response file with a http datastream.

So what does everyone think? Is a HTTP source for files feasable?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to