Update multiple policies in a recipe

15 views
Skip to first unread message

Novo

unread,
May 31, 2022, 9:12:05 AM5/31/22
to autopkgr-discuss
Hello, is updating multiple policies in a recipe supported with Autopkgr? It is updating one of my policies, but not all of them in the recipe. Looking at previous forums, that is not supported, but those were from 2014. Is that still not supported?

Elliot Jordan

unread,
May 31, 2022, 11:18:35 AM5/31/22
to Novo, autopkgr-discuss
Hello,

It sounds like you are using "jss" type recipes, which are now deprecated. You may want to consider switching to the JamfUploader family of recipes, which do let you create multiple policies in a single recipe. For more information, check out this blog post and conference session.

Elliot


On Tue, May 31, 2022 at 6:12 AM Novo <jnov...@shakopeeschools.org> wrote:
Hello, is updating multiple policies in a recipe supported with Autopkgr? It is updating one of my policies, but not all of them in the recipe. Looking at previous forums, that is not supported, but those were from 2014. Is that still not supported?

--
You received this message because you are subscribed to the Google Groups "autopkgr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkgr-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autopkgr-discuss/184d8f98-04f4-47e2-bc6f-d04f435adffan%40googlegroups.com.

Novo

unread,
May 31, 2022, 11:23:26 AM5/31/22
to autopkgr-discuss
Hmm interesting, because in my reading, it sounds like Autopkgr doesn't support YAML, which is what JamfUploader is written in. Or am I mistaken?
Thanks.

Elliot Jordan

unread,
May 31, 2022, 2:06:05 PM5/31/22
to Novo, autopkgr-discuss
Correct, AutoPkgr does not work with yaml recipes, which includes the "stub" recipe being used to point to the JamfUploader family of processors. You have two options:
  • You could transition to the autopkg command-line using something like autopkg-conductor.
  • Or you could host your own "stub" recipe in plist format, along with copies of the JamfUploader processors, in a local folder. This would allow your recipes to refer to JamfUploader processors while also being usable in AutoPkgr. (This is a bit more complex to maintain.)
Elliot

Reply all
Reply to author
Forward
0 new messages