Bug #11108

The pkgdmg provider is functionally dependent on the resource title.

Added by Pieter van de Bruggen 6 months ago. Updated 4 months ago.

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 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.

Related issues

related to Puppet - Bug #10986: "Failed to mount" in appdmg/pkgdmg provider Accepted 11/21/2011

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

Also available in: Atom PDF