Greg Neagle
4077811dff
Merge Pepjin Bruienne's Dutch localization
2012-07-11 08:21:58 -07:00
Greg Neagle
a065641887
Merge http://code.google.com/r/bruienne-dutch-translation
2012-07-11 08:07:27 -07:00
Greg Neagle
70553812c0
Merge in nbalonso's Spanish localization for Managed Software Update.app
2012-07-10 16:38:57 -07:00
Greg Neagle
46fdad5cb9
Merge https://code.google.com/r/nbalonso-spanish-translation
2012-07-10 16:26:10 -07:00
cengage
38eb0f5389
Added Dutch localization
2012-07-10 16:11:41 -04:00
Greg Neagle
167a5ef810
Don't ignore an unattended_install whose RestartAction is explictly 'None'.
2012-07-07 11:52:03 -07:00
Heig Gregorian
66a4b763c0
Minor changes to wording of "destination item (name)" option to indicate that it is a name and not a full path.
...
This option is now stored as 'options.destitemname'
2012-07-06 10:17:43 -07:00
Heig Gregorian
eb75e13be9
Typo fixed for setting 'blocking_applications' array
...
Option is called '--block_application', however, it should be written
as 'blocking_applications' to the pkginfo dict.
2012-07-06 08:53:48 -07:00
nbalonso
d64820a0b9
Added Spanish strings
2012-07-05 22:24:16 +03:00
Heig Gregorian
af723cb710
Updates to help docs provided by "drag-n-drop" options such that they don't explicitly refer to what's been set by '--item', but rather the item that's been copied.
...
Option help takes on a more generic tone to reflect the possibility
that '--destinationitem' has been specified.
2012-07-03 16:10:39 -07:00
Heig Gregorian
147acdd92a
Inline documentation added to provide a bit of clarity
2012-07-03 08:53:46 -07:00
Heig Gregorian
2e05588206
Improved help output for '--destinationitem' option.
...
Explicitly states that the "installs" item's path is modified such that
it includes the alternate name as opposed to the disk image item's
original name.
2012-07-03 08:45:53 -07:00
Heig Gregorian
647cb861f4
Support for providing 'destination_item' name when processing a "drag n drop" installation.
2012-07-02 12:54:21 -07:00
Greg Neagle
0ab2b9c6a3
Merge https://code.google.com/r/arjenvanbochoven-munki
2012-07-02 11:44:33 -07:00
Arjen van Bochoven
5daf8ce9d4
Fixed wrong condition in makecatalogs
2012-07-02 20:36:10 +02:00
Greg Neagle
f723da036e
Pylint cleanups
2012-07-02 11:05:46 -07:00
Greg Neagle
1c914a9ead
Pylint cleanups
2012-07-02 10:55:05 -07:00
Greg Neagle
084a8d76aa
Pylint cleanups
2012-07-02 10:45:08 -07:00
Greg Neagle
0a928661b8
PyLint cleanups
2012-07-02 10:42:59 -07:00
Greg Neagle
422a9fe28a
Merge https://code.google.com/r/arjenvanbochoven-munki
2012-07-02 09:40:04 -07:00
Greg Neagle
5faf201872
Merge branch 'installer-copy_as' of https://code.google.com/r/theheig-conditionals
2012-07-02 09:19:50 -07:00
Greg Neagle
09b99891bd
Merge branch 'makepkginfo' of https://code.google.com/r/theheig-conditionals
2012-07-02 09:12:00 -07:00
Arjen van Bochoven
0b495c7a14
Changed package_less install flag to installer_type=nopkg
2012-07-02 11:57:38 +02:00
Arjen van Bochoven
6f7ddf7b59
Added ! to installer_item to make it less likely someone uses this as filename
2012-07-01 08:19:26 +02:00
Arjen van Bochoven
01ddeb765d
Added packageless_install
2012-06-30 22:52:22 +02:00
Heig Gregorian
6f7699b002
Simplified by determining 'full_destpath' which changes depending on if 'destination_item' has been supplied
...
Addition of 'full_destpath' cuts down on redundant checks against
'dest_itemname' at various stages in the process.
2012-06-30 10:44:49 -07:00
Greg Neagle
27ca3a2768
Pay attention to return value from self.CheckForSoftwareUpdates
2012-06-29 21:51:04 -07:00
Justin McWilliams
a788ac2e06
If a corrupt Apple Software Update dist file fails to parse when detecting blocking applications, simply assume there are no blocking applications instead of crashing.
2012-06-29 15:40:15 -04:00
Heig Gregorian
ebbeaf7c4c
Added support for "(un)installcheck_script" inclusion into a pkginfo file.
...
Syntax is the same as any previous script embed.
2012-06-29 11:30:06 -07:00
Heig Gregorian
e1504af2b0
Merge branch 'master' into installer-copy_as
2012-06-29 11:04:07 -07:00
Greg Neagle
7d3d7d1ac8
Add support for uninstallcheck_script; fix some bad variable names
2012-06-29 08:39:23 -07:00
Greg Neagle
2ac7f26720
Add support for 'installcheck_script' in pkginfo
2012-06-28 11:08:22 -07:00
Greg Neagle
391fda8c23
Receipts marked with optional=true are treated as if they are installed when checking for installed state.
2012-06-28 09:55:50 -07:00
Greg Neagle
b4eb55cd84
makepkginfo now warns when provided a read/write disk image, and does not generate an installer_item_hash.
2012-06-27 16:06:09 -07:00
Greg Neagle
fa5052e247
Merge branch 'master' of https://code.google.com/p/munki
2012-06-25 15:00:59 -07:00
Greg Neagle
cc0ac78964
When matching blocking_applications against running processes, do not match executables inside a bundle, but not in Contents/MacOS.
2012-06-25 15:00:48 -07:00
Heig Gregorian
58dbc9fb95
Added check for 'destination_item' when processing 'remove_copied_items' so that the correct item is removed.
2012-06-22 09:47:20 -07:00
Justin McWilliams
12b3957a53
New Preferences class with ManagedInstallsPreferences and SecureManagedInstallsPreferences subclasses, making it easier for admins to manage preferences from preflight/postflight scripts. This is especially helpful now that reading from and manipulating plists on disk is no longer reliable starting with 10.8. This class functions well on 10.6+, though (possibly even 10.5).
...
Example:
from munkilib import munkicommon
regular_prefs = munkicommon.ManagedInstallsPreferences()
repo_url = regular_prefs.get('SoftwareRepoURL', '')
... make use of repo_url how you wish ...
secure_prefs = munkicommon.SecureManagedInstallsPreferences()
secure_prefs['AdditionalHttpHeaders'] = [list, of, headers]
2012-06-22 12:25:49 -04:00
Heig Gregorian
7289bfefa2
Doc inconsistancy fixed.
2012-06-21 07:55:12 -07:00
Heig Gregorian
75d385a45d
Mostly variable renames to better illustrate the process, especially if a 'dest_item' has been provided
...
NOTE: 'copy_as' has been renamed to 'dest_item', serving as the
counterpart to 'source_item'.
2012-06-21 07:50:00 -07:00
Heig Gregorian
1991a12312
Provide method for copying an item from a mount point as something other than its 'source_item' name
...
Note that if an admin is to provide an alternate name using 'copy_as',
the corresponding 'installs' item (if provided) should match this name.
2012-06-20 20:32:56 -07:00
Greg Neagle
01a78cf732
In updatecheck.installedState(), if there is a problem with the installs or receipts data in the pkginfo item, return 1 to prevent marking the item as needing to be installed. Thanks to Heig Gregorian.
2012-06-12 13:29:37 -07:00
Greg Neagle
8d143025c5
Merge branch 'master' of https://code.google.com/p/munki
2012-06-08 15:05:10 -07:00
Greg Neagle
0ed46a42ee
Get rid of menubar flash when MSU.app runs over the loginwindow; tweaks to appearance over Lion loginwindow
2012-06-08 15:05:05 -07:00
Justin McWilliams
a8c7bd9dc2
Log when managedsoftwareupdate is about to notify users with MSU GUI.
2012-06-07 15:53:08 -04:00
Greg Neagle
4b2e14ffe6
Merge branch 'master' of https://code.google.com/p/munki
2012-06-06 11:20:01 -07:00
Greg Neagle
277966aada
New look for displaying Munki status window at the login window in Lion+
2012-06-06 11:19:17 -07:00
Justin McWilliams
d2ae26c9fd
Merge branch 'master' of https://code.google.com/p/munki
2012-06-06 14:12:36 -04:00
Justin McWilliams
d841599fb4
Add year and timezone offset to log output.
2012-06-06 14:12:02 -04:00
Greg Neagle
f62a2df314
Add Mountain Lion sucatalog to list of default Apple catalogs
2012-06-06 09:53:19 -07:00