hjuutilainen / munkiadmin

macOS app for managing Munki repositories
MIT License
371 stars 34 forks source link

Feature request: display name for conditions #199

Open anewhouse opened 3 years ago

anewhouse commented 3 years ago

Adding a display name field for each condition would be amazing - just like manifests, if the display name field is blank or doesn't exist you can still show the actual condition, but if a display name is set you can show the display name instead.

Just as an example, we have a condition where it says NOT (serial_number IN { 'serial 1', 'serial 2', 'serial 3' })- it would be really nice to have a display name of "Java exclusions" so that I know what that condition is for without having to look through the list of managed_installs, managed_uninstalls etc.

I did try adding a display_name key & value to a condition in a manifest and Munki still processes the condition without any errors.

majorsl commented 1 year ago

I've wished for something like this more times than I can count. I wonder if your feature request would be better proposed over at the munki-dev group? If it's an official key it would be consistent with Munki and others could use it too, even as a "comment" like you did for those who prefer editing directly.