This tool wraps up OS X profiles into pkgs.
This script can also import the packages to your munkirepo, via munkiiport. It will automatically create the necessary keys; installcheck_script, uninstall_Script, name, and minimum OS Version(10.7).
profilestopkg -m /path/to/com.myorg.cong.mobileconfig
profilestopkg -m /path/to/com.myorg.cong.mobileconfig -i
profilestopkg --mobileconfig [--packagename ] [--version ] [--importtomunki]
Options:
-h, --help show this help message and exit
-m MOBILECONFIG, --mobileconfig=MOBILECONFIG The Mobileconfig file you would like to have packages. You must use the absolute Path.
-p PACKAGENAME, --packagename=PACKAGENAME Define a output package name.
-i, --importtomunki import the package direcrly into munki.
-v VERSION, --version=VERSION Set package version.
Profiletopkg makes use of Greg Neagle's FoundationPlist lib.