Issue #21091 has been reported by Dustin Mitchell.
----------------------------------------
Bug #21091: pkgdmg provider fails if the URL 404's
https://projects.puppetlabs.com/issues/21091
* Author: Dustin Mitchell
* Status: Unreviewed
* Priority: Normal
* Assignee: Dustin Mitchell
* Category:
* Target version:
* Affected Puppet version: 3.2.1
* Keywords:
* Branch:
----------------------------------------
pkgdmg correctly handles actual errors from curl, e.g., if the URL is malformed
or no connection is possible. However, if the result is a 404, curl returns 0,
and you get the confusing error,
Error: Execution of '/usr/bin/hdiutil mount -plist -nobrowse -readonly
-noidme -mountrandom /tmp
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/d20130605-3442-w3evsd/xx'
returned 1: hdiutil: mount failed - not recognized
Error: /Stage[main]//Package[xx]/ensure: change from absent to present
failed: Execution of '/usr/bin/hdiutil mount -plist -nobrowse -readonly -noidme
-mountrandom /tmp
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/d20130605-3442-w3evsd/xx'
returned 1: hdiutil: mount failed - not recognized
--
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.