I just experimenting with Munki v2. My goal is to roll it into production this fall (after other projects are completed and Munki v2 is safe for public consumption, etc).
My Munki test server is up and running on OS X 10.9.4/Apache, and working well. I have two OS X 10.9.4 Mac test clients (manually) configured and ready to go as well. Im ready to widen my test to more Macs in my IT dept (not production!). I don't want to manually configure the clients. I need to automate it a bit for obvious reasons.
I will likely push out the Munki v2 test client to the IT test Macs via ARD. This is due to the fact that I don't have Munki, JAMF Casper Suite or other mechanisms in place for software distribution. ARD works fine for me in limited remote deployments.
If I understand correctly, I need to have a couple Munki parameters set for my existing Mac test clients in my environment, including these two important values:
<key>ClientIdentifier</key> = This is the manifest in which my test Macs will be organized in.
<key>SoftwareRepoURL</key> = This is the http FQDN URL of my Munki Repo test server.
How do you suggesting deploying the client install - specifically a customized ManagedInstalls.plist configuration file?
Off of the top of my head, it appears that I have (2) primary options for such a task:
1) Push-out the Munki v2 client package installer via ARD that installs both the Munki client core resources (i.e.; the Managed Software Center.app binary bundle, various launchd resources, etc) and a pre-configured /Library/Preferences/ManagedInstalls.plist file. The /ManagedInstalls.plist file would contain the settings/values described above.
OR
2) Push out the Munki v2 client pkg installer that installs the Munki client resources (launched files, Managed Software Center.app binary bundle, etc) and a post-install script that configures the /Library/Preferences/ManagedInstalls.plist file using the /usr/bin/defaults command.
An example script would look something like this:
#!/bin/sh
defaults write /Library/Preferences/ManagedInstalls ClientIdentifier standard_manifest
Once I get ready to deploy Munki v2 into production, I plan to tentatively push-out the Munki client to new Macs via DeployStudio, using one of the 2 options listed above. Existing Macs already in production will also likely use one of the two options described above as well. That is, unless you have a better idea on how to accomplish this.