Commit Graph

1276 Commits

Author SHA1 Message Date
Greg Neagle df4f7f2661 Make sure makePredicateInfoObject() doesn't throw an exception if munkicommon.report['StartTime'] is not defined. 2013-10-04 11:55:56 -07:00
Greg Neagle 0ba24a169b When getting list of available updates, honor the list of ignored updates 2013-10-01 14:26:06 -07:00
Greg Neagle 2ce6f6127c Merge branch 'makepkginfo-display_name' of https://github.com/hjuutilainen/munki 2013-09-03 09:25:05 -07:00
Greg Neagle 5beb7c85b3 in adobeutils.getPayloadInfo() handle the case of no xml and no .db 2013-08-20 11:13:48 -07:00
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
Hannes Juutilainen d4d43ec448 Added missing display_name option for apple_update type 2013-07-24 09:11:52 +03:00
Hannes Juutilainen f0287d2649 Merge branch 'master' of https://code.google.com/p/munki into development
* 'master' of https://code.google.com/p/munki:
  Attempt to adjust makecatalogs to play nicer with PackageURL and PackageCompleteURL keys in pkginfo files
  Adjust error messages; convert munkicommon.display_foo() calls to use extra args instead of % interpolation
  Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard.
  s/munki\./munkicommon./g to fix display_error calls added in rf8c46ec3eb955cef6a2aefcc52be090234ac3705
  Initial support for checking for available licensed seats for uninstalled optional_installs
  Bumping version.plist for next round of development.
  If self-serve/etc. manifests are corrupt, log and pass instead of crashing.
  Corrected a typo, thanks to Greg Neagle.
  Cleaned up the localization a bit.
2013-07-23 12:38:48 +03: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
fridomac 5354349568 Corrected a typo, thanks to Greg Neagle. 2013-06-18 14:11:30 +00:00
fridomac aa5b2a5092 Cleaned up the localization a bit. 2013-06-18 12:25:02 +00:00
Hannes Juutilainen ae71171d70 Merge branch 'master' into development
* master:
  More localization fixes.
  Localization fix for the message: 'A restart is required after updating. Please be patient as there may be a short delay at the login window. Log out and update now?'
  Updated Swedish localization by peter.wreiber@gmail.com
  Track whether an update was installed in "only_unattended" mode or not in InstallResults, for additional reporting on various Munki servers.
  updated spanish strings for consistency
  Change application data collection code so that system_profiler SPApplicationsDataType is called only once per Munki session, even if system_profiler fails or hangs.
  Remove -d option from munkiimport as it conflicts with -d option to makepkginfo
  Don't display 'Running installcheck_script/uninstallcheck_script for foo...' messages when checking for updates.
  Support for installing AAMEE/CCP packages that include updates.
  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.
  Fix case where munkicommon.getAppBundleExecutable() returns None due to non-existent Info.plist, causing Munki to crash when parsing the None executable name.
  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.
  Fix typo in French localization.
  Updated French localization from Richard Lafontaine <iceman.grrrr@gmail.com>
  Add Swedish localization from Peter Wreiber <peter.wreiber@gmail.com>
  minor correction to the spanish translation
2013-06-18 09:16:40 +03:00
Greg Neagle 4550004ce0 More localization fixes. 2013-06-17 11:19:53 -07:00
Greg Neagle dec2a6962e Localization fix for the message: 'A restart is required after updating. Please be patient as there may be a short delay at the login window. Log out and update now?' 2013-06-17 10:35:45 -07:00
Greg Neagle a932b3a9d7 Updated Swedish localization by peter.wreiber@gmail.com 2013-06-17 10:33:49 -07:00
Greg Neagle becb3d2153 Merge https://code.google.com/r/nbalonso-spanish-translation 2013-06-17 10:12:39 -07: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
nbalonso 2ebc0efacc updated spanish strings for consistency 2013-06-10 18:37:42 +03:00
nbalonso ee595a7dc0 Merge https://code.google.com/p/munki 2013-06-10 17:41:15 +03: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 e8a9b28f13 Fix typo in French localization. 2013-05-09 11:09:24 -07:00
Greg Neagle fe660b84b9 Merge branch 'master' of https://code.google.com/p/munki 2013-05-09 10:44:09 -07:00
Greg Neagle 1d3936ee38 Updated French localization from Richard Lafontaine <iceman.grrrr@gmail.com> 2013-05-09 10:43:22 -07:00
Greg Neagle 2ef80e50c4 Add Swedish localization from Peter Wreiber <peter.wreiber@gmail.com> 2013-05-08 14:22:06 -07:00
Hannes Juutilainen df9e9202fb Merge branch 'master' into development
* master:
  Fix makepkginfo --force_install_after_date to create a date object for the pkginfo plist instead of a string.
  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".
  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
  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.
  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.
  Update version.plist to 0.9.0 for next development round.
2013-05-03 08:22:33 +03: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