Bug #10986
"Failed to mount" in appdmg/pkgdmg provider
| Status: | Accepted | Start date: | 11/21/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | package | |||
| Target version: | 2.7.x | |||
| Affected Puppet version: | 2.6.8 | Branch: | https://github.com/puppetlabs/puppet/pull/56 | |
| Keywords: | ||||
| Votes: | 0 |
Description
Mac OS X’s mount command sometimes complains “failed to mount – not recognized” for the downloaded file, and even if I haven’t fully understood when/why this happens, using a .dmg or .pkg file extension for the temporary file seems to be a working solution.
The pull req is over there: https://github.com/puppetlabs/puppet/pull/56/
Related issues
History
Updated by Josh Cooper 6 months ago
- Target version set to 3.X
- Branch set to https://github.com/puppetlabs/puppet/pull/56
Hi Mattias,
Which version of puppet were you seeing this issue? I tried reproducing on 2.7.x, but wasn’t able to get mount to fail. If you find any more info about why this happens, please let us know.
Updated by Matthias Pigulla 6 months ago
Puppet 2.6.8.
However, I am sure it’s not related to the Puppet version itself. When I digged into this I manually downloaded the .dmg file in question with the same wget command (taken from puppet’s —debug) and tried to mount it.
As I said, I don’t really know why this happens (or if it happens on all recent versions of OS X). But if the mount fails, simply renaming the file and trying the mount again works…
Updated by Josh Cooper 6 months ago
- Status changed from Unreviewed to Accepted
- Target version changed from 3.X to 2.7.x
- Affected Puppet version set to 2.6.8
Updated by Gary Larizza 4 months ago
- Assignee set to Gary Larizza