Issue #11108 has been updated by Juan Ignacio Donoso.

Status changed from Accepted to In Topic Branch Pending Review

https://github.com/puppetlabs/puppet/pull/1648

----------------------------------------
Bug #11108: The pkgdmg provider is functionally dependent on the resource title.
https://projects.puppetlabs.com/issues/11108#change-91014

* Author: Pieter van de Bruggen
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: 
* Category: OSX
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
At least in Lion, if your resource title does not end in `.pkg`, the 
`installer` application will fail.

Full story:

 * Your package `source` is downloaded by `curl` to `/tmp/${resource_title}`.
 * `/usr/sbin/installer` is then pointed at the downloaded file.
 * `/usr/sbin/installer` will not attempt to install a file whose name doesn't 
end in `.pkg`.

Potential solutions:

 * Download files to `/tmp/${resource_title}/${actual_filename}`.
 * Fail early if the resource title does not end in `.pkg`.


-- 
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://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to