Issue #17898 has been updated by Ryan Collins.
Please bear with me, this is the first time I've ever submitted a patch. I fixed appdmg.rb and pkgdmg.rb and submitted a pull request: https://github.com/puppetlabs/puppet/pull/1311 The pre-1.8.7 version just hardcoded the temp location at /tmp. I expanded on this and appended a random directory. ---------------------------------------- Bug #17898: pkgdmg provider broken since version 2.7.13 under OS X 10.5 Leopard https://projects.puppetlabs.com/issues/17898#change-78060 Author: Ryan Collins Status: Needs More Information Priority: Normal Assignee: Ryan Collins Category: OSX Target version: 2.7.21 Affected Puppet version: 2.7.20 Keywords: Branch: I recently upgraded to 2.7.20 and noticed that the pkgdmg provider no longer works under 10.5 Leopard. The error is: err: /Stage[main]/Munki/Package[munkitools-0.8.3.1674.0.dmg]/ensure: change from absent to present failed: Could not set 'present on ensure: undefined method `mktmpdir' for Dir at /etc/puppet/manifests/classes/munki.pp:6 Manifest is: # Set Package resource defaults for OS X clients Package{ensure => installed,provider => pkgdmg} $munki = "munkitools-0.8.3.1674.0.dmg" package{"$munki": source => "http://munki/repo/pkgs/$munki",} I tested it under 2.7.6 - 2.7.13, and .13 is the version it broke on. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
