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
Greg Neagle
ba5cfd7be1
Stupid executable bits
2017-01-06 15:48:21 -08:00
Greg Neagle
09714a720b
Change references to munkicommon to new modules; PyLint cleanup
2017-01-06 15:47:03 -08:00
Greg Neagle
a05bdd4d30
Change references to munkicommon to new modules; PyLint cleanup
2017-01-06 15:35:15 -08:00
Greg Neagle
0ac9463a6d
Change references to munkicommon to new modules; PyLint cleanup
2017-01-06 15:32:47 -08:00
Greg Neagle
846c2cb3d1
Convert munkicommon references to their new modules
2017-01-06 15:20:49 -08:00
Greg Neagle
dfc470b0f6
Remove executable bit
2017-01-06 15:20:08 -08:00
Greg Neagle
9021d40f72
Change relative import style
2017-01-06 15:10:36 -08:00
Greg Neagle
70aa3bd006
Restructure adobeutils
2017-01-06 14:45:13 -08:00
Greg Neagle
1a769c40f9
Better clean up of update cache
2017-01-06 14:44:29 -08:00
Greg Neagle
b45c7132c1
Restructure installer.py and updatecheck.py
2017-01-06 13:24:25 -08:00
Greg Neagle
ad1d523e24
Restructure appleupdates.py
2017-01-06 13:22:33 -08:00
Greg Neagle
d0c06dabdc
Minor tweaks
2017-01-04 09:38:27 -08:00
Greg Neagle
087bfa7d5f
Rename munkilib/distutils.py to munkilib/appledistutils.py so as to not conflict with stdlib distutils
2017-01-04 09:37:45 -08:00
Greg Neagle
3acba9bcdc
Move some functions from appleupdates.py to new distutils.py
2017-01-04 09:24:08 -08:00