So you have munki and munkwebadmin setup and now need to make sure your clients are checking in to munkiwebadmin. Here’s how I do it.
1. Install munki tools on client machines.
– Go here and download the munki tools.
http://code.google.com/p/munki/downloads/list
– Either install manually on each machine or push out the installer package with ARD. BE WARNED it will force an immediate restart.
2. Edit URL in Client scripts.
– Go to /Users/Shared/munkiwebadmin_env/munkiwebadmin/scripts/For Clients on the machine you installed munki on.
– Right click on “post flight” file, select “open with”. I use gedit with a custom theme, Xcode is another good choice, but you can use Text Editor if nothing else.
– Change the first line BASEURL to the IP or DNS name of your munki machine. Make sure to leave the port 8000 . If you choose to use the DNS name make sure you have correct DNS records by doing a forward and reverse lookup.
Example
BASEURL="IP of munki machine:8000"
– Save the file when finished.
– Repeat this step on the “preflight” and “Report_broken_Client” files.
3. Copy scripts to client machine
– Copy the files to the client machine, put them in the /usr/local/munki folder.
– Again, lots of options on how to get them to the client. Manual is fine for testing, in a production environment I would consider an installer package. I’m just using ARD to copy from my machine to the clients.
– Make sure the files copied have a 755 permission set. Without getting too deep the easiest way to make sure they have the right permissions, is to right click the /usr/local/munki folder and say “Get Info”. Select the lock in the bottom right and authenticate as an admin.Then click the gear and select “Apply to enclosed items …”. This will propagate the permission down to the files you just added.
4 Run Managed Software Update on the client
– Run Manage Software Update was installed by munki tools. You can find it in /Applications/Utilities
– After you run it, open munkiwebadmin
5. Log into munkwebadmin
– Open a web browser and go to your munkiwebadmin IP, in my case it’s 192.168.10.26:8000
– You should see a new client machine has checked in.