Skip to main content
Question

Autopkgr

  • December 21, 2023
  • 8 replies
  • 26 views

Forum|alt.badge.img+8

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

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • December 21, 2023

@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?


Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 21, 2023

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


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • December 21, 2023

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


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.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 21, 2023

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • December 21, 2023

zoom.us.jamf 


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.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 21, 2023

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


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • December 21, 2023

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


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.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 22, 2023

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.