Bug #11108
The pkgdmg provider is functionally dependent on the resource title.
| Status: | Accepted | Start date: | 11/30/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | OSX | |||
| Target version: | 2.7.x | |||
| Affected Puppet version: | Branch: | |||
| Keywords: | ||||
| Votes: | 0 |
Description
At least in Lion, if your resource title does not end in .pkg, the installer application will fail.
Full story:
- Your package
sourceis downloaded bycurlto/tmp/${resource_title}. /usr/sbin/installeris then pointed at the downloaded file./usr/sbin/installerwill 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.
Related issues
History
Updated by Josh Cooper 5 months ago
- Status changed from Unreviewed to Accepted
- Target version set to 2.7.x
This may be a duplicate of #10986, but at a minimum they are related
Updated by Sargurunathan M 4 months ago
- Category set to OSX