[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Matthias Pigulla. The above PR at GitHub has been closed because it needs a rebase and lacks tests. Honestly, I am not a Ruby developer and afraid I won't be able to contribute these. What I can tell is that the following patch solves the problem at least in the appdmg provider and will probably work in a similar fashion for pkgdmg. pre --- a/modules/puppet/lib/puppet/provider/package/appdmg.rb +++ b/modules/puppet/lib/puppet/provider/package/appdmg.rb @@ -58,7 +58,7 @@ tmpdir = Dir.mktmpdir begin if %r{\A[A-Za-z][A-Za-z0-9+\-\.]*://} =~ cached_source -cached_source = File.join(tmpdir, name) +cached_source = File.join(tmpdir, name) + '.dmg' begin curl -o, cached_source, -C, -, -k, -L, -s, --url, source Puppet.debug Success: curl transfered [#{name}] /pre Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986#change-98685 * Author: Matthias Pigulla * Status: Code Insufficient * Priority: Normal * Assignee: * Category: package * Target version: * Affected Puppet version: 2.6.8 * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Andrew Parker. Target version deleted (2.7.x) Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986#change-80424 Author: Matthias Pigulla Status: Code Insufficient Priority: Normal Assignee: Category: package Target version: Affected Puppet version: 2.6.8 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Gary Larizza. Assignee deleted (Gary Larizza) Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986#change-67828 Author: Matthias Pigulla Status: Code Insufficient Priority: Normal Assignee: Category: package Target version: 2.7.x Affected Puppet version: 2.6.8 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Gary Larizza. Assignee set to Gary Larizza Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986 Author: Matthias Pigulla Status: Accepted Priority: Normal Assignee: Gary Larizza Category: package Target version: 2.7.x Affected Puppet version: 2.6.8 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Matthias Pigulla. Puppet 2.6.8. However, I am sure it's not related to Puppet 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 I happens on all recent versions of OS X). But if the mount fails, simply renaming the file and trying the mount again works... Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986 Author: Matthias Pigulla Status: Unreviewed Priority: Normal Assignee: Category: package Target version: Telly Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
[Puppet - Bug #10986] Failed to mount in appdmg/pkgdmg provider
Issue #10986 has been updated by Josh Cooper. Target version set to Telly 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. Bug #10986: Failed to mount in appdmg/pkgdmg provider https://projects.puppetlabs.com/issues/10986 Author: Matthias Pigulla Status: Unreviewed Priority: Normal Assignee: Category: package Target version: Telly Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/56 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/ -- 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 post to this group, send email to puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.