Skip to content

Instantly share code, notes, and snippets.

@bochoven
bochoven / munki_rebrand.py
Last active October 19, 2016 10:43
Rebrand Munki 2 with a custom name and custom icon
#!/usr/bin/python
# encoding: utf-8
#
# Arjen van Bochoven Oct 2014
# Script to rebrand/customize Managed Software Center
#
# Prerequisites: You need Xcode (5/6) installed
# For Xcode 6 you need to add the 10.8 SDK
# See: https://github.com/munki/munki/wiki/Building%20Munki2%20Pkgs
#
@bochoven
bochoven / gist:6dec8309e0e31d5b0c74
Last active August 29, 2015 14:07
Munki managed printer
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>production</string>
</array>
#!/bin/sh
# Script by rtrouton
# Cleanup by Arjen van Bochoven (oct 2013)
# Get major OS version (uses uname -r and bash substitution)
# osvers is 10 for 10.6, 11 for 10.7, 12 for 10.8, etc.
osversionlong=$(uname -r)
osvers=${osversionlong/.*/}
# Checks to see if the OS on the Mac is >= 10.7
@bochoven
bochoven / dropbox_disable_helper.plist
Created July 13, 2012 11:17
Munki pkgsinfo file disabling dropbox helper haxie
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>production</string>
</array>