New removeCopiedItems method that removes the same list of items from the startup disk.
updatecheck.py: support for new copy_from_dmg and remove_copied_items methods.
makepkginfo: support for making pkginfo with new copy_from_dmg method,
git-svn-id: http://munki.googlecode.com/svn/trunk@603 a4e17f2e-e282-11dd-95e1-755cbddbdd66
installer.py now mounts disk images with -shadow option to enable the next change -
For bundle-style packages, installer.py/install() now attempts to remove any bundle relocation info to disable installer's bundle relocator. This should force items to install to their default locations.
git-svn-id: http://munki.googlecode.com/svn/trunk@434 a4e17f2e-e282-11dd-95e1-755cbddbdd66
For Adobe packages, 'package_path' now replaces 'adobe_package_name' with the same functionality.
git-svn-id: http://munki.googlecode.com/svn/trunk@368 a4e17f2e-e282-11dd-95e1-755cbddbdd66
pkginfo items with missing name or version attributes no longer cause an exception in updatecheck.py
Safer list comphrensions for various lists
git-svn-id: http://munki.googlecode.com/svn/trunk@333 a4e17f2e-e282-11dd-95e1-755cbddbdd66
copyAppFromDMG() now removes a pre-exising app in /Applications before copying the app from the DMG to more closely mimic the Finder behavior.
Fixed call the xattr in copyAppFromDMG()
installWithInfo() now only uses the first partition of a mounted diskimage, instead of all partitions. Added support for a new 'pkg_path' key to pkg info so an admin can specify a specific package to be installed from a disk image.
Begin support for uninstalling Adobe CS3 deployment packages (currently untested)
git-svn-id: http://munki.googlecode.com/svn/trunk@326 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Added munkicommon.validPlist() to check for plist validity when getting a manifest or catalog file.
Added call to updatecheck.checkServer() to test for server availability before doing a check for updates.
git-svn-id: http://munki.googlecode.com/svn/trunk@319 a4e17f2e-e282-11dd-95e1-755cbddbdd66
- new munkicommon.pref keys: CatalogURL and PackageURL; these replace SoftwareRepoURL, and are base URLs for catalogs and installer items respectively. This allows you to divide up hosting of the munki pieces on multiple servers -- manifests and catalogs could be on one server, and the actual install packages on another.
git-svn-id: http://munki.googlecode.com/svn/trunk@316 a4e17f2e-e282-11dd-95e1-755cbddbdd66
makepkginfo generates pkginfo files for this package type, and updatecheck.py and installer.py have the appropriate additions.
git-svn-id: http://munki.googlecode.com/svn/trunk@279 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Includes new makeadobepkginfo tool, which eventually will be merged with makepkginfo...
git-svn-id: http://munki.googlecode.com/svn/trunk@265 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Changes to managedsoftwareupdate, munkicommon/py and installer.py to deal with Apple Software Update.
git-svn-id: http://munki.googlecode.com/svn/trunk@249 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Also changes to these:
managedsoftwareupdate
- Changed osascript call to munkicommon
munkilib/installer.py
- Changed osascript call to munkicommon
- Changed GUI restart notifcation to use the new munkistatus.restartAlert() call.
munkilib/munkicommon.py
- Moved osascript function from munkistatus to munkicommon.
munkilib/munkistatus.py
- Complete rewrite to go with the new MunkiStatus.app
?\127
git-svn-id: http://munki.googlecode.com/svn/trunk@228 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Since multiple install items could now refer to a single installer pkg/mpkg, we don't automatically delete the installer item after an install completes.Instead we check to see if we're going to need it again...
git-svn-id: http://munki.googlecode.com/svn/trunk@140 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Since the HTTP stuff was used only by updatecheck.py, moved it from munkicommon.py into updatecheck.py.
The above changes made this easier: Added munkistatusoutput support to updatecheck.py
git-svn-id: http://munki.googlecode.com/svn/trunk@122 a4e17f2e-e282-11dd-95e1-755cbddbdd66
Combined installcheck and managedinstaller into managedsoftwareupdate to avoid race conditions between the two tools.
Removed support for Apple Software Updates (because it didn't work correctly!)
git-svn-id: http://munki.googlecode.com/svn/trunk@112 a4e17f2e-e282-11dd-95e1-755cbddbdd66