Greg Neagle
ffbf9242cf
osinstaller: When signalled that startosinstall is ready to reboot, rm the diskimage to make more room for the actual install; only return pkginfo for Sierra installers (ignore pre-Sierra OS X installers)
2017-04-05 08:56:18 -07:00
Greg Neagle
691e399afe
osinstaller: add minimum_munki_version to generated pkginfo
2017-04-04 10:55:29 -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
dfffb65ee9
osinstaller: run startosinstall in a seperate launchd job
2017-04-03 14:03:30 -07:00
Greg Neagle
bf2c2332b3
osinstaller: generated pkginfo now contains installed_size
2017-04-02 23:00:54 -07:00
Greg Neagle
2219f13621
Add macOS install support to managedsoftwareupdate
2017-04-01 21:28:48 -07:00
Greg Neagle
ed341229a1
Start adding support for startosinstall items to updatecheck
2017-04-01 12:34:23 -07:00
Greg Neagle
a64b1d7ab3
Add 'startosinstall' support to iconimporter, makepkginfo, and munkiimport
2017-04-01 12:33:35 -07:00
Greg Neagle
accc63e8ca
More output parsing cleanup
2017-04-01 09:32:15 -07:00
Greg Neagle
794af35a02
Filter out some more startosinstall output when displaying progress feedback.
2017-04-01 09:21:07 -07:00
Greg Neagle
96fac18287
Mount installer dmg under /Volumes to work around validation issue; better validation of successful run of startosinstall
2017-04-01 08:31:57 -07:00
Greg Neagle
4c693512b2
Fix for MunkiStatus displaying percent done
2017-04-01 08:29:24 -07:00
Greg Neagle
f579515633
dmgutils.mountdmg can now optionally mount a dmg under /Volumes; adobeutils.mount_adobe_dmg now just calls dmgutils.mountdmg
2017-04-01 08:28:38 -07:00
Greg Neagle
61424cd356
AppleUpdates._run_softwareupdate(): properly find the local ptyexec tool
2017-03-30 22:46:41 -07:00
Greg Neagle
41b7f58815
Add new osinstaller module
2017-03-30 21:51:02 -07:00
Greg Neagle
a8c20eabf8
Better method of excluding directories when getting a list of repo items
2017-03-21 15:52:42 -07:00
Greg Neagle
da49899417
FileRepo: properly raise a RepoError when a share mount fails
2017-03-17 06:11:29 -07:00
Greg Neagle
fa3a5b4e5d
FileRepo: add IOError to the except clause for all file operations
2017-03-16 08:27:20 -07:00
Greg Neagle
16e3dc0220
Properly determine expected self.root for fileshare repos
2017-03-14 10:49:07 -07:00
Greg Neagle
790db4f9ae
In cli admin tools, fix for clearing a preference; previously it would be ignored
2017-03-14 07:11:16 -07:00
Greg Neagle
e042a2c8d5
Move many functions shared by the various cli tools to munkilib/cliutils.py
2017-03-13 08:03:23 -07:00
Greg Neagle
a9f1bf672c
For an API repo, munkiimport can now forward the repo.authtoken to makecatalogs
2017-03-11 18:59:22 -08:00
Greg Neagle
d1d3f5dcd2
Move code that uses FileRepo as a default if no repo is specified to munkilib/munkirepo/__init__.py
2017-03-11 09:06:09 -08:00
Greg Neagle
d6daa25623
Add missing trailing parentheses
2017-03-11 08:09:27 -08:00
Greg Neagle
861b0f29c3
MWA2APIRepo: Add DEBUG flag to control amount of data added to some CurlErrors
2017-03-10 16:39:28 -08:00
Greg Neagle
753815feae
FileRepo: raise a RepoError exception if we can't create the mountpoint when mounting a remote repo.
2017-03-10 16:38:11 -08:00
Greg Neagle
368309c258
Update GitFileRepo to work as new-style repo plugin
2017-03-10 11:52:01 -08:00
Greg Neagle
0e3746d151
Merge branch 'Munki3' into new_repo_abstraction
2017-03-10 11:10:29 -08:00
Greg Neagle
86fbd6299c
Avoid modifying NSDictionary when recording pending update dates. Fixes #720
2017-03-10 11:10:01 -08:00
Greg Neagle
f327063a07
Merge branch 'Munki3' into new_repo_abstraction
2017-03-10 09:02:53 -08:00
Greg Neagle
056b570d3b
Change featured_installs to featured_items
2017-03-10 09:02:03 -08:00
Per Olofsson
d958fda1cb
Add warning for featured but not optional installs.
2017-03-10 09:14:57 +01:00
Greg Neagle
9319d8d943
FileRepo: update doc strings and comments
2017-03-09 17:02:22 -08:00
Greg Neagle
a895587e68
MWA2APIRepo: Large PUT/POST/PATCH request get written to a local file before being handed to curl
2017-03-09 17:01:40 -08:00
Greg Neagle
5f7dd2fe03
MWA2APIRepo: properly handle pkgs and icons uploads
2017-03-09 16:05:31 -08:00
Greg Neagle
5a7db2091f
MWA2APIRepo: Properly quote resource identifiers as URL fragments
2017-03-09 14:09:37 -08:00
Per Olofsson
c773ebe7ac
Implement featured_installs array in manifests.
2017-03-09 13:25:48 +01:00
Greg Neagle
8596709e2b
FileRepo: when getting a itemlist, skip directories snd files that start with a .
2017-03-08 21:52:35 -08:00
Greg Neagle
9f3434c388
munkiimport working with new-style repo plugins
2017-03-08 13:54:13 -08:00
Greg Neagle
d4ecc08a14
First commits of new-style repo plugins
2017-03-08 09:23:58 -08:00
Greg Neagle
c8915ed85d
GitFileRepo: git log message now includes the name of the command-line tool in use if possible
2017-03-04 20:54:00 -08:00
Greg Neagle
8d6b468d9d
Fuller example implementation of GitFileRepo
2017-03-04 20:00:53 -08:00
Greg Neagle
0fb1d3cefa
Begin reorg of repo plugins code
2017-03-04 08:19:29 -08:00
Rick Heil
003f2489b9
Add exception handling to middleware import
...
Adds a simple try/except block to the middleware import to handle errors
that may result from bad middleware syntax. While this won't allow a
full run to happen, it will at least run preflight/postflight.
2017-03-02 13:49:18 -08:00
Greg Neagle
3eaa888974
Initial support for 'Featured' items in MSC replacing 'All items' view
2017-03-01 15:15:58 -08:00
Greg Neagle
109c7a8c18
Bump base version numbers to 3.0.0/3.0
2017-02-28 13:37:41 -08:00
Greg Neagle
5300119259
Merge branch 'cloudrepo' into Munki3
2017-02-28 13:24:16 -08:00
Greg Neagle
a75799f212
Bump version.plists to 2.9.1 to differentiate from master. May become 3.0.0 eventually.
2017-02-26 12:05:20 -08:00
Greg Neagle
90d457b082
more of the needed munki-notifier pieces
2017-02-26 10:30:33 -08:00
Greg Neagle
789bbc4e8e
Merge branch 'master' into notification-center
2017-02-24 08:19:18 -08:00