Commit Graph

228 Commits

Author SHA1 Message Date
Greg Neagle
46747a9848 Fix warn_if_server_is_default function to not crash when SoftwareRepoURL is None, a result of the changes in autodetecting ther Munki repo 2018-04-18 10:25:18 -07:00
Greg Neagle
1428c40d06 Update copyright notices to include 2018 2018-01-20 08:46:22 -08:00
Greg Neagle
54713665be Tweaks around restart handling after a successful startosinstall run 2017-09-11 09:44:38 -07:00
Greg Neagle
99d902b638 New bootstrapping.py to manage bootstrap mode; disable FV user autologin when in bootstrap mode 2017-08-31 13:39:30 -07:00
Greg Neagle
a2cd572b74 Add --show-config option to managedsoftwarecenter 2017-07-18 13:41:45 -07:00
Greg Neagle
a7c43cf337 Fix for postflights always reporting a runtype of 'osinstall'. See #784 2017-06-27 08:40:08 -07:00
Greg Neagle
98a4892985 Auth restart support for Managed Software Center.app 2017-04-20 14:52:02 -05:00
Greg Neagle
4b1c0c9949 Start of launchd socket support 2017-04-14 10:47:58 -07:00
Greg Neagle
b45a36a337 Refactor authrestart code so osinstaller can use it. 2017-04-13 15:47:29 -07:00
Greg Neagle
cead5a175b Really fix spelling of sendDistribitedNotification() 2017-04-12 09:30:17 -07:00
Greg Neagle
69f788a15a Fix spelling of sendDistribitedNotification() 2017-04-12 09:29:25 -07:00
Clayton Burlison
1f2ab4220c Update managedsoftwareupdate --auto help msg (#739) 2017-04-11 09:29:20 -07:00
Greg Neagle
d13130c4dc PyLint cleanups 2017-04-07 22:12:02 -07:00
Greg Neagle
b1b79ed51b Fix for Dock update badge not being properly updated, caused by a regression here in commit 292bc808c6 2017-04-07 09:38:10 -07:00
Greg Neagle
39b0d0720c Exit faster/earlier and do less when another instance of managedsoftwareupdate is running. 2017-04-04 13:22:05 -07:00
Greg Neagle
292bc808c6 - Groundwork for installing from locally-installed app instead of dmg
- Run some finishing tasks including postflight script when signalled by startosinstall that it's ready to restart
- launchd.py extended to optionally _not_ cleanup a launchd job on exit so that startosinstall isn't killed prematurely and can live on after managedsoftwareupdate's untimely death
2017-04-04 10:49:15 -07:00
Greg Neagle
2219f13621 Add macOS install support to managedsoftwareupdate 2017-04-01 21:28:48 -07:00
Greg Neagle
0b1a1f344a managedsoftwareupdate: Remove munkicommon import; replace with refactored modules 2017-03-02 11:01:27 -08:00
Greg Neagle
d3801b1071 new launchagent for munki-status, new make_munki_mpkg.sh script 2017-02-26 12:01:43 -08:00
Greg Neagle
90d457b082 more of the needed munki-notifier pieces 2017-02-26 10:30:33 -08:00
Greg Neagle
0ef9b61120 Simplfy idle check when deciding whether or not to remove the bootstrap flag file 2017-02-02 11:54:57 -08:00
Greg Neagle
4fb323f4b0 Remove managedsoftwareupdate's check for server availabilty -- if the server is not available, it will fail while attempting to get the primary manifest. 2017-02-02 11:52:35 -08:00
Greg Neagle
4053a0dbe7 Update copyright dates to 2017 2017-01-17 20:14:31 -08:00
Greg Neagle
e605490e95 Lots of PyLint clean ups 2017-01-10 08:59:41 -08:00
Greg Neagle
f338e5ead5 And the refactoring continues... 2017-01-01 15:16:07 -08:00
Greg Neagle
242bbc9855 Move more functions out of updatecheck and into new modules 2017-01-01 14:43:54 -08:00
Greg Neagle
dcedb3a418 Make munkicommon.stopRequested() work in all run modes 2016-12-15 08:40:35 -08:00
Greg Neagle
f46c04307f Replace all references to 'Managed Software Update.app' with 'Managed Software Center.app' 2016-12-14 17:02:14 -08:00
Greg Neagle
bbd34966ca Always send status updates so MSC.app can display them if it is open. 2016-12-14 16:59:54 -08:00
Greg Neagle
ddf1940bf6 Move authrestart module out of munkicommon to root of munkilib 2016-12-14 15:48:40 -08:00
Greg Neagle
61120839db Set global verbose and munkistatusoutput variables via munkicommon.display module 2016-12-14 15:17:17 -08:00
Wesley Whetstone
1163fbb3d2 readding changes to manasoftwareupdate 2016-12-01 10:40:10 -08:00
Greg Neagle
5ae397eee4 Merge branch 'fv-auth-restart' 2016-11-28 10:44:33 -08:00
Greg Neagle
fa8895429e After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all) 2016-06-29 17:05:23 -04:00
Greg Neagle
97499e703c Revert "After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all)"
This reverts commit f02cde7f5d.
2016-06-29 17:01:10 -04:00
Greg Neagle
f02cde7f5d After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all) 2016-06-29 17:00:35 -04:00
Wesley Whetstone
73f0581fe1 changing msu logging and comments for restart 2016-06-22 10:00:31 -07:00
Wesley Whetstone
1a496d1f34 adding necessary code to managedsoftwareupdate doRestart 2016-06-21 14:28:30 -07:00
Greg Neagle
28cb5f7c66 Better handling of manifest names that include Unicode characters, including handling --id from managedsoftwareupdate at the command-line. 2016-05-11 10:21:15 -07:00
Greg Neagle
109146c368 Keep MSC.app launch trigger file around for 5 seconds before removing to make launching MSC more reliable on 10.10+. 2016-04-15 13:23:35 -07:00
Greg Neagle
41ef4ac741 Convert Exception objects to unicode before passing them to munkicommon.display_* functions. Addresses issue #584 2016-03-30 10:50:00 -07:00
Greg Neagle
2abb90bba8 Remove more cases of premature str() conversion for munkicommon.display_*() functions. Addresses potential unicode issues. 2016-03-18 11:19:17 -07:00
Greg Neagle
12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
Greg Neagle
17ea06d631 munkistatusoutput tweak 2016-03-09 21:14:17 -08:00
Samuel Keeley
5c12185da4 Replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 2015-11-13 20:35:24 -08:00
Greg Neagle
087bed6b72 PyLint cleanups for managedsoftwareupdate 2015-10-09 08:59:26 -07:00
Greg Neagle
3fd17e5587 Rephrase logging about skipping Apple updates when Munki items to install contain Apple items; move code block to clearer place 2015-10-09 07:12:10 -07:00
Pepijn Bruienne
f3e86d2087 Add logging about skipped ASU checks when installing Apple items. 2015-10-09 09:40:09 -04:00
Greg Neagle
891d70c778 Fix help message for managedsoftwareupdate --id 2015-08-19 09:46:04 -07:00
Greg Neagle
5307006ef4 Clear PendingUpdateCount after installing so Dock badge is reset 2015-04-15 14:37:29 -07:00