Issue #21091 has been updated by Andrew Parker.

Status changed from Merged - Pending Release to Closed

Released in 3.3.0

----------------------------------------
Bug #21091: pkgdmg provider fails if the URL 404's
https://projects.puppetlabs.com/issues/21091#change-99472

* Author: Dustin Mitchell
* Status: Closed
* 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to