#! /bin/bash### This script checks for a value in the fourth custom field set by ARD/DeployStudio### and then the computer name (in the Sharing prefpane).### If a value exists in the custom field, it sets the Client Identifier in### ManagedInstalls.plist to that value, other wise it sets the ClientIdentifier to### the Computer Name.SYSCLIENTID=$(scutil --get ComputerName)CUSTCLIENTID=$(defaults read /Library/Preferences/com.apple.RemoteDesktop Text4)if [ -n "$CUSTCLIENTID" ]thendefaults write /Library/Preferences/ManagedInstalls ClientIdentifier $CUSTCLIENTIDelsedefaults write /Library/Preferences/ManagedInstalls ClientIdentifier $SYSCLIENTIDfiexit 0
Dear Cedric
I don't have actually Munki in prod, but I plan to so I have to answer to this question for myself.
So I'll give my opinion and I hope if I say a stupid think, someone will tell it.
As you say, Munki give you ability to have either a ClientIdentifiers for each computer or some ConditionalItems.
Personally, I think there's no interest in a deployment solution that is not centralized.
In case of changes, if I have to connect to a computer to add a software in the ConditionalItems.plist manually,
I'll stop with munki and install the soft manually.
In an other hand, centralized means "in one point".
Having an inventory here, a directory there, and a list of ClientIdentifiers and manifest in a 3th place looks to be the way to have inconsistencies.
So the most elegant solution for me is to use the directory.
AD, OD or whatever, It's still a directory. You can create computer groups, isn't it ?
Why don't you make a short bash script that will ask AD,
It check for computer groups and if your client is in the "Mac-Photoshop-CS5" group,
then your script write a line in the local ConditionalItems.plist
I didn't made script for AD from few year, but I suppose it's still in the same way,
you can either use dscl or ldapsearch. The script can be handled and deployed by Munki and once it's done,
all you'll have to do is to keep your AD clean, which is a good think, no ?
My 2 cents
Nicolas Michel
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Joe,Sorry to resurrect this post from a while ago. I like your management method for managing your clients. I wondered if you might share your insight into how your script creates the manifests?
I was thinking about how your DS booted client creates it's manifest before "attaching" to it. My machines live in a sub folder called "machines". I guess your passing the client name from DS to a php script (via http?) which creates an empty manifest?
Any clues to this part of your setup would be really useful. My set up is currently nested groups would like to move it to individual clients then nested groups and getting this part of the DS deployment working would be the icing on the cake.Really brilliant DS tool by the way!Thanks,Anthony.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
It's kinda eerie that this thread was brought alive again as my co-workers and I were just discussing this functionality of Munki this week. We were curious if the community, most notably the Munki Developers, would be willing to potentially change the order of precedence for a client looking for manifests. We would be interested in seeing it work pretty much exactly the way Chris was originally asking about at the start of this thread.Our scenario:We deploy around 300 computers with Munki, with growing interest from other departments and groups on campus. Currently, we have been using munki-enroll (https://github.com/edingc/munki-enroll) to create machine specific manifests and having them include area/lab/department specific manifests. While this works, I find it to be a bit messy and unnecessary as we now have about 290 manifests that do not have any additional software beyond what is in the included area/lab/department specific manifest.We would like to be able to only need our core manifests (about 7) for each area/lab/department and configure our clients with a ClientIdentifier. If a machine needs any special or additional software, we would like to be able to create a machine specific manifest that would "overrule" the ClientIdentifier.If the order of precedence changed from:ClientIdentifier, FQDN, "Short" hostname, Serial Number, "site_default"toFQDN, "Short" hostname, Serial Number, ClientIdentifier, "site_default"we would be able to achieve this configuration without (from what I can tell) effecting anyones current munki configuration.
<mailto:munki-dev%2Bunsu...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
Joe Wollard
--
You received this message because you are subscribed to the Google
Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to munki-dev+...@googlegroups.com
<mailto:munki-dev%2Bunsu...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
Nathan Felton
@n8felton <https://www.twitter.com/n8felton>