feature request munkiimport

24 views
Skip to first unread message

Nico Bos

unread,
Jan 23, 2025, 2:13:24 PMJan 23
to munki-discuss
Hello Gregory (or any other developer),

When running munkiimport I would like to be able to include parameters for Category and Developer, resulting in that information is automatically added to the pkgsinfo file by munkiimport.
Would that be possible?

For instance: munkiimport --no-interactive --extract_icon --developer 'Mozilla' --category 'Internet' <<path to Firefox dmg>>

All the best,
Nico

Gregory Neagle

unread,
Jan 23, 2025, 2:46:40 PMJan 23
to munki-...@googlegroups.com, munki-discuss
1) Those options already exist. Look at “munkiimport —help”. 

2) It looks like you might be trying to do some automation of Munki imports. Might I suggest a look at Autopkg? https://github.com/autopkg/autopkg

Sent from my iPhone

On Jan 23, 2025, at 6:13 AM, Nico Bos <nico...@amac.nl> wrote:


--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/7d210858-f9d8-4bd7-9511-c605cbe6d713n%40googlegroups.com.

Nico Bos

unread,
Jan 27, 2025, 9:14:37 AMJan 27
to munki-...@googlegroups.com, munki-discuss

Thank you for your reply,Gregory. Sorry I overlooked munkiimport –help.

I am indeed looking into Autopkg, but I am not sure if it is future proof. At least most of the public available recipes are very old. That makes me wonder if autopkg itself is also outdated.

 

Met vriendelijke groet,
Nico Bos

 

Amac

Nico Bos

Solutions consultant

0621112501

nico...@amac.nl

LinkedIn

Amac The Wall

Proostwetering 3

3543 AB Utrecht

+31302490123

 

De inhoud van dit bericht is alleen bestemd voor de geadresseerde en kan vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht onbedoeld heeft ontvangen, verzoeken wij u het te vernietigen en de afzender te informeren. Het is niet toegestaan om een bericht dat niet voor u bestemd is te vermenigvuldigen, dan wel te verspreiden. De genoemde prijzen zijn onder voorbehoud van tussentijdse wijzigingen. Aan dit bericht inclusief eventuele bijlagen kunnen geen rechten ontleend worden. Amac aanvaardt geen enkele aansprakelijkheid voor schade en/of kosten die voortvloeien uit onvolledige en/of foutieve informatie in e-mailberichten. Bekijk de algemene voorwaarden van Amac op www.amac.nl.

 

 

--
You received this message because you are subscribed to a topic in the Google Groups "munki-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/munki-discuss/abKyTwgxRUQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to munki-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/munki-discuss/2EB7929A-BE0A-4D17-B3FF-79D9F2A26130%40mac.com.

Nick McSpadden

unread,
Jan 27, 2025, 4:08:32 PMJan 27
to munki-...@googlegroups.com
The recipes are old because they haven't needed to change, as they still work. The ecosystem is alive and well, and there are many users of it. The code itself doesn't change much anymore, but it works fine, and the design is well suited for future proofing because of its flexibility.



--
--
Nick McSpadden
nmcsp...@gmail.com

Greg Neagle

unread,
Jan 27, 2025, 4:13:14 PMJan 27
to munki-...@googlegroups.com
I’ll also note that there are recipes updates nearly daily (perhaps weekends excepted) within the recipe repos at https://github.com/autopkg Recipes that work don’t need to be updated, but sometimes vendors will change URLs or package formats or behaviors that break recipes, requiring them to be updated.

You can either reinvent all that affect and work yourself by writing your own software import automation scripts, or allow other Mac admins to help you (via the Autopkg recipes they’ve shared).

On Jan 27, 2025, at 8:08 AM, Nick McSpadden <nmcsp...@gmail.com> wrote:

The recipes are old because they haven't needed to change, as they still work. The ecosystem is alive and well, and there are many users of it. The code itself doesn't change much anymore, but it works fine, and the design is well suited for future proofing because of its flexibility.

On Mon, Jan 27, 2025 at 1:14 AM Nico Bos <nico...@amac.nl> wrote:

Thank you for your reply,Gregory. Sorry I overlooked munkiimport –help.

I am indeed looking into Autopkg, but I am not sure if it is future proof. At least most of the public available recipes are very old. That makes me wonder if autopkg itself is also outdated.

 

Met vriendelijke groet,
Nico Bos

 

<image001.png>

Alan

unread,
Jan 27, 2025, 4:13:25 PMJan 27
to munki-...@googlegroups.com
Deprecated recipes can also be marked as deprecated, and they often are. But, as Nick said, the whole point of the recipe is that it shouldn't change, because you're often doing the same thing over and over again. Usually, recipes change only if the vendor suddenly decides to issue the software in a different way.

But if you're creating your own workflow, you can create and maintain your own recipe, which you know won't be unmaintained, because you're the one maintaining it. Chances are, for popular software, there's an existing recipe, though.

Nico Bos

unread,
Jan 28, 2025, 8:10:39 AMJan 28
to munki-...@googlegroups.com

That’s great to hear! Thanks for your help, I will start with a deep dive into Recipe Robot.

 

Met vriendelijke groet,
Nico Bos

 

Amac

Nico Bos

Solutions consultant

0621112501

nico...@amac.nl

LinkedIn

Amac The Wall

Proostwetering 3

3543 AB Utrecht

+31302490123

 

De inhoud van dit bericht is alleen bestemd voor de geadresseerde en kan vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht onbedoeld heeft ontvangen, verzoeken wij u het te vernietigen en de afzender te informeren. Het is niet toegestaan om een bericht dat niet voor u bestemd is te vermenigvuldigen, dan wel te verspreiden. De genoemde prijzen zijn onder voorbehoud van tussentijdse wijzigingen. Aan dit bericht inclusief eventuele bijlagen kunnen geen rechten ontleend worden. Amac aanvaardt geen enkele aansprakelijkheid voor schade en/of kosten die voortvloeien uit onvolledige en/of foutieve informatie in e-mailberichten. Bekijk de algemene voorwaarden van Amac op www.amac.nl.

 

 

Van: munki-...@googlegroups.com <munki-...@googlegroups.com> namens Alan <alan...@gmail.com>
Datum: maandag, 27 januari 2025 om 17:16
Aan: munki-...@googlegroups.com <munki-...@googlegroups.com>
Onderwerp: Re: [munki-discuss] feature request munkiimport

U ontvangt niet vaak e-mail van alan...@gmail.com. Ontdek waarom dit belangrijk is

Reply all
Reply to author
Forward
0 new messages