Skip to content

MunkiReport Setup

jelockwood edited this page Aug 22, 2018 · 3 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.

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-3.0.1]: pinpoint
    Description: A corporate utility to help locate your Mac in case of theft.
        Version [3.0.1]: 
       Category: Utilities
      Developer: John Lockwood
       Catalogs [testing]:           

      Item name: pinpoint
   Display name: pinpoint
    Description: A corporate utility to help locate your Mac in case of theft.
        Version: 3.0.1
       Category: Utilities
      Developer: John Lockwood
       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-3.0.1.pkg to /Users/Shared/munki_repo/pkgs/apps/pinpoint/pinpoint-3.0.1.pkg...
Saving pkginfo to /Users/Shared/munki_repo/pkgsinfo/apps/pinpoint/pinpoint-3.0.1.plist...
Rebuild catalogs? [y/n] y
Rebuilding catalogs at /Users/Shared/munki_repo...

[Autopkg instructions still to be updated - ignore for now]

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