Commit Graph

1011 Commits

Author SHA1 Message Date
Michael Lynn
65ab4e4153 Added --nopkg option to set installer_type to nopkg
Moved several options (description, display name, name, version) outside of the argument-requiring code block to assist in nopkg pkginfo creation.
2013-08-13 10:36:57 -07:00
Greg Neagle
1a891393c6 pkginfo items must now have an 'licensed_seat_info_available' attribute to cause managedsoftwareupdate to check for available licensed seats for optional installs 2013-08-13 08:10:47 -07:00
Justin McWilliams
b6fdd3a25f Merge branch 'master' of https://code.google.com/p/munki 2013-08-12 16:03:00 -04:00
Justin McWilliams
ceede8f4f5 ManagedInstallReport.plist includes error message details (from curl) for failed downloads. 2013-08-12 16:02:07 -04:00
Greg Neagle
567b8e31a5 Always return a dict from getSPApplicationData() even if something weird happens! 2013-08-02 09:10:09 -07:00
Greg Neagle
27354a4078 Merge branch 'adobeutils-mediadb' of https://code.google.com/r/tim-munki 2013-07-26 08:19:22 -07:00
Greg Neagle
c34745b82a Attempt to adjust makecatalogs to play nicer with PackageURL and PackageCompleteURL keys in pkginfo files 2013-07-22 09:37:18 -07:00
Greg Neagle
86d0f7465a Adjust error messages; convert munkicommon.display_foo() calls to use extra args instead of % interpolation 2013-07-22 09:36:18 -07:00
ogle
4e3261b95f Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard. 2013-07-22 16:09:05 +00:00
Justin McWilliams
7c4eeb2d7b s/munki\./munkicommon./g to fix display_error calls added in rf8c46ec3eb955cef6a2aefcc52be090234ac3705 2013-07-18 16:48:33 -04:00
Greg Neagle
fe2a402202 Merge branch 'master' of https://code.google.com/p/munki 2013-07-16 15:21:43 -07:00
Greg Neagle
97d0d34f9b Initial support for checking for available licensed seats for uninstalled optional_installs 2013-07-16 15:21:29 -07:00
Greg Neagle
709d6f8b1d Bumping version.plist for next round of development. 2013-07-02 07:16:03 -07:00
Timothy Sutton
cc552795ad Clean up Media_db.db sqlite query. 2013-07-01 14:56:23 -04:00
Timothy Sutton
4a8e44bb51 adobeutils.py: Support new Adobe CC updaters with only Media_db.db in payload folders. 2013-07-01 14:38:37 -04:00
Justin McWilliams
f8c46ec3eb If self-serve/etc. manifests are corrupt, log and pass instead of crashing. 2013-06-21 10:59:43 -04:00
Justin McWilliams
dd712b5d3a Track whether an update was installed in "only_unattended" mode or not in InstallResults, for additional reporting on various Munki servers. 2013-06-16 11:18:49 -04:00
Greg Neagle
45ade74d30 Change application data collection code so that system_profiler SPApplicationsDataType is called only once per Munki session, even if system_profiler fails or hangs. 2013-06-05 08:49:01 -07:00
Greg Neagle
2422aa7f10 Remove -d option from munkiimport as it conflicts with -d option to makepkginfo 2013-05-31 16:00:46 -07:00
Greg Neagle
b2651e9926 Don't display 'Running installcheck_script/uninstallcheck_script for foo...' messages when checking for updates. 2013-05-31 15:59:35 -07:00
Greg Neagle
ae5d2df02a Merge branch 'master' of https://code.google.com/p/munki 2013-05-17 10:21:18 -07:00
Greg Neagle
5aff95e9cd Support for installing AAMEE/CCP packages that include updates. 2013-05-17 10:20:28 -07:00
Justin McWilliams
b166a908c0 Fix "NameError: name 'report_broken_python' is not defined" crash when attempting to report a broken Python install. The file hasn't been parsed at this point, so the report_broken_python function is nonexistent.
Broken in: https://code.google.com/p/munki/source/detail?r=cbb385f540643aa3a15a242ba5de513404af02ce

pylint warnings should either be ignored, or disabled using a "pylint: disable-msg" annotation.
2013-05-14 16:52:55 -07:00
Justin McWilliams
cd15912feb Fix case where munkicommon.getAppBundleExecutable() returns None due to non-existent Info.plist, causing Munki to crash when parsing the None executable name. 2013-05-14 16:07:59 -07:00
Greg Neagle
f848fb744d Patch to adobeutils.py from Pepijn Bruienne <bruienne@gmail.com> to allow makepkginfo to properly parse an Adobe Creative Cloud product package built with Creative Cloud Packager. 2013-05-10 16:19:49 -07:00
Greg Neagle
588b48f141 Merge branch 'master' of https://code.google.com/p/munki 2013-04-24 17:01:49 -07:00
Greg Neagle
8558292a63 Fix makepkginfo --force_install_after_date to create a date object for the pkginfo plist instead of a string. 2013-04-24 17:01:35 -07:00
ogle
72662f2614 If a force_install_after_date install is near/past it's due date, logouthelper should be started (the machine should be forcefully rebooted) even if someone is logged in but the session is at the loginwindow (fast user switching). Force should not be "force unless x, y, z". 2013-04-19 22:25:08 +00:00
Greg Neagle
614473d0d2 Merge branch 'munkiimport_repopath_0.8.4' of https://code.google.com/r/adamjreed-munki 2013-04-18 14:16:37 -07:00
Adam Reed
00e6afc33c Add --repo_path and --repo_url options to munkiimport to allow the user to override the default repo_path and repo_url options set via munkiimport --configure at runtime 2013-04-18 21:10:01 +10:00
Greg Neagle
52fd32f0dc If we are about to do an install at the loginwindow, check to see if FileSyncAgent.app is running. This might be HomeSync running during a login process. If so, don't install. 2013-04-15 16:01:24 -07:00
Greg Neagle
fc8c36d1fa Change apple_item logic in updatecheck.processRemoval to match that in updatecheck.processInstall. Specifically, allow admin to override detection of apple_item by explictly setting it in the pkginfo. 2013-04-11 14:28:40 -07:00
Greg Neagle
52468cc6c2 Update version.plist to 0.9.0 for next development round. 2013-04-08 10:02:43 -07:00
Greg Neagle
396e3e5d79 Fix manifestutil remove-catalog usage message. 2013-04-05 13:41:57 -07:00
Greg Neagle
bb3ff68892 Unicode filename fixes for makecatalogs. 2013-04-04 12:08:26 -07:00
Greg Neagle
7882edfbc1 Better info/warning messages when Apple update metadata conflicts with existing RestartAction 2013-04-02 12:17:08 -07:00
Greg Neagle
2d4bafe694 Ensure AppleUpdates.plist is removed if there are no available Apple updates. Update appleupdates_test.py to reflect this and a previous commit. 2013-03-17 10:49:51 -07:00
Greg Neagle
220cf91a77 Don't remove an item if another item that depends on it failed to be removed. This is the complimentary behavior to issue 217, which dealt with installs 2013-03-12 19:16:51 -07:00
Greg Neagle
b28677dd34 If preinstall_script exits non-zero or installation fails, add item to skipped installs; for each install, if a prerequisite was skipped, don't install. Addresses issue 217. 2013-03-12 16:48:27 -07:00
Greg Neagle
0bb162dbfc Some Unicode/UTF-8 fixes for munkiimport. 2013-03-12 11:03:06 -07:00
Greg Neagle
699decfe00 Use consistent format when an item's version cannot be determined and is noted as '(newer than ...)' 2013-03-11 15:46:29 -07:00
Greg Neagle
1df439ef37 Store original Apple name for an update and use that when determining success of an Apple update install; new metadata functionality allows admins to override the display_name, which could have caused determining success of an Apple update install to fail, since it would have been looking for the wrong name. 2013-03-11 11:03:13 -07:00
Greg Neagle
1ac91e8b44 Patch from rmiddleton for updatecheck.isItemInstallInfo() -- fixes issue with multiple updates with the same name (but different versions) that need to be applied in a single session. 2013-03-11 08:18:08 -07:00
Greg Neagle
cce11a4fc0 Better error checking when processing receipts and installs items when building our catalogDB; pylint cleanups 2013-03-08 14:14:38 -08:00
Greg Neagle
a21a4b1acc When skipping Apple Software updates because there is an update from Apple in InstallInfo.plist, remove AppleUpdates.plist to prevent MSU.app and logouthelper from presenting force_install_after_date warnings for items it will not be able to install because Munki updates are blocking Apple updates. 2013-03-08 13:52:01 -08:00
Greg Neagle
f8f558edc5 logouthelper now properly checks both InstallInfo.plist and AppleUpdates.plist for 'force_install_after_date' items. 2013-03-08 13:28:46 -08:00
Greg Neagle
dbca31a486 Fix dumb copy-and-paste error in last commit that caused munkiimport to crash with NameError: global name 'item_version' is not defined 2013-03-06 21:42:44 -08:00
Greg Neagle
45de2d3b21 Changes to munkiimport: 1) Always append version number to uploaded dmg or pkg if not there originally; code clean up around the renaming. 2013-03-06 16:41:16 -08:00
Greg Neagle
000d1b969a PyLint cleanups in munkilib/installer.py. 2013-03-02 21:13:56 -08:00
Hannes Juutilainen
757a72d5ee Respect "version_comparison_key" when determining pkginfo version 2013-02-27 09:57:49 +02:00