autopkg / dataJAR-recipes

Elegant and powerful Apple services for business and education.
https://www.datajar.co.uk
Apache License 2.0
114 stars 83 forks source link

Adobe Console packages and yaml munki overrides "invalid file error" #368

Open pnerum opened 1 day ago

pnerum commented 1 day ago

We use yaml files for all our new munki recipe overrides. It seems that version 3 of the AdobeAdminConsolePackagesImporter.py doesn't go well with those recipes.

The last line of the output of the script is: ERROR: Attempting to convert the content of /Users/hradmin/Library/AutoPkg/RecipeOverrides/AdobeAnimate2024.munki.recipe.yaml to dict, failed with error error: Invalid file

I've tried 2 different recipe overrides that got the same output error.

Here's an example of a yaml override we use. I had to put .txt at the end otherwise I couldn't upload it to GH. AdobeAfterEffects2024.munki.recipe.yaml.txt

All best,

Patrick van Nerum

paul-cossey commented 1 day ago

I think that'll be because the updated processor writes back variables in to the override, can you use the standard plist formats for your data overrides?

pnerum commented 1 day ago

Hi Paul,

I certainly can! If it's not an easy/quick fix for you or Ben I'm totally fine to re-create the recipes in plist format!

macmule commented 1 day ago

@paul-cossey @pnerum they should support yaml.. just need to dig into it