You may have a requirement to create a '
nopkg' class item for your Munki repo. This could be used for a script (perhaps for maintenance tasks) etc.
- Munki installed on your system
- A script is located on your Desktop
- On your Mac, launch
- Past in the following command, altering paths as necessary:
/usr/local/munki/makepkginfo --nopkg --postinstall_script=~/Desktop/myscript.sh --minimum_os_version=10.8 --unattended_install --unattended_uninstall --name=MyItem --description="My great script." --pkgvers=1.0 -c testing > Desktop/MyItem-1.0.plist
This will generate a .plist that can be copied into the '
pkginfo' file in your Munki repo. Once in place an permissions set correctly, run /usr/local/munki/makecatalogs which will finalise the import of the nopkg item.
If you require assistance, please contact a member of our support team.