All Projects → tbridge → munki-in-a-cloud

tbridge / munki-in-a-cloud

Licence: other
A bash script designed to setup a Munki repository, download items, and then prepare and sync an Amazon S3 + CloudFront distribution method.

Programming Languages

shell
77523 projects
HCL
1544 projects

Projects that are alternatives of or similar to munki-in-a-cloud

cleanup manager
Cleanup Manager helps you clean up folders on your Mac's hard drive.
Stars: ✭ 22 (-57.69%)
Mutual labels:  macadmins
munkiwebadmin
No description or website provided.
Stars: ✭ 31 (-40.38%)
Mutual labels:  munki
JSS-Resource-Tools
A CLI utility that utilises the Jamf Pro (previously Casper Suite) API in order to import, export and update JSS resources en-masse.
Stars: ✭ 24 (-53.85%)
Mutual labels:  macadmins
munki-rebrand
Script to rebrand Munki's Managed Software Center
Stars: ✭ 85 (+63.46%)
Mutual labels:  munki
DownloadFullInstaller
macOS application written in SwiftUI that downloads installer pkgs for the Install macOS Big Sur application.
Stars: ✭ 678 (+1203.85%)
Mutual labels:  macadmins
sudoers manager
A standalone Python script to help administrators manage their sudoers file.
Stars: ✭ 28 (-46.15%)
Mutual labels:  macadmins
mac scripts
A collection of scripts used to Manage Mac OS X computers.
Stars: ✭ 38 (-26.92%)
Mutual labels:  macadmins
JAMF-Enrollment-Kickstart
A better enrollment kickoff for JAMF machines
Stars: ✭ 74 (+42.31%)
Mutual labels:  macadmins
LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (-44.23%)
Mutual labels:  macadmins
yo-yo
Like outset for yo.
Stars: ✭ 19 (-63.46%)
Mutual labels:  macadmins
jamfscripts
Scripts I use non API related
Stars: ✭ 15 (-71.15%)
Mutual labels:  macadmins
disable sip
This script is used in the recovery partition to automatically disable SIP.
Stars: ✭ 26 (-50%)
Mutual labels:  macadmins
management tools
A collection of scripts and packages to simplify OS X management.
Stars: ✭ 93 (+78.85%)
Mutual labels:  macadmins
pre-commit-macadmin
Pre-commit hooks for Mac admins.
Stars: ✭ 43 (-17.31%)
Mutual labels:  munki
AutoBrew
AutoBrew: Homebrew deployments made easy
Stars: ✭ 71 (+36.54%)
Mutual labels:  munki

munki-in-a-cloud

The goal of this script is to setup a basic munki repo with a simple script based on a set of common variables. I have placed defaults in these variables, but they are easily overridden and you should decide what they are.

This script is based upon Munki-in-a-Box, the Demonstration Setup Guide for Munki, AutoPKG, and other sources. My sincerest thanks to The Mac Admins Community for being supportive and awesome.

Pre-Requisites:

  1. A Mac running 10.12 or later.
  2. An active AWS Account and appropriate credentials
  3. A light understanding of CloudFront and S3.

Directions for Use:

As if this were a swarm of bees, unless you have some experience with Munki and AWS, this script may be dangerous. And, unlike Munki-in-a-Box, this script could cost you a substantial amount in storage fees, so use it carefully and deliberately. This script carries no warranty or guarantee, and it is entirely possible that Very Bad Things could happen by accident.

  1. Check variables in Lines 32-86
  2. Double-check that you have the right credentials in Lines 40-43
  3. ./miac.sh

If you do not make changes to the script before running it, the script may not run as intended. Please double-check to make sure that you are comfortable with the variables' values.

Caveats:

When you setup AutoPkgr, be sure to understand the security implications of giving that GUI app, and its associated launchdaemons, access to the keychain. You should really use a one-off account for those notifications, and not, say, the admin account to your Google Domain. Just sayin'.

Included Tools & Projects:

Munki

Munki is a client management solution for the Mac. I'm assuming you know a little bit about how Munki works by installing it via this script, but I would be remiss not to point you to Munki's official documentation. It is mostly installed in /usr/local/munki

MunkiAdmin

MunkiAdmin is Hannes Juutilainen's native GUI application for managing Munki repositories. It is super handy for those who prefer graphical interfaces to their inscrutable XML files. It is installed in the /Applications/Utilities directory.

AutoPkg

AutoPkg is an automated updates tool, used primarily from the command line, or through AutoPkgr, to keep a set of application installers up to date, and part of your Munki repository. AutoPkg is recipe-based, which means anyone can write their own recipe list and make it available. We are importing the main recipe repository, but if you want to add your own later, the AutoPkg docs will tell you how. Autopkg is installed in the /usr/local/bin directory.

AutoPkgr

AutoPkgr is the Linde Group's native GUI application used for managing AutoPkg's command line functionality. Specifically, you can configure it to periodically check for new updates, import those into your Munki repository, then email you about what new versions have been imported for testing. It is installed in the /Applications/Utilities directory.

AWS CLI

The Amazon Web Services Command Line Interface has a lot of useful tools for manipulating your AWS environment from the command line. I'm choosing to install it with pip, and installing pip if it is not already installed. You can alter that section if you want to use another package manager.

Changelog

New in 1.0

Major changes in the structure of this script arrive thanks to the inimitable Rich Trouton, who changes out some of manual code for proper functions, as well as modernization to several of the methods.

New in 0.1

Everything old is new again!

Questions? Comments? Suggestions? Jeers? Please email me at [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].