Issue #2740 has been updated by Nigel Kersten.
Assigned to set to Nigel Kersten
I can take this one.
Oh that's horrible. I had no idea the pkgdmg provider did this with non-http
urls.
lines: 75-77
<pre>
cached_source = source
if %r{\A[A-Za-z][A-Za-z0-9+\-\.]*://} =~ cached_source
cached_source = "/tmp/#{name}"
</pre>
That's the problem. What would be your desired behavior? Seems like we have two
choices if the source refers to an existing filesystem path:
a) mount from that location, no deletion.
b) copy to /tmp, mount, install, delete from /tmp
----------------------------------------
Bug #2740: pkgdmg provider should not be deleting package files
http://projects.reductivelabs.com/issues/2740
Author: Ben Hearsum
Status: Accepted
Priority: Normal
Assigned to: Nigel Kersten
Category: package
Target version:
Affected version: 0.24.8
Keywords:
Branch:
Currently, the only good way to install packages through the pkgdmg provider is
to run an HTTP service. For our setup, this is far from ideal. We keep an NFS
mount on all our managed machines, and serve files through that.
In my opinion, the pkgdmg provider should never be deleting files. At the very
least, it should be optional behaviour.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---