Greg Neagle
441e649288
take out another instance of 'launchctl bsexec' usage under 10.11
2015-07-14 13:44:15 -07:00
Greg Neagle
6f3b65feac
Don't use under 10.11 since SIP prevents it from doing what we want
2015-07-14 13:39:49 -07:00
Greg Neagle
fd75be09fa
Remove mistaken addition of OnDemand flag to configuration pkginfo in makepkginfo
2015-07-03 15:39:06 -07:00
Greg Neagle
3512f5389b
Another attempt to actually accomplish what was intended here: https://github.com/munki/munki/commit/1e511689d562f633b93b7f59cc2e2b349eb987e0 -- turns out ClearAppleUpdateInfo() method wasn't actually being called by anything. Sigh.
2015-06-30 18:39:28 -07:00
Greg Neagle
900b34c481
Merge pull request #490 from Multimac/local_manifest_name
...
Update getmanifest to create unique filename for local copy of manifest
2015-06-29 08:28:31 -07:00
David Symons
3e4935ec9b
Changed filename checking in cleanUpManifests to ignore all files named 'SelfServeManifest'
2015-06-25 14:38:04 +10:00
David Symons
cb5117b18d
Reworked cleanUpManifests to use os.walk instead of recursion, cleaning it up.
...
Added better exception handling to manifest folder creation in getmanifest
2015-06-25 14:30:13 +10:00
David Symons
495873e7a1
Added exception for SelfServeManifest to cleanUpManifests
2015-06-23 16:58:15 +10:00
David Symons
d041d90b6f
Fixing spelling mistake
2015-06-23 16:46:58 +10:00
David Symons
b1840af0ac
Added cleanUpManifests to check over all manifests and remove those which are no longer used
2015-06-23 16:43:24 +10:00
David Symons
d7512980f5
Flattened MANIFESTS, removing unnecessary sub-dictionaries. Also updated variable names to be less confusing
2015-06-23 16:02:22 +10:00
David Symons
96b80d7ce1
Forgot to use addToManifestCache and getFromManifestCache...
2015-06-23 13:42:36 +10:00
David Symons
aecf0191a8
Updated getmanifest to copy the folder structure on the server when storing client-side manifests
2015-06-23 13:14:22 +10:00
David Symons
f1af30de49
Update getmanifest to create unique filename for local copy of manifest
2015-06-22 12:40:19 +10:00
Greg Neagle
a6b4b5be84
Merge pull request #487 from klou/re-enable-makepkginfo-scripts
...
add arguments check to criteria test
2015-06-10 14:25:15 -07:00
klou
069c8be699
add arguments check to criteria test
...
Checks for a single argument (installer item) as well as has_valid_install_critieria. Multiple arguments fail via other checks, zero arguments (script_options) pass for pkginfo generation.
2015-06-10 13:08:24 -07:00
Greg Neagle
b37a514624
When url quoting items, encode as UTF-8 first
2015-06-10 09:01:26 -07:00
Greg Neagle
7b4ddff2ba
Add .sutcatalog URL for El Cap
2015-06-10 08:28:28 -07:00
Clay Caviness
06fe9e25ea
builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
...
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
2015-06-03 12:14:01 -04:00
Greg Neagle
743d023037
Merge pull request #477 from dayglojesus/fix_issue_476
...
fix issue #476
2015-05-05 17:25:23 -07:00
Brian Warsing
23423504fe
fix issue #476
...
makepkginfo was crashing when trying to access non-existent keys in the catinfo
object. Replace `[]` accessor method with `get`.
2015-05-05 15:40:44 -07:00
Greg Neagle
e988ba1993
Don't crash if profiles.py functions get called on 10.6.x
2015-05-05 15:05:09 -07:00
Brian Warsing
ee1bcac831
follow symlinks when walking pkgs and pkgsinfo
...
To protect against infinite recursion, `os.walk` will not follow symlinks by
default. However, this safety feature can hamper the utility of makecatalogs if
admins want to symlink-in resources from multiple munki repos, so turn it off.
2015-05-01 11:13:18 -07:00
Greg Neagle
248368ba3a
Explictly check that item returned from NSPropertyListSerialization methods is None to distinquish that from perfectly-valid empty objects (empty arrays, dicts, etc)
2015-04-22 11:44:23 -07:00
Greg Neagle
3748463791
Check value of returned object when serializing or deserializing instead of the value of the error
2015-04-16 09:22:25 -07:00
Greg Neagle
5307006ef4
Clear PendingUpdateCount after installing so Dock badge is reset
2015-04-15 14:37:29 -07:00
Greg Neagle
9d6de2e696
Merge pull request #471 from nmcspadden/master
...
Fixed indentation issue
2015-04-15 10:21:06 -07:00
Greg Neagle
74112ae2c8
Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin
2015-04-15 10:19:00 -07:00
Nick McSpadden
72e6901cc2
Fixed indentation issue
2015-04-15 09:58:19 -07:00
Greg Neagle
85892be850
Merge branch 'one-time-tasks'
2015-04-15 08:54:50 -07:00
Greg Neagle
f3d2bdcbb4
Merge pull request #458 from nmcspadden/master
...
Added uninstaller_item_location check to makecatalogs
2015-04-13 14:19:42 -07:00
Greg Neagle
1e511689d5
Apple Softwre Update: clear ApplicableUpdates.plist as well as AppleUpdates.plist after installing Apple updates. Addresses an issue where recently installed Apple updates may show as needing to be installed again if the SUS server is not reachable.
2015-04-09 18:37:19 -07:00
Erik Gomez
511d7f596c
remove --ondemant_script
...
:(
2015-03-26 20:41:37 -05:00
Greg Neagle
a82fc141c1
Merge pull request #464 from erikng/master
...
60 second network wait
2015-03-25 15:52:40 -07:00
Greg Neagle
7dbbf8f368
Add installer_type == 'apple_update_metadata' to has_valid_install_critieria function so makepkginfo doesn't warn when making pkginfo for apple_update items.
2015-03-25 11:36:51 -07:00
Erik Gomez
5253c5ec9d
Add options for --ondemand_script and --OnDemand
...
Example:
makepkginfo --name RepairPermissions --displayname "Repair Permissions" --description "This tool will repair your disk permissions. This is helpful if you are experiencing issues with your machine." --nopkg --pkgvers=1.0 --unattended_install --ondemand_script="RepairPermissions.sh" --OnDemand
2015-03-23 18:56:18 -05:00
Greg Neagle
9d750e9418
Merge branch 'master' into one-time-tasks
2015-03-22 09:55:43 -07:00
Greg Neagle
d0c1c40353
Special case for Office 2011 updaters when building lists of files; install location should be empty string
2015-03-22 09:55:19 -07:00
Greg Neagle
6c30e378d8
Merge branch 'master' into one-time-tasks
2015-03-22 09:09:21 -07:00
Greg Neagle
ca355d0289
Special case for Office 2011 updaters when building lists of files
2015-03-22 09:08:44 -07:00
Erik Gomez
d102c15cfe
Update managedsoftwareupdate
2015-03-21 18:53:24 -05:00
Greg Neagle
66f6cffecf
Merge branch 'master' into one-time-tasks
2015-03-20 10:26:48 -07:00
Nick McSpadden
938f50ead9
TABS
2015-03-20 10:26:17 -07:00
Nick McSpadden
6877101604
Better future-proof check for uninstaller_item_location
...
AdobeCCPUninstaller _must_ have an uninstaller_item_location key. If
uninstaller_item_location is specified, it must be valid.
2015-03-20 10:24:57 -07:00
Greg Neagle
33fd840a76
Bump version to 2.2.4 for release
2015-03-20 10:23:59 -07:00
Nick McSpadden
01c0b5393d
Supports AdobeUberUninstaller removal
2015-03-16 10:00:52 -07:00
Greg Neagle
1f06922b70
Merge branch 'master' into one-time-tasks
2015-03-16 09:09:32 -07:00
Nate Walck
b767cf999f
Added logging so it is easier to determine if updates are installed at login window or a user GUI session
2015-03-16 09:03:04 -07:00
Greg Neagle
a3d0c492fe
Add support for pkginfo 'OnDemand' key to enable on-demand tasks
2015-03-14 19:29:14 -07:00
Greg Neagle
42a70f284c
Tweak makepkginfo's warning message when there is no installation check info
2015-03-14 13:00:49 -07:00