Operating System Windows XP / Vista/ 10 / Mac OS Item Weight 6.4 ounces Product Dimensions 1.97 x 1.97 x 0.39 inches Item Dimensions LxWxH 1.97 x 1.97 x 0.39 inches Manufacturer Etekcity ASIN B00IAM78WS Date First Available February 7, 2014.
Several weeks ago I installed Salt on all my Macs. I have 7 currently, two of which cannot run Mavericks and are stuck at Lion (10.7). I know you can configure them to install updates automatically, but a couple of these are development machines and one is a server, and I just don’t like the idea of having them install updates and reboot whenever they feel like it.
Furthermore, the 10.9.2 release contains an important fix—the so called ‘gotofail’ security vulnerablity, fully documented here: https://www.imperialviolet.org/2014/02/22/applebug.html. You can check to see if you are vulnerable with http://gotofail.com.
I was dreading manually going to each of these machines and running Software Update, waiting for it to figure out if there were really packages to install (why does that take so long, anyway?), and doing the click dance to get it installed.
Enter Salt.
(full disclaimer—I do work for SaltStack, the company behind open source Salt)
Using Salt turned probably an hour of updating into 3 commands executed at my leisure. Note, I run my salt-master on Ubuntu in a Fusion VM on my Mac Mini server. After downloading the combo updater from Apple’s support site, I mounted it and extracted the .pkg file from it, then copied that file to my Salt master’s /srv
directory (/srv/salt/OSXUpd10.9.2.pkg
).
Then:
So what the above says is
/tmp
directory on the machine (thus avoiding my Lion machines). The -C
says this is a compound target, and the command will match against both the os grain (to be “MacOS”) and the osrelease grain (to be “10.9.1”).The response I got back was identical for each machine, and looks like
So, did it work? After waiting for the machines to come back up (use salt-run manage.status on the Salt master to see when they are all online again), the following will show the OS release number for all my Macs.
(Just to be clear, names sanitized)
Voila!
ADC Home>Reference Library>Reference>Mac OS X>Mac OS X Man Pages |
This document is a Mac OS X manual page. Manual pages are a command-line technologyfor providing documentation. You can view these manual pages locally using theman(1) command.These manual pages come from many different sources, and thus, have a variety of writingstyles. For more information about the manual page format, see the manual page for manpages(5). |
Please try submitting your feedback later.
Your input helps improve our developer documentation.