Configuration as Code for Mac Packages

Using simple bash scripts, I have been able to maintain sync between different mac environments, with a view to bringing configuration management to OS level packages.1

The benefits include:

Package Managers

Automate

  1. Place a simple text file in dropbox (or any cloud based storage of choice) for each package system.
  2. Run a script every time the mac restarts to ensure dependancies are installed on each environment. I personally have an automator workflow added to my login items which launches the script to run in a terminal window.

brew cu checks for updates to home-brew recipes

See: code

  1. https://martinfowler.com/bliki/InfrastructureAsCode.html