Issue #21091 has been updated by Adrien Thebo. Category set to OSX Status changed from Unreviewed to Merged - Pending Release Assignee deleted (Dustin Mitchell) Target version set to 3.3.0 Branch set to https://github.com/puppetlabs/puppet/pull/1693
Merged into master in cb4881f; this should be released in 3.3.0. ---------------------------------------- Bug #21091: pkgdmg provider fails if the URL 404's https://projects.puppetlabs.com/issues/21091#change-92636 * Author: Dustin Mitchell * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: OSX * Target version: 3.3.0 * Affected Puppet version: 3.2.1 * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/1693 ---------------------------------------- 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.
