Mac OS X Thin Imaging Pt.3

So in the previous two parts of this Thin Imaging guide, we have looked at creating a base OS X image, and set up our Munki Repository using MunkiAdmin. In this third part of the series we will be looking at package creation using AutoPkgr.

Go ahead and download and install AutoPkgr. Autopkgr derives from AutoPkg (Note the ‘R’ and denotes the difference between them). AutoPkg automates the process of creating OS X packages. AutoPkgr is a GUI version and allows you to download preconfigured installers (known as recipes) from Github repos. This saves admins a lot of time, because the packages (or recipes) can be downloaded instead of created, added in to MunkiAdmin and deployed to client machines or Mac labs.

Once you launch AutoPkgr you will be presented with this screen:

Screen Shot 2015-11-12 at 13.15.26

As you can see, we already installed Munki Tools in Part 2, but now lets go ahead and install AutoPkg and Git by clicking on the install buttons.

Screen Shot 2015-11-12 at 13.18.07

Great! Now you can see all three green lights. I also checked the box to Launch AutoPkgr at login, because next we will configure it to automatically update the repos that we will add later, thus downloading all of the latest versions of applications like Adobe Flash for example.

Head on over to the Schedules tab. I set mine to scan the repos daily at 8PM. Set yours to suite your environment.

Screen Shot 2015-11-12 at 13.21.02

You can also set AutoPkgr to send you an email when new recipes are available. I am going to skip over that as I think it is pretty self explanatory.

Head to the Folders & Integration tab. Here we are going to choose where to store the repos and cache. You can leave these as default, but since I don’t want these stored on my system drive I am going to move them.

Screen Shot 2015-11-12 at 13.27.02

Once set, click on Configure Munki Tools. Here you want to point this at where you created you Munki Repository (remember I created mine in Part 2 called Munki_Repo).

Screen Shot 2015-11-12 at 13.28.34

Now it’s time to get to the good stuff. Head over to the Repos & Recipes tab. You can see listed a selection of Repos – these are places on Github where community users have uploaded there own Package Recipes for others to download and use. You can also manually add any repo that isn’t listed there by default.

As an example, we are going to go ahead and add the top Repo, by selecting the check box next to it.

Screen Shot 2015-11-12 at 13.31.14

You can see that once we add the repo in the Recipes box below fills up with the package recipes available in that repository.

Lets go ahead and select AdobeAir.munki. Once selected press Run Recipes Now:

Screen Shot 2015-11-12 at 13.38.49

After a few minutes the package will be downloaded and put in to your Munki Repository.

Screen Shot 2015-11-12 at 13.40.06

Download and add as many repos and recipes as you feel you will need for your network. As simple as that!

In part 4 of this Thin Imaging series we will take a look at how to work with these packages in MunkiAdmin and how to distribute them to client computers. Until next time, comments below please!

Print Friendly, PDF & Email