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
Greg Neagle
5c05072f85
Bump version to 3.3.2 for future release
2018-08-30 10:36:20 -07:00
Greg Neagle
019f73d761
Safer determination of short hostname; Raise a GurlError instead of allowing an unhandled exception if a download rename fails
2018-08-15 13:48:55 -07:00
Greg Neagle
ce6bc92dce
Safer determination of short hostname; Raise a GurlError instead of allowing an unhandled exception if a download rename fails
2018-08-15 13:48:29 -07:00
Greg Neagle
2794253104
Safer determination of short hostname; Raise a GurlError instead of allowing an unhandled exception if a download rename fails
2018-08-15 13:44:43 -07:00
Greg Neagle
e93b6a881c
More os-version-specific startosinstall tweaking
2018-08-07 16:30:49 -07:00
Greg Neagle
9c1fb0f206
Don't add --applicationpath arguments for 10.14+ startosinstall invocations
2018-08-07 15:42:57 -07:00
Greg Neagle
ad16841277
Merge precaching changes
2018-08-07 15:26:18 -07:00
Greg Neagle
0c03c28b05
precaching changes
...
Added precache_agent and code to run it at the end of a Munki updatecheck. Updated make_munki_mpkg* scripts to include
the new precache_agent in the core package.
2018-07-18 14:21:33 -07:00
Greg Neagle
0716732a6f
appleupdates changes
...
During install of Apple updates on 10.11+, only use the --no-scan flag if we cannot reach the softwareupdate server.
This is an attempt to minimize issues seen with "too old" cached updates on 10.12+ -- the thought is that if softwareupdate
is allowed to check with the server it can "update" or "refresh" the "stale" updates before attempting an install.
All of this is educated guesswork, sadly.
2018-07-18 09:24:08 -07:00
Greg Neagle
6111ce6c17
Change default mode adjustments for copy_from_dmg items from o-w to o-w,go+rX to address dumb developers who don't test anything other than manual drag-n-drop on single-user Macs
2018-07-02 14:05:32 -07:00
Greg Neagle
e2a4a12950
Don't exit with an unhandled exception if LaunchServices._LSCopyAllApplicationURLs(None) returns None/nil
2018-06-25 11:29:11 -07:00
Greg Neagle
f438b5def9
Don't exit with an unhandled exception if LaunchServices._LSCopyAllApplicationURLs(None) returns None/nil
2018-06-25 11:28:34 -07:00
Greg Neagle
ee7be2997d
Before copying a directory for a copy_from_dmg item, ensure it is owned by root (in addition to the 0700 check)
2018-06-19 15:31:35 -07:00
Greg Neagle
43cedc5d1c
Before copying a directory for a copy_from_dmg item, ensure it is owned by root (in addition to the 0700 check)
2018-06-19 15:30:38 -07:00
Greg Neagle
a489f9caa3
Catch exception if we cannot securely create the destination directory for a copy_from_dmg item
2018-06-19 14:47:09 -07:00
Greg Neagle
8496349b73
Catch exception if we cannot securely create the destination directory for a copy_from_dmg item
2018-06-19 14:46:33 -07:00