Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

MunkiReport Setup

Clayton Burlison edited this page Oct 18, 2016 · 5 revisions

With the release of MunkiReport 2.8.2 a location module has been added. pinpoint is the backend that provides that module with data. By default no changes are needed for pinpoint to work with MunkiReport however if you wish to make changes using the built in Preferences that is supported.

Note: Do not change the CacheDir preference key as that will break reporting.

Setup (Manual)

For MunkiReport users it is recommended that you set pinpoint as an update_for your Munkireport package.

  1. Download pinpoint.
  2. Import pinpoint with munkiimport
$ munkiimport ~/Downloads/pinpoint-0.0.3.pkg --update_for="Munkireport" --unattended_install
      Item name [pinpoint]: 
   Display name [pinpoint-0.0.3]: pinpoint
    Description: A corporate utility to help locate your Mac in case of theft.
        Version [0.0.3]: 
       Category: Utilities
      Developer: Clayton Burlison
       Catalogs [testing]:           

      Item name: pinpoint
   Display name: pinpoint
    Description: A corporate utility to help locate your Mac in case of theft.
        Version: 0.0.3
       Category: Utilities
      Developer: Clayton Burlison
       Catalogs: testing

Import this item? [y/n] y
Upload item to subdirectory path []: apps/pinpoint
Path /Users/Shared/munki_repo/pkgs/apps/pinpoint doesn't exist. Create it? [y/n] y
No existing product icon found.
Attempt to create a product icon? [y/n] n
Copying pinpoint-0.0.3.pkg to /Users/Shared/munki_repo/pkgs/apps/pinpoint/pinpoint-0.0.3.pkg...
Saving pkginfo to /Users/Shared/munki_repo/pkgsinfo/apps/pinpoint/pinpoint-0.0.3.plist...
Rebuild catalogs? [y/n] y
Rebuilding catalogs at /Users/Shared/munki_repo...

Setup (AutoPkg)

For MunkiReport users it is recommended that you set pinpoint as an update_for your Munkireport package. If you are an AutoPkg user you can use the following instructions to setup AutoPkg:

  1. Add the repo

    autopkg repo-add https://github.com/autopkg/clburlison-recipes
  2. Create an override recipe

    autopkg make-override pinpoint.munki
  3. Modify your recipe override to include the update_for array inside of the pkginfo dictionary.

    <key>update_for</key>
    <array>
    	<string>Munkireport</string>
    </array>

More information regarding AutoPkg and override files can be found on the AutoPkg Wiki