SUS Branches not pulling updates

chrisbju
New Contributor III

I am currently setting up our NetSUS with 2 branches. 1 for Production and 1 for Test-environment.

All of my URLs are working fine, but when computers try to update from AppStore nothing shows up.

My preference.plist in /var/lib/reposado looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict> <key>CurlPath</key> <string>/usr/bin/curl</string> <key>LocalCatalogURLBase</key> <string>http://10.1.10.148/</string> <key>UpdatesMetadataDir</key> <string>/srv/SUS/metadata/</string> <key>UpdatesRootDir</key> <string>/srv/SUS/html/</string> <key>AppleCatalogURLs</key> <array> <string>http://swscan.apple.com/content/catalogs/index.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/index-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string> <string>http://swscan.apple.com/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string> </array>
</dict>
</plist>

And my URL Re-writes in 000-default.conf

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Darwin/9 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-leopard.merged-1.sucatalog RewriteCond %{HTTP_USER_AGENT} Darwin/10 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog RewriteCond %{HTTP_USER_AGENT} Darwin/11 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog RewriteCond %{HTTP_USER_AGENT} Darwin/12 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog RewriteCond %{HTTP_USER_AGENT} Darwin/13 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog RewriteCond %{HTTP_USER_AGENT} Darwin/14 RewriteRule ^/index.sucatalog$ http://%{HTTP_HOST}/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog </IfModule>

My 2 URL branches are:
http://10.1.10.148/content/catalogs/index_production.sucatalog
http://10.1.10.148/content/catalogs/index_test_environment.sucatalog

I then put the following CatalogURL to /Library/Preferences/com.apple.SoftwareUpdate.plist

http://10.1.10.148/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_production.sucatalog or
http://10.1.10.148/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_test_environment.sucatalog

URL's are working fine when i enter them in Safari. But none of the updates are showing in App Store.

Am i missing something?

0 REPLIES 0