How to push munkitools to clients via package with choices

357 views
Skip to first unread message

Kostas Backas-Gmail

unread,
Oct 31, 2014, 10:47:33 AM10/31/14
to munk...@googlegroups.com
Hello, sorry if this mentioned before,
I need to push munkitools to clients via a DeployStudio package with choices (not admin and no launchd items, since they will move after setup).

Best regards

Kostas

gregn...@mac.com

unread,
Oct 31, 2014, 11:17:19 AM10/31/14
to munk...@googlegroups.com
If you aren't installing the launchd items, don't bother installing the GUI apps, either, since they won't work.

That leaves the core tools. Expand the pkg, copy out the core tools pkg, flatten it. Use that.

I don't think DeployStudio has a workflow that includes ChoiceChangesXML when installing distribution pkgs.

-Greg

Brandon Kerns

unread,
Oct 31, 2014, 4:33:21 PM10/31/14
to munk...@googlegroups.com
I just opened the official package in "Flat Package Editor", drug the Distribution file out, edited it with the choices how I wanted them to be, and added my customized Distribution file back into the package and saved it. Works like a charm. I even customized it to include an additional config package that sets our basic server settings, custom launchd for our maintenance window, and our preflight/postflight scripts.

Erik

unread,
Oct 31, 2014, 7:17:51 PM10/31/14
to munk...@googlegroups.com
You don't even have to do that. Extract the sub packages and put them in the "packages" folder for your DS instance. You can install one (or more) components this way. If you put them in their own workflow, you can then embed that workflow as a nested item and you don't have to update each workflow when a new Munki build comes out.

costasppc

unread,
Nov 3, 2014, 12:25:16 PM11/3/14
to munk...@googlegroups.com
Thank you all,
I will keep the launchd items. I asked since one of our main Munki usage is configuration of machines that will leave our network and go to the client. So then the launchd wont be needed again.

Best regards

Kostas

costasppc

unread,
Nov 3, 2014, 2:01:21 PM11/3/14
to munk...@googlegroups.com
Thank you, 

So, OK, for educational reasons. I have extracted the packages from the installer using pkgutil --expand. I just copy the resulted packages to DS? Don't I have to flatten them, so they can run individually?

Best regards

Kostas

Τη Σάββατο, 1 Νοεμβρίου 2014 1:17:51 π.μ. UTC+2, ο χρήστης Erik έγραψε:

Stefan Vogel

unread,
Apr 17, 2015, 7:19:33 AM4/17/15
to munk...@googlegroups.com
Dear Brandon
We'd like also to have our config of the server to be implemented. Cloud you tell me more about that config package? Do you have a template?

Thank you in advance
o-o Stefan

Stefan Vogel

unread,
Apr 17, 2015, 1:56:52 PM4/17/15
to munk...@googlegroups.com
Done. I managed to create a package (with the App "Packages") with our server-munki-config and integrate it in the munki-installer-package (which I opened with "Package Maker" as it can open the flattened installerpackage of the munkiinstaller) from an elderly xcode. Out of Package Maker I could bild the new installer. Works fine.

o-o Stefan
Reply all
Reply to author
Forward
0 new messages