Issue #17898 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Ryan Collins
Hi Ryan thanks for the report -- Maybe a util/monkey_patch.rb stanza for dir? Ruby 1.8.6 is technically supported for 2.7.x (though not 3.0.x) but it looks like appdmg and pkgdmg providers are the only things in the codebase that use `Dir.mktmpdir` so it's not unsurprising this didn't get caught. Do you know what the pre-1.8.7 solution for mktmpdir was, and feel comfortable either changing the providers in a Ruby-implementation-independent way or sending in a monkey patch to add it? If not feel free to assign the ticket back to me. ---------------------------------------- Bug #17898: pkgdmg provider broken since version 2.7.13 under OS X 10.5 Leopard https://projects.puppetlabs.com/issues/17898#change-78017 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.
