Last active
March 19, 2019 02:34
-
-
Save zackn9ne/d3a3bffa9c886a87f20570cdc00b2aa4 to your computer and use it in GitHub Desktop.
munki drops
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
SERVER="1.2.3.4." | |
#client side-set them | |
sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://$SERVER/munki_repo" | |
sudo defaults write /Library/Preferences/ManagedInstalls ClientIdentifier "basic_manifest" | |
sudo defaults write /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates -bool TRUE | |
#client side-check them | |
sudo defaults read /Library/Preferences/ManagedInstalls SoftwareRepoURL | |
sudo defaults read /Library/Preferences/ManagedInstalls ClientIdentifier | |
# Check suppress usernotification and installapplesoftwareupdate settings | |
defaults read /Library/Preferences/ManagedInstalls SuppressUserNotification | |
defaults read /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates | |
#admin side | |
/usr/local/munki/munkiimport ~/Downloads/1Password-7.2.4.pkg | |
vi /Users/Shared/munki_repo/manifests/basic_manifest | |
rsync -avz /Users/Shared/munki_repo root@$SERVER:/var/www/html | |
#autopkg side | |
autopkg run -v GoogleChrome.munki MakeCatalogs.munki #adds google chrome and essentially runs makecatalogs for any new item listed in this session of commands | |
#rsync side | |
rsync -avzh /Users/shared/munki_repo root@$SERVER:/var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment