JSS: AutoPkg: Add Local Repositories

I use the excellent AutoPkgr, in conjunction with JSSImporter. It runs every night to download and create packages. I have it on my master distribution point. 

However, it currently (1.3.2) supports only SMB and AFP distribution points. 

If you need to setup a local repository, follow these steps. Make sure you change the index number if needed (here=0).

# defaults delete ~/Library/Preferences/com.github.autopkg.plist JSS_REPOS
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS array" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0 dict" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:name string local" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:type string Local" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:mount_point string /Users/Shared/JAMFDistrib" ~/Library/Preferences/com.github.autopkg.plist
/usr/libexec/PlistBuddy -c "Add :JSS_REPOS:0:share_name string JAMFDistrib" ~/Library/Preferences/com.github.autopkg.plist
autopkg run /Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/JSS/MalwarebytesAntiMalware.jss.recipe 

Here's how it looks after:

    "JSS_REPOS" =     (
            "mount_point" = "/Users/Shared/JAMFDistrib";
            name = local;
            "share_name" = JAMFDistrib;
            type = Local;

Please bump ER: python-jss: Add Local Repositories #463 if you feel this should be implemented.