Issue #18164 has been updated by Gary Larizza.
At first glance, this seems reasonable. Checking out the Munki thread (and knowing Greg Neagle's ability to track down issues) confirms what Roy had said. I don't see an issue in setting the environment variable. I'll work up some code when I get a moment and check it out. ---------------------------------------- Bug #18164: pkgdmg provider broken for some packages on mountain lion https://projects.puppetlabs.com/issues/18164#change-79122 Author: Roy Nielsen Status: Investigating Priority: Normal Assignee: Gary Larizza Category: Target version: Affected Puppet version: 3.0.2-rc3 Keywords: dmg unmount Branch: This has apparently been an issue for a while. Some packages hang, or won't unmount when trying to install via puppet - specifically Office2011-1423UpdateEN.dmg. Munki had a similar issue - there is a fix (in python) on the munki mailing list ( https://groups.google.com/forum/#!msg/munki-dev/nD02mB7iXwM/MaJ1YU0ZMwMJ ) <pre> os.environ['__CFPREFERENCES_AVOID_DAEMON'] = "1" </pre> Would it be possible to add this to the pkgdmg provider - just for 10.8 (and above)? Adding this environment variable in code that calls puppet fixed the issue. Thanks, -Roy -- 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.
