Custom Munki Conditional Items

Courtesy of Heig Gregorian, munkitools 0.8.2 Build 1459 (and later) now has the ability to add custom conditional item entries using your favorite scripting language (Ruby, Python, bash). It does this by executing compatible scripts in /usr/local/munki/conditions to write key/value pairs to the newly added ConditionalItems.plist which lives in the Managed Installs directory, /Library/Managed Installs by default. Heig has updated the ConditionalItems wiki page on the Munki project page to reflect the added functionality. This very welcome addition allows for some very interesting customization of Munki’s conditional_items functionality and I thank Heig for writing the code and Greg for merging it into munkitools.