Using AirWatch with Munki
So you want to use AirWatch, but you're unsure about the viability of their Self Service or package management system. I understand. Let me show you how to do it basically.
You need 3 Devices > File/Actions:
- Munki Tools: Download and install latest release. Then upload it to /Library/AW and set Manifest to Install=/Library/AW/munkitools-xx.yy.pkg
- Munki Bootstrap: Run=/usr/bin/touch /Users/Shared/.com.googlecode.munki.checkandinstallatstartup
- Munki Forcerun: Run=/usr/local/munki/managedsoftwareupdate --auto
I'm aware Forcerun is bad practice and you should reboot before. But I was told by Greg that worst case scenario nothing works until next reboot. I think I'm safe enough.
You need 1 Devices > Products:
- Create a product that includes the three File/Actions before.
You need 1 Devices > Profiles:
- Custom Settings
<dict> <key>PayloadDisplayName</key> <string>MacLovin - Munki (Demonstration Setup)</string> <key>PayloadEnabled</key> <true /> <key>PayloadIdentifier</key> <string>org.maclovin.munki.test</string> <key>PayloadUUID</key> <string>8214F1A8-0E65-422C-A82C-088502A14FD6</string> <key>PayloadType</key> <string>ManagedInstalls</string> <key>PayloadVersion</key> <integer>1</integer> <key>SoftwareRepoURL</key> <string>http://munki.maclovin.org/munki_repo</string> <key>ClientIdentifier</key> <string>test_munki_client</string> </dict>
Now have fun and let me know!