Greg Neagle
255f5762f5
Move reusable code from makecatalogs into munkilib/admin/makecatalogslb.py
2017-11-19 17:30:22 -08:00
Greg Neagle
dbf0c95b9d
Move munkiimportlib.py and pkginfolib.py into munkilib/admin
2017-11-19 08:39:22 -08:00
Greg Neagle
810d5d833d
Move lots of munkiimport functions into munkilib/munkiimportlib.py so they can be called by other code
2017-11-19 07:04:44 -08:00
Greg Neagle
b27aefe373
munkiimport now calls code in munkilib/pkginfolib to generate a pkginfo instead of subprocessing makepkginfo.
2017-11-18 15:09:16 -08:00
Greg Neagle
b56c95e791
Move generation of makepkginfo option groups to pkginfolib so munkiimport can add them as well
2017-11-18 13:40:19 -08:00
Greg Neagle
fe659e0180
More tweaks to pkginfolib and makepkginfo
2017-11-18 13:18:17 -08:00
Greg Neagle
f0e6e3d1a9
Move some makepkginfo code into a lib module that can be called by other code (like, say munkiimport...)
2017-11-18 12:35:35 -08:00
Greg Neagle
b59eeff1d1
for UseNotificationCenterDays preference, munki-notifier will use a managed preference value if present, else fall back to reading the value from /Library/Preferences/ManagedInstalls.plist (ignoring user-level preferences)
2017-11-16 17:37:30 -08:00
Greg Neagle
42152f3ef7
Fix for munki-notifier so it will respect Managed Preferences and root preferences for UseNotificationCenterDays
2017-11-16 16:07:36 -08:00
Greg Neagle
828f251b89
Add product id to distribution packages. product id is needed by other tools
2017-11-08 09:16:19 -08:00
Greg Neagle
11bc22b382
Merge branch 'issue814fix' into Munki3dev
2017-11-03 14:26:07 -07:00
Greg Neagle
8e1f2a92b0
More fixes for the missing NetFS.kNAUIOptionKey, NetFS.kNAUIOptionNoUI, and NetFS.kNetFSAllowSubMountsKey constants in High Sierra.
2017-11-03 14:18:32 -07:00
Greg Neagle
4cfdddcd97
Possible fix for issue #814
2017-10-25 09:06:56 -07:00
Greg Neagle
293fb8c449
Fix status text display issue with Unavailable items. Fixes #812
2017-10-23 10:30:27 -07:00
Greg Neagle
041b041d3e
Fix issue where warnings/notes were not displayed for an item if the item had no description. Fixes #811
2017-10-23 09:55:00 -07:00
Greg Neagle
2b0f9a47ef
Re-write AppleUpdates.plist after installing unattended Apple Updates. Attempt at addressing #804 .
2017-10-22 09:29:02 -07:00
Greg Neagle
96816ba6cc
PyLint clean up
2017-10-22 08:34:34 -07:00
Greg Neagle
92169fcdd9
When MSC.app converts an application icon to PNG, use CoreGraphics and Image I/O methods so that embedded ColorSync profiles are preserved. Similar to commit 3d7021af8f.
2017-10-22 08:33:40 -07:00
Greg Neagle
3d7021af8f
Use CoreGraphics and Image I/O to convert icns to png, preserving embedded ColorSync info under macOS < 10.13
2017-10-19 12:48:30 -07:00
Ben Goodstein
49144ed681
Removing references to Managed Software Update in the localized window title of MunkiStatus ( #810 )
2017-10-13 09:48:10 -07:00
Arjen van Bochoven
21927438ae
Localized pkgsinfo support ( #809 )
...
* Add support for localized_strings in pkgsinfo files
* Update Munkiitems.py
Use NSBundle.preferredLocalizationsFromArray_forPreferences_ instead of
NSLocale.currentLocale
* Move localized_strings to GenericItem
And add localized_strings to iteminfo
* Add localized_strings to munkiimport
2017-10-13 09:03:05 -07:00
Greg Neagle
b60bd34580
Bump version for development.
2017-10-09 11:52:53 -07:00
Greg Neagle
2462981994
Don't ignore the value of RestartAction for configuration profile installs. Fixes #808 .
2017-10-09 11:50:00 -07:00
Greg Neagle
bdfca0b789
Merge branch 'Munki3dev'
2017-09-21 12:23:51 -07:00
Greg Neagle
e13c21e21e
Prevent an issue on 10.13 when mounting a repo in the cli admin tools by hardcoding certain NetFS constants.
v3.1.0
2017-09-18 10:27:37 -07:00
Greg Neagle
eb17f853fb
Don't set overall restartflag to False if a nopkg item doesn't require restart. Thanks to @chymb
2017-09-12 14:13:06 -07:00
Greg Neagle
2c5d2a0006
osinstaller: always initiate restart if startosinstall quits and has sent us SIGUSR1
2017-09-11 11:18:28 -07:00
Greg Neagle
54713665be
Tweaks around restart handling after a successful startosinstall run
2017-09-11 09:44:38 -07:00
Greg Neagle
c45b5e854b
munkiimport: When attempting to get info on existing pkgs in the repo, only print a warning about failure to read catalogs/all if there are any items in pkgsinfo. Better first-import experience for new repos.
2017-09-08 11:00:46 -07:00
Greg Neagle
3b4a333c4b
Updated Russian localization. Thanks to Dino Libertino.
2017-09-08 08:16:36 -07:00
Greg Neagle
4b8c386482
Updated Japanese localization. Thanks to Dino Libertino.
2017-09-08 08:16:04 -07:00
Greg Neagle
d38cb35350
Updated Italian localization. Thanks to Dino Libertino.
2017-09-08 08:15:25 -07:00
Greg Neagle
2aa7cee702
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-05 16:42:17 -07:00
Greg Neagle
05ff4fa799
Warn user if creating pkginfo or importing a 'stub' Install macOS.app
2017-09-05 16:41:42 -07:00
Greg Neagle
48957bb615
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-05 10:36:44 -07:00
Greg Neagle
e1ccdae4fa
Add the (presumed) default Apple softwareupdate CatalogURL to the list of OS-specific CatalogURLs in appleupdates/sync.py
2017-09-05 10:35:48 -07:00
Greg Neagle
b64f62cc2f
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-01 08:22:59 -07:00
Clayton Burlison
1c54ff3219
fix: Correct issue with Auth Restart ( #800 )
...
An invalid RecoveryKey can be set that causes FoundationPlist to throw
a ValueError. If this happens no restart happens. Instead we should log
the error and revert to a non-auth restart.
2017-09-01 08:20:49 -07:00
Greg Neagle
738d4c3680
Merge branch 'Munki3dev' into fv_bootstrapping
2017-08-31 18:42:06 -07:00
eholtam
0e256e0ce3
Add uninstall-pkg command to managed_uninstalls in manifestutil ( #797 )
...
* Add move-install-to-uninstall command to move a pkg from managed_installs to managed_uninstalls in manifestutil
* Made this sub-command hard coded to remove from managed_installs and add to managed_uninstalls.
* Renamed command to move-install-to-uninstall
2017-08-31 18:41:18 -07:00
Greg Neagle
af03ccf993
Avoid calling system_profiler when importing munkilib/fetch, which then means faster startup of managedsoftwareupdate
2017-08-31 15:04:54 -07:00
Greg Neagle
8910c8a155
Updated comments
2017-08-31 15:04:27 -07:00
Greg Neagle
c55cb84c3d
Avoid calling system_profiler when importing munkilib/fetch, which then means faster startup of managedsoftwareupdate
2017-08-31 15:00:42 -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
e3e44a4544
Update to osinstaller.py to prevent 'Helper tool crashed' message from appearing in MunkiStatus output.
2017-08-25 14:37:55 -07:00
Greg Neagle
ee9b58f40d
Updated Spanish localization. Thanks to Joaquin Cabrerizo Egea.
2017-08-25 12:55:50 -07:00
Greg Neagle
855b2199e5
Updated Norwegian (Bokmal) localization. Thanks to Frank Paul Silye.
2017-08-25 12:48:48 -07:00
Yoann Gini
04b33642b3
An option to silently skip pkg check ( #795 )
...
Add --skip-pkg-check (-s) option
This PR add a manual option to skip the pkg_check process in addition to PackageCompleteURL & PackageURL based detection.
Manual request for this option is usefull when a unique server contain data and metadata but both are push from different sources. (Like GIT + rsync)
The difference with the force option rely in the warning message that are avoided here and the check done on the metadata part aren't skiped.
2017-08-23 15:34:43 -07:00
Greg Neagle
b6567fc645
Store os_version when caching apple sucatalog and purge if our current os version does not match; check for producy key existence before trying to cache product metadata
2017-08-18 17:14:54 -07:00
Greg Neagle
89e2faf7cc
Adjust installed_state logic which seems was exactly backwards
2017-08-18 15:28:35 -07:00