View enable_nomadlogin.pkginfo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>_metadata</key> | |
<dict> | |
<key>created_by</key> | |
<string>Jon Crain</string> | |
<key>creation_date</key> | |
<date>2020-09-3T18:05:47Z</date> |
View test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"use-global":false, | |
"persistent-apps": [ | |
"/Applications/Firefox.app", | |
"/Applications/Adobe Acrobat DC/Adobe Acrobat.app", | |
"/Applications/Adobe Bridge CC 2019/Adobe Bridge CC 2019.app", | |
"/Applications/Adobe Lightroom Classic/Adobe Lightroom Classic.app", | |
"/Applications/Photo Mechanic 5.app", | |
"/Applications/Adobe Photoshop CC 2019/Adobe Photoshop CC 2019.app", | |
"/Applications/Adobe Illustrator CC 2019/Adobe Illustrator.app", |
View erase_install_mojave.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>OnDemand</key> | |
<true/> | |
<key>RestartAction</key> | |
<string>RequireRestart</string> | |
<key>_metadata</key> | |
<dict> |
View mr_upgrade_testing.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone -b v2.7.3 https://github.com/munkireport/munkireport-php.git ./test | |
cd ./test | |
cp config_default.php ./config.php | |
echo "\$conf['auth']['auth_noauth'] = array();" >> ./config.php | |
php -S localhost:8080 -t ./ # this will run site locally | |
### in another terminal run the following | |
sudo /bin/bash -c "$(curl -s http://localhost:8080/index.php?/install)" | |
sudo /usr/local/munki/preflight && /usr/local/munki/postflight | |
git pull origin master | |
# stop web server (it's served out of public now) |
View linux_upgrade.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import datetime | |
import subprocess | |
import json | |
import urllib | |
import urllib2 | |
import shutil | |
import tarfile |
View setup.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dev_site_root=~/Documents/munkireport-awesome | |
module_name=awesome | |
git clone https://github.com/munkireport/munkireport-php.git $dev_site_root | |
cd $dev_site_root | |
#### Choose the branch to load: | |
# git checkout master |
View tcc.pkginfo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadIdentifier</key> | |
<string>com.example.tcc</string> | |
<key>_metadata</key> | |
<dict> | |
<key>catalog_promotion_date</key> | |
<string>2019-01-16</string> |
View kext_policy.pkginfo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadIdentifier</key> | |
<string>org.domain.kextpolicy</string> | |
<key>_metadata</key> | |
<dict> | |
<key>catalog_promotion_date</key> | |
<string>2018-11-01</string> |
View rum_update_product.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Application SAP Codes and versions found here: https://helpx.adobe.com/enterprise/package/help/apps-deployed-without-their-base-versions.html | |
# check if root | |
if [[ $EUID != 0 ]] ; then | |
echo "Remote Update Manager: Please run this as root, or via sudo." | |
exit -1 | |
fi |