Commit Graph

2353 Commits

Author SHA1 Message Date
Greg Neagle
fcdbdca937 Properly count recovered records when recovering application_usage DB 2017-02-20 08:21:39 -08:00
Greg Neagle
4b4bbb8aac When running makecatalogs where PyObjC is not available, make note about the use of plistlib less alarming. 2017-02-19 20:32:10 -08:00
Greg Neagle
f42265d49e New feature: removal of unused software available via optional_installs 2017-02-19 20:25:02 -08:00
Erik Gomez
8d8bd51e44 further clarification of -s option
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 12:12:46 -08:00
Erik Gomez
6baf694ccd Add example for -s option
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:57:28 -08:00
Erik Gomez
8b18e676e8 add -s option to package script
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:47:15 -08:00
Erik Gomez
fcc7b8a2da add -s option to DEP package script
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:47:07 -08:00
n8felton
59aaa6de9b Improved error handling when installing or removing profiles 2017-02-17 07:58:27 -05:00
Greg Neagle
93323112bb Add launchdaemon for app_usage_monitor; add build of app_usage package to make_munki_mpkg.sh 2017-02-16 09:12:40 -08:00
Greg Neagle
157475ec3c Add app_usage_monitor 2017-02-15 11:21:15 -08:00
Greg Neagle
0ef9b61120 Simplfy idle check when deciding whether or not to remove the bootstrap flag file 2017-02-02 11:54:57 -08:00
Greg Neagle
4fb323f4b0 Remove managedsoftwareupdate's check for server availabilty -- if the server is not available, it will fail while attempting to get the primary manifest. 2017-02-02 11:52:35 -08:00
Greg Neagle
4053a0dbe7 Update copyright dates to 2017 2017-01-17 20:14:31 -08:00
Greg Neagle
e3d0a9dbee Bumping version.plist for current development round 2017-01-17 08:52:41 -08:00
Greg Neagle
ea46be6d3f Update make_munki_mpkg* scripts to properly stage and package all the needed Python files in munkilib. 2017-01-12 10:23:01 -08:00
Greg Neagle
117df2e837 Update make_munki_mpkg_DEP.sh to add removepackages tool to core pkg 2017-01-11 16:38:35 -08:00
Greg Neagle
1de360ec37 Merge branch 'master' into major-refactor 2017-01-11 16:37:32 -08:00
Erik Gomez
19383a3f69 use sys.argv[3] instead of os.environ['DSTVOLUME']
Also only attempt to load the launchd's if the volume is '/'
2017-01-11 16:16:48 -08:00
Greg Neagle
24805bd99b Remove 'shebang' line from all Python modules that are not intended to be executed as scripts. This also causes my stupid editor to stop marking these files as executable. 2017-01-11 16:03:33 -08:00
Greg Neagle
099ffbff97 Add removepackages to the tools in the core pkg 2017-01-11 15:50:50 -08:00
Erik Gomez
39364f3124 remove the restart requirement for launchd subpkg
Since the distribution file contains the logic for the restart, admins can distribute the entire munki package for upgrades and use a ChoiceChangesXML.

For DEP configurations, if you customize your install in anyway, you must extract the subpackages and create your own distribution package (since you can't have distribution package inside of a distribution package). You can re-insert the logic in the new distribution package if needed.
2017-01-11 10:54:26 -08:00
Erik Gomez
1120098377 add DSTVOLUME environmental variable 2017-01-11 09:49:48 -08:00
Greg Neagle
24c76fe35c Fix unintended mass replace causulty. 2017-01-11 09:39:39 -08:00
Erik Gomez
0bc9ecc462 launchd typo 2017-01-10 17:37:26 -08:00
Erik Gomez
2f2364a0cd fix postinstall os.path.join 2017-01-10 17:26:43 -08:00
Erik Gomez
89de95bd24 add distribution script and launchd pkg postinstall 2017-01-10 16:50:01 -08:00
Erik Gomez
b5a14258be add DEP changes 2017-01-10 16:49:04 -08:00
Erik Gomez
20abffb295 copy make_munki_mpkg.sh to make_munki_mpkg_DEP.sh 2017-01-10 16:47:57 -08:00
Greg Neagle
1272a34d42 More removepackages reorganization 2017-01-10 16:30:49 -08:00
Greg Neagle
40519d2d4a More executable bits 2017-01-10 16:18:56 -08:00
Greg Neagle
9d697838dc Refactor removepackages 2017-01-10 16:17:48 -08:00
Greg Neagle
51bfe4ad9d Replace munkicommon references with replacement modules 2017-01-10 12:02:46 -08:00
Greg Neagle
ea47fc7bb6 Replace munkicommon references with replacement modules 2017-01-10 11:56:56 -08:00
Greg Neagle
a5e1fa2ba4 Replace munkicommon references with replacement modules 2017-01-10 11:51:50 -08:00
Greg Neagle
ca9a030c9f Replace munkicommon references with replacement modules 2017-01-10 11:41:00 -08:00
Greg Neagle
4e834ebfc3 Fix executable bit 2017-01-10 11:33:55 -08:00
Greg Neagle
025323ac0c Replace munkicommon references with replacement modules 2017-01-10 11:33:16 -08:00
Greg Neagle
8e1fe8e926 Split up large appleupdates.core module 2017-01-10 10:30:07 -08:00
Greg Neagle
cc24527b64 Split up too-large munkilib/updatecheck/core module 2017-01-10 09:59:13 -08:00
Greg Neagle
dc66070a1b Remove execuatable bit 2017-01-10 09:58:19 -08:00
Greg Neagle
a399d47e83 Missed function name change 2017-01-10 09:06:10 -08:00
Greg Neagle
2e905b0dea Once again remove executable bits that are getting set 2017-01-10 09:03:30 -08:00
Greg Neagle
e605490e95 Lots of PyLint clean ups 2017-01-10 08:59:41 -08:00
Greg Neagle
7303b1215a PyLint cleanups 2017-01-09 11:39:57 -08:00
Greg Neagle
70a8c92ada PyLint cleanups 2017-01-09 11:12:12 -08:00
Greg Neagle
dfbe8bbcad Fix tests 2017-01-09 10:45:20 -08:00
Greg Neagle
ed3251e28f PyLint cleanups 2017-01-09 10:45:07 -08:00
Greg Neagle
208d22f1b0 PyLint cleanups 2017-01-09 10:15:10 -08:00
Greg Neagle
8deb944a7c decrease repeated defintions of the same function 2017-01-09 10:14:16 -08:00
Greg Neagle
0e56d0bae3 Change references to munkicommon to new modules; PyLint cleanup 2017-01-06 16:18:43 -08:00