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