appdmg.rb

Path: lib/puppet/provider/package/appdmg.rb
Last Update: Wed Dec 09 12:54:29 -0800 2009

Jeff McCune <mccune.jeff@gmail.com> Changed to app.dmg by: Udo Waechter <root@zoide.net> Mac OS X Package Installer which handles application (.app) bundles inside an Apple Disk Image.

Motivation: DMG files provide a true HFS file system and are easier to manage.

Note: the ‘apple’ Provider checks for the package name in /L/Receipts. Since we possibly install multiple apps‘s from a single source, we treat the source .app.dmg file as the package name. As a result, we store installed .app.dmg file names in /var/db/.puppet_appdmg_installed_<name>

Required files

puppet/provider/package   open-uri   facter/util/plist  

Methods

Public Class methods

JJM We store a cookie for each installed .app.dmg in /var/db

Public Instance methods

[Validate]