# File lib/puppet/provider/package/pkgdmg.rb, line 64 64: def self.installpkg(source, name, orig_source) 65: installer "-pkg", source, "-target", "/" 66: # Non-zero exit status will throw an exception. 67: File.open("/var/db/.puppet_pkgdmg_installed_#{name}", "w") do |t| 68: t.print "name: '#{name}'\n" 69: t.print "source: '#{orig_source}'\n" 70: end 71: end