-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
282 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# .DS_Store files! | ||
.DS_Store | ||
|
||
# our build directory | ||
build/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?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>PayloadContent</key> | ||
<array> | ||
<dict> | ||
<key>PayloadType</key> | ||
<string>com.apple.applicationaccess.new</string> | ||
<key>PayloadVersion</key> | ||
<integer>1</integer> | ||
<key>PayloadIdentifier</key> | ||
<string>com.example.config.applicationaccess</string> | ||
<key>PayloadEnabled</key> | ||
<true/> | ||
<key>PayloadUUID</key> | ||
<string>524512d1-193a-7bd2-cd4f-b25f842fd97b</string> | ||
<key>PayloadDisplayName</key> | ||
<string>Application Restrictions</string> | ||
<key>familyControlsEnabled</key> | ||
<true/> | ||
<key>pathBlackList</key> | ||
<array> | ||
<string>/Applications/Install macOS High Sierra Beta.app</string> | ||
<string>/Applications/Install macOS High Sierra.app</string> | ||
</array> | ||
<key>pathWhiteList</key> | ||
<array> | ||
<string>/</string> | ||
</array> | ||
<key>whiteList</key> | ||
<array/> | ||
</dict> | ||
<dict> | ||
<key>PayloadContent</key> | ||
<dict> | ||
<key>com.apple.SoftwareUpdate</key> | ||
<dict> | ||
<key>Forced</key> | ||
<array> | ||
<dict> | ||
<key>mcx_preference_settings</key> | ||
<dict> | ||
<key>AllowPreReleaseInstallation</key> | ||
<false/> | ||
</dict> | ||
</dict> | ||
</array> | ||
</dict> | ||
</dict> | ||
<key>PayloadEnabled</key> | ||
<true/> | ||
<key>PayloadIdentifier</key> | ||
<string>MCXToProfile.02721c3d-31b9-4795-ac72-ca64f641a744.alacarte.customsettings.0e4f7d96-d611-407d-82bb-5da5cbd70b9f</string> | ||
<key>PayloadType</key> | ||
<string>com.apple.ManagedClient.preferences</string> | ||
<key>PayloadUUID</key> | ||
<string>0e4f7d96-d611-407d-82bb-5da5cbd70b9f</string> | ||
<key>PayloadVersion</key> | ||
<integer>1</integer> | ||
</dict> | ||
</array> | ||
<key>PayloadDescription</key> | ||
<string>Block macOS Install</string> | ||
<key>PayloadDisplayName</key> | ||
<string>Block macOS Install</string> | ||
<key>PayloadIdentifier</key> | ||
<string>com.trmacs.block_osx_install</string> | ||
<key>PayloadOrganization</key> | ||
<string>Technology Revealed</string> | ||
<key>PayloadRemovalDisallowed</key> | ||
<false/> | ||
<key>PayloadType</key> | ||
<string>Configuration</string> | ||
<key>PayloadUUID</key> | ||
<string>176EF199-E93F-46EE-9757-47C7CD66F7FC</string> | ||
<key>PayloadScope</key> | ||
<string>System</string> | ||
<key>PayloadVersion</key> | ||
<integer>1</integer> | ||
</dict> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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>distribution_style</key> | ||
<false/> | ||
<key>identifier</key> | ||
<string>com.github.munki.pkg.block_osx_install</string> | ||
<key>install_location</key> | ||
<string>/</string> | ||
<key>name</key> | ||
<string>block_osx_install-${version}.pkg</string> | ||
<key>ownership</key> | ||
<string>recommended</string> | ||
<key>postinstall_action</key> | ||
<string>none</string> | ||
<key>suppress_bundle_relocation</key> | ||
<true/> | ||
<key>version</key> | ||
<string>1.0.2</string> | ||
</dict> | ||
</plist> |
20 changes: 20 additions & 0 deletions
20
Block OSX Install/payload/Library/LaunchDaemons/block_osx_install.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | ||
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Disabled</key> | ||
<false/> | ||
<key>Label</key> | ||
<string>block_osx_install</string> | ||
<key>ProgramArguments</key> | ||
<array> | ||
<string>/Library/Scripts/block_osx_install.sh</string> | ||
</array> | ||
<key>WatchPaths</key> | ||
<array> | ||
<string>/Applications/Install macOS High Sierra.app/</string> | ||
<string>/Applications/Install macOS High Sierra Beta.app/</string> | ||
</array> | ||
</dict> | ||
</plist> |
8 changes: 8 additions & 0 deletions
8
Block OSX Install/payload/Library/Scripts/block_osx_install.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
#loggedinuser=`stat -f%Su /dev/console` | ||
|
||
killall InstallAssistant | ||
rm -rf "/Applications/Install macOS High Sierra Beta.app" | ||
rm -rf "/Applications/Install macOS High Sierra.app" | ||
#sudo -u "$loggedinuser" osascript -e 'tell app "System Events" to display alert "Upgrading your Operating System without approval violates our policy"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
launchctl unload -w /Library/LaunchDaemons/block_osx_install.plist | ||
launchctl load -w /Library/LaunchDaemons/block_osx_install.plist |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?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>autoremove</key> | ||
<false/> | ||
<key>catalogs</key> | ||
<array> | ||
<string>production</string> | ||
</array> | ||
<key>category</key> | ||
<string>SelfService</string> | ||
<key>description</key> | ||
<string>Purges local MacPractice cache</string> | ||
<key>developer</key> | ||
<string>TR</string> | ||
<key>display_name</key> | ||
<string>MacPractice Cleaner</string> | ||
<key>installer_type</key> | ||
<string>nopkg</string> | ||
<key>minimum_os_version</key> | ||
<string>10.4.0</string> | ||
<key>name</key> | ||
<string>MacPractice Cleaner</string> | ||
<key>postinstall_script</key> | ||
<string>#!/bin/bash | ||
currentuser=$(defaults read /Library/Preferences/com.apple.loginwindow.plist lastUserName) | ||
echo "" | ||
echo "======Purging MacPractice Cache ======" | ||
rm -vrf "/Users/$currentuser/Library/Application Support/MacPracticeClient" | ||
exit 0 | ||
</string> | ||
<key>version</key> | ||
<string>1.0</string> | ||
<key>blocking_applications</key> | ||
<array> | ||
<string>MacPractice MD</string> | ||
</array> | ||
</dict> | ||
</plist> |
File renamed without changes.
100 changes: 100 additions & 0 deletions
100
profiles/EnableAutomaticDownloadandInstallofOffice2016Updates.mobileconfig
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<?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>PayloadContent</key> | ||
<array> | ||
<dict> | ||
<key>PayloadContent</key> | ||
<dict> | ||
<key>com.microsoft.autoupdate2</key> | ||
<dict> | ||
<key>Forced</key> | ||
<array> | ||
<dict> | ||
<key>mcx_preference_settings</key> | ||
<dict> | ||
<key>HowToCheck</key> | ||
<string>AutomaticDownload</string> | ||
<key>Applications</key> | ||
<dict> | ||
<key>/Applications/Microsoft Excel.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>XCEL15</string> | ||
<key>LCID</key> | ||
<integer>1033</integer> | ||
</dict> | ||
<key>/Applications/Microsoft OneNote.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>ONMC15</string> | ||
<key>LCID</key> | ||
<string>1033</string> | ||
</dict> | ||
<key>/Applications/Microsoft Outlook.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>OPIM15</string> | ||
<key>LCID</key> | ||
<integer>1033</integer> | ||
</dict> | ||
<key>/Applications/Microsoft PowerPoint.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>PPT315</string> | ||
<key>LCID</key> | ||
<integer>1033</integer> | ||
</dict> | ||
<key>/Applications/Microsoft Word.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>MSWD15</string> | ||
<key>LCID</key> | ||
<integer>1033</integer> | ||
</dict> | ||
<key>/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app</key> | ||
<dict> | ||
<key>Application ID</key> | ||
<string>MSau03</string> | ||
<key>LCID</key> | ||
<integer>1033</integer> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</array> | ||
</dict> | ||
</dict> | ||
<key>PayloadEnabled</key> | ||
<true/> | ||
<key>PayloadIdentifier</key> | ||
<string>MCXToProfile.67ad2621-b510-4060-b971-7f7cf51506c9.alacarte.customsettings.c00e472d-4cb4-4231-8fd4-c7fa866efc00</string> | ||
<key>PayloadType</key> | ||
<string>com.apple.ManagedClient.preferences</string> | ||
<key>PayloadUUID</key> | ||
<string>c00e472d-4cb4-4231-8fd4-c7fa866efc00</string> | ||
<key>PayloadVersion</key> | ||
<integer>1</integer> | ||
</dict> | ||
</array> | ||
<key>PayloadDescription</key> | ||
<string>Enable Automatic Download and Installation of Microsoft Office 2016 Updates</string> | ||
<key>PayloadDisplayName</key> | ||
<string>Enable Automatic Download and Installation of Microsoft Office 2016 Updates</string> | ||
<key>PayloadIdentifier</key> | ||
<string>com.company.profile.EnableAutomaticDownloadAndInstall</string> | ||
<key>PayloadOrganization</key> | ||
<string></string> | ||
<key>PayloadRemovalDisallowed</key> | ||
<false/> | ||
<key>PayloadScope</key> | ||
<string>System</string> | ||
<key>PayloadType</key> | ||
<string>Configuration</string> | ||
<key>PayloadUUID</key> | ||
<string>67ad2621-b510-4060-b971-7f7cf51506c9</string> | ||
<key>PayloadVersion</key> | ||
<integer>1</integer> | ||
</dict> | ||
</plist> |