Issue #17898 has been updated by Ryan Collins.

Slowly getting the hang of this... Submitted a pull request:
https://github.com/puppetlabs/puppet/pull/1312

Took code that fixed this in Heira for Ruby 1.8.5. :-)
----------------------------------------
Bug #17898: pkgdmg provider broken since version 2.7.13 under OS X 10.5 Leopard
https://projects.puppetlabs.com/issues/17898#change-78177

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.

Reply via email to