Hi Allan,
Nothing significant has changed, but in the interest of having an all-in-one link I can point people to, I'll repeat the steps here.
The steps I would recommend are slightly longer and more manual, but should avoid some common issues. They are as follows:
- When setting up your new Mac, it saves a bit of time to use the same username for your local account as the username on your old Mac. If you don't, some preference settings may need to be updated manually.
- On the new Mac, install the latest version of AutoPkgr.
- Launch AutoPkgr and provide local admin credentials in order to install the helper tool.
- Either use AutoPkgr to install Git, or download and install the latest version from git-scm.com.
- Either use AutoPkgr to install AutoPkg, or download the latest AutoPkg release from GitHub and install it.
- If you need JSSImporter or the Munki tools, use AutoPkgr to install those, or download the latest releases from GitHub.
- Quit AutoPkgr.
- On your new Mac, create a folder at ~/Library/AutoPkg/RecipeOverrides, and copy your recipe overrides from the old Mac into that location. (Note that this is the default location; yours may be custom.)
- Copy your recipe list(s) from this location on your old Mac to the same location on your new Mac: ~/Library/Application Support/AutoPkgr/recipe_list.txt (Note that this is the default location; yours may be custom.)
- On your new Mac, launch AutoPkgr. In the Repos & Recipes tab, check the boxes for each repository you need. (This would include any repository that contains a parent recipe for the overrides in your recipe list. Also any parents of parents, if they live in separate repos.)
- Note: The reason I recommend re-adding the repos manually instead of trying to copy over the RecipeRepos folder is because Git is picky about permissions, and re-cloning will ensure you aren't held back by permissions issues later.
- If you use Munki, configure your Munki repo (in AutoPkgr: Folders & Integration > Configure Munki Tools).
- If you use JSSImporter, configure your distribution point information (in AutoPkgr: Folders & Integration > Configure JSSImporter).
- Set up your AutoPkgr schedule (in the Schedule tab) and notifications (in the Notifications tab).
- Parent recipe contents may have changed since you last updated the trust information in your overrides. Verify and update trust information in your overrides as you normally would.
- In the Repos & Recipes tab, click Run Recipes Now to make sure everything works as expected. Review any errors and troubleshoot if necessary.
However, if you're a power user who's very careful with permissions and relatively Git-savvy, you may be able to follow a shorter set of steps:
- Install the latest versions of AutoPkgr, Git, AutoPkg, and other tools you need (see links above).
- Quit AutoPkgr, if it's running.
- Copy these files from your old Mac to your new Mac:
- ~/Library/AutoPkg (optionally, skip the Cache subfolder)
- ~/Library/Preferences/com.github.autopkg.plist
- ~/Library/Preferences/com.lindegroup.AutoPkgr.plist
- ~/Library/Application Support/AutoPkgr
- /Library/LaunchDaemons/com.lindegroup.AutoPkgr.helper.plist
- /Library/LaunchDaemons/com.lindegroup.AutoPkgr.schedule.plist
- /Library/PrivilegedHelperTools/com.lindegroup.AutoPkgr.helper
- Relaunch AutoPkgr and ensure that your Schedule and Notifications tabs are configured as you expect.
- Note: If you use email notifications, you will need to configure your SMTP settings manually. This will recreate the AutoPkgr keychain located in ~/Library/Keychains.
- In the Repos & Recipes tab, click Run Recipes Now to make sure everything works as expected. Review any errors and troubleshoot if necessary.
Let me know whether that works for you. It's been a while since I've had to do this process, so the feedback would be useful. Thanks,
Elliot