Issue #18164 has been updated by eric sorenson.

Status changed from Unreviewed to Investigating
Assignee set to Gary Larizza
Affected Puppet version set to 3.0.2-rc3

Gary, what do you think?

(Aside: i should really get me some mountain lion at some point -- that whole 
"mountain lion up-to-date program" just didn't work out for me)
----------------------------------------
Bug #18164: pkgdmg provider broken for some packages on mountain lion
https://projects.puppetlabs.com/issues/18164#change-79118

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.

Reply via email to