Commit Graph

2060 Commits

Author SHA1 Message Date
Greg Neagle
a73ea66162 Provide switch for MunkiStatus output so precache_agent can switch it off. Addresses #897 2019-01-08 11:00:41 -08:00
Greg Neagle
42a291436d Fix logic error in download.uncache() function that caused it to check filesize for not-yet-downloaded items 2019-01-08 10:58:16 -08:00
Greg Neagle
4f44643a4a Also precache items where precache=True and needs_update=True 2019-01-03 09:39:34 -08:00
Greg Neagle
918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Greg Neagle
6ef70c0424 Fix and tweak detection of need to shutdown for apple updates 2018-12-18 08:23:47 -08:00
Greg Neagle
19362c77e9 Log shut down actions no matter the logging level; don't require halt message to be at the beginning of a softwareupdate output line 2018-12-17 16:13:00 -08:00
Greg Neagle
6e18c61190 Merge branch 'softwareupdate-shutdown-master' of https://github.com/weswhet/munki into weswhet-softwareupdate-shutdown-master 2018-12-11 21:42:27 -08:00
Greg Neagle
4115df99bd Better messaging around shut downs 2018-12-11 12:11:05 -08:00
Greg Neagle
7339391cb5 Simplify return value logic in doInstallTasks() 2018-12-11 11:25:05 -08:00
Greg Neagle
c69c0b2166 If shutting down don't call authrestartd.restart() afterwards 2018-12-11 11:25:05 -08:00
Greg Neagle
e5b473107a Cleaning up logic around None/Restart/Shutdown 2018-12-11 11:25:05 -08:00
Wesley Whetstone
aa410eabdb changing return 2018-12-11 11:25:04 -08:00
Wesley Whetstone
133fc6a3ed changing return code and adding proper parameter call 2018-12-11 11:25:04 -08:00
Wesley Whetstone
d11f148da6 adding requested changes and passing shutdown parameter correctly without additional build artifacts 2018-12-11 11:25:04 -08:00
Wesley Whetstone
b7236a9344 adding in the option to have munki showdown after apple updates instaed of restarting. 2018-12-11 11:25:03 -08:00
Greg Neagle
a4b3085780 Bumping version for future releases 2018-12-04 17:42:01 -08:00
Greg Neagle
75c6e0ac87 Merge branch 'swiftapps' into Munki3dev 2018-12-04 08:16:19 -08:00
Greg Neagle
18ea11f606 Rename a variable used when checking to see if an installer item is still needed after a successful install 2018-11-20 20:50:21 -08:00
Greg Neagle
3dd91d87ef Merge branch 'Munki3dev' of https://github.com/munki/munki into Munki3dev 2018-11-20 20:46:32 -08:00
aysiu
0264fc7007 foundagain for precache OnDemand (#878)
Makes a cache delete exemption for items that are both precache and OnDemand
2018-11-20 20:46:03 -08:00
aysiu
7161744729 Copy optional key precache (#879)
Needed to not delete precache OnDemand items after installation
2018-11-20 20:45:50 -08:00
Greg Neagle
488b9f7581 Merge branch 'atomic-move' into Munki3dev 2018-11-19 08:07:47 -08:00
Greg Neagle
05d274c279 Merge branch 'Munki3dev' into swiftapps 2018-11-16 16:20:33 -08:00
Greg Neagle
d37f47830f Only start precache_agent if we think we have something to cache; add some more logging messages around starting the precache_agent 2018-11-16 16:20:06 -08:00
Greg Neagle
8b1e2ba9ac Remove duplicated functions in munkilib/updatecheck/download.py due to bad merge confict resolution 2018-11-16 11:46:37 -08:00
Greg Neagle
b3e33b34ac Merge branch 'Munki3dev' into swiftapps 2018-11-16 11:08:32 -08:00
Greg Neagle
c72e69f8d5 Add uncaching when disk is almost full, preventing downloads of managed_installs because of precached items 2018-11-16 10:59:35 -08:00
Greg Neagle
33dbdfb3a6 Merge branch 'master' into swiftapps 2018-10-31 10:26:21 -07:00
Greg Neagle
845aab0ee7 Merge branch 'master' into Munki3dev 2018-10-31 10:25:59 -07:00
Greg Neagle
46b634b594 New precaching.uncache function to clear out precached items if there's not enough space to download and install managed items 2018-10-31 10:08:41 -07:00
Nathan Perkins
5ab55e8193 Sort catalogs in repoclean (#874) 2018-10-31 10:02:57 -07:00
Greg Neagle
e8ee653a24 When copying items from dmg, first copy to a local tmp directory, do all post-copy adjustments (setting owner, group mode, removing quarantine attribute), then move to final location 2018-10-22 14:51:01 -07:00
Greg Neagle
ea36248df0 Merge branch 'master' into swiftapps 2018-10-16 10:26:29 -07:00
Greg Neagle
fa6e4c3348 Merge branch 'master' into Munki3dev 2018-10-16 10:26:00 -07:00
Jim Zajkowski
6af274bd61 Sort the conditionals list so they always run in the same order (#870) 2018-10-16 10:25:20 -07:00
Greg Neagle
9001176aa2 Merge branch 'master' into swiftapps 2018-10-03 15:51:26 +02:00
Greg Neagle
c44e935759 Merge branch 'master' into Munki3dev 2018-10-03 15:51:04 +02:00
Arjen van Bochoven
0bfa5a38b5 Remove .lower() from check_mode() in pkginfolib (#867)
Fix #866
2018-10-03 15:48:55 +02:00
Greg Neagle
7205c78c0f use --applicationpath with startosinstall only on pre-Mojave 2018-09-25 08:43:20 -07:00
Greg Neagle
3cc8badcfd use --applicationpath with startosinstall only on pre-Mojave 2018-09-25 08:39:33 -07:00
Greg Neagle
5935e22418 After further investigation, only drop --applicationpath from Mojave startosinstall runs 2018-09-25 08:34:36 -07:00
Greg Neagle
7b6822f9c6 Don't use --applicationpath option for startosinstall for later releases of High Sierra and for Mojave. Bump version for future release. 2018-09-25 08:11:35 -07:00
Greg Neagle
97d704c7a1 Bump version for future release 2018-09-24 13:41:29 -07:00
Greg Neagle
4a737d900d Add Mojave softwareupdate catalog to list of default catalogs 2018-09-24 13:40:47 -07:00
Greg Neagle
129b35df13 Add Mojave softwareupdate catalog to list of default catalogs 2018-09-24 13:39:43 -07:00
Greg Neagle
611050eb38 Add Mojave softwareupdate catalog to list of default catalogs 2018-09-24 13:37:08 -07:00
Greg Neagle
5b52ab1ba8 Bump version for future release 2018-09-18 15:53:00 -07:00
Greg Neagle
ba941433fd Bump version for future release 2018-09-18 15:52:37 -07:00
Greg Neagle
4988436c24 Bump version for future release 2018-09-18 15:52:10 -07:00
Greg Neagle
3fd430e298 Merge branch 'Munki3dev' into swiftapps 2018-09-02 19:16:59 -07:00