Autopkgr

ChrisTech
Contributor

I just got autopkgr installed and it's copying the built packages to my distribution point. What it's not doing is creating a policy. I've checked that the account has the privileges specified in the readme. I don't see anything helpful in the logs. Anything else that I can check? The category already exists in Jamf, so it should just show up in the category?

8 REPLIES 8

sdagley
Esteemed Contributor II

@ChrisTech Is the recipe something you created, or one someone else wrote? And is the recipe using the JamfUploader JamfPolicyUploader processor (see https://github.com/grahampugh/jamf-upload/wiki/JamfUploader-AutoPkg-Processors), or just a JamfPackageUploader processor?

ChrisTech
Contributor

It's not something I created, it's using the JamfUploader integration inside AutoPkgr. I am testing out the 'zoom.us.jamf' recipe. 

sdagley
Esteemed Contributor II

Can you post a link to that recipe? It's possible the only thing that recipe does is upload a package since some/most people may not want an autopkg recipe creating policies for them.

ChrisTech
Contributor

sdagley
Esteemed Contributor II

That recipe make use of JSSImporter, and if you look at the JSSImporter GitHub page it shows the following message:

This project is deprecated and is likely to stop functioning with upcoming versions of Jamf Pro. Please consider using JamfUploader instead.

ChrisTech
Contributor

I posted the wrong one. The link now is to the correct recipe. 

sdagley
Esteemed Contributor II

Have you created the JamfPolicyTemplate.xml template file that recipe relies on? See https://github.com/grahampugh/jamf-upload/wiki/JamfUploader-Templates for more info on JamfUploader templates.

ChrisTech
Contributor

Thanks @sdagley that got me pointed in the right direction. It still wasn't working for me because the package was uploaded already and I needed to do a 

autopkg run zoom.us.jamf --key replace_pkg=True

before it would show up. Thanks for the link.