Configure clients
Now that Reposado sync its update to Apple and Margarita allows you to manage it easily you need to configure your clients to use this new installation. The basic configuration is to edit the /Library/Preferences/com.apple.SoftwareUpdate.plist file with the command “defaults write”. Reposado sync patches for all versions of Mac OS X, so depending which OS you need to update, you may use only specific address.
The standard command to configure the client is (official Reposado documentation) :
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate <Catalog URL>
Catalog URL for Mac OS X 10.4 :
http://<your hostname>/content/catalogs/index_<branchname>.sucatalog
Catalog URL for Mac OS X 10.5 :
http://<your hostname>/content/catalogs/others/index-leopard.merged-1_<branchname>.sucatalog
Catalog URL for Mac OS X 10.6 :
http://<your hostname>/content/catalogs/others/index-leopard-snowleopard.merged-1_<branchname>.sucatalog
Catalog URL for Mac OS X 10.7 :
http://<your hostname>/content/catalogs/others/index-lion-snowleopard-leopard.merged-1_<branchname>.sucatalog
Catalog URL for OS X 10.8 :
http://<your hostname>/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1_<branchname>.sucatalog
There are many ways to configure clients :
– Command line for each client
– Apple Remote Desktop (Send UNIX Command)
– Managed Preferences with Workgroup Manager (MCX)
– Profile Manager with custom Payload
– Absolute Manage by adding a script as Software Package
I just wanted to say thank you for this tutorial. It’s one the best I’ve seen.
absolutely beautiful howto guide – worked perfectly
also, per the instructions here, i added a .htaccess file to the directory /var/local/reposado/html
with instructions found here:
https://github.com/wdas/reposado/blob/master/docs/URL_rewrites.txt
so as i only needed to put the catalogURL as http://example.com/index.sucatalog on client machines and the apache2 mod_rewrite engine on the reposado box figured out which index to send it to regardless of version of the macosx client
again, thank you for this wonderful page.
Thank you for your information that completes the guide !
I was curious if you have found a way to secure this with .htaccess? I have so far been unsuccessful. Margarita doesn’t respect the the file.
Thanks for this tutorial.
The standard command to configure the client is:
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
failure: repodata/c7c64887b23d8a76ac7d8b0b4a2673a3e832963c948a8700c8647f4fa8bbd339-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
problem connecting to softer sources
plz help me in this regards
thank u
This is not the correct place to get support. You can get help through the Google Group for Reposado:
https://groups.google.com/forum/#!forum/reposado
Brilliant work here…a single run through the setup process on Centos 6.5 resulted in a fully working reposado + margarita configuration.
Thank you for providing such a detailed walkthrough.
I am not familiar with reposado but we have working outdated reposado and just wonder how can I update so the yosemette and elcapitan clients can update from?
Sorry for the delay, but the better way to get support is to contact directly the newsgroups of the projects.
There’s a problem with CentOS Curl and downloading El Capitan updates. (Error 59: Unknown cipher in list: HIGH)
I thought I’d share this fix here:
https://groups.google.com/forum/#!topic/reposado/_fUl1n3uPq8
I’ve used these directions many times. I’ve never left a comment but these posted directions worked flawless. Thank You!