NetSUS for Yosemite

antoinekinch
New Contributor III

Hello all,

Does anyone know if there will be updates to the NetSUS for Yosemite?

The catalog URL would be: CatalogURL http://YOURSERVER.com/content/catalogs/others/index-10.10-yosemite-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog correct?

8 REPLIES 8

johnnasset
Contributor

Using the following post as a guide:

[
https://jamfnation.jamfsoftware.com/discussion.html?id=9300](
https://jamfnation.jamfsoftware.com/discussion.html?id=9300)

Here is the catalog URL to add at the end of the list:

http://YOURSERVER.ORG/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_Main.sucatalog

I'm running the 3.0 version of the NetSUS which had built-in support for Mavericks. The /var/lib/reposado/preferences.plist didn't have the catalog url's listed so I copied and pasted them:

<?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></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>

Here are the contents for the end of /etc/apache2/sites-enabled/000-default:

<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> Alias /NetBoot/ "/srv/NetBoot/" <Directory /srv/NetBoot/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>

<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>

</VirtualHost>

I then restarted Apache, manually synced the SUS, cloned my config profile, scoped only to Yosemite clients and included this as the SUS payload:

http://YOURSERVER.ORG/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_Main.sucatalog

My 10.10 machine immediately grabbed the 12.0.1 iTunes update from the local SUS.

antoinekinch
New Contributor III

Thanks for the verification. I am going to start testing the updates soon as more come out. that sucatalog url is going to have to change at some point. They can't keep appending it for every version.

Seven
New Contributor III

@johnnasset - I upgraded our NetSUS this morning. Then I made the changes you listed above. But when our Yosemite clients attempt to use the new catalog URL, they return the error "Can't load data from the Software Update server".

Tailing the apache log gives this error:

"GET /content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_Main.sucatalog HTTP1.1" 404 568 "-" "Software%20Update" (unkown versino) CFNetwork/720.0.9 Darwin/14.0.0 (x86_64)"

Any ideas?

johnnasset
Contributor

Hmm, do you have a separate config profile built for your Yosemite clients? Not sure if that's necessary but it's what we do. Also, can you paste url into a web browser and get the XML file?

http://your.server.org/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_Main.sucatalog

Seven
New Contributor III

@johnnasset - First, thanks for the post above and the quick feedback earlier. Found it: an issue with root/branch names. In my case, I dropped the _Main before .sucatalog.

Philsto
New Contributor II

So we're running 3.0 as well, and wanted to upgrade to add the yosemite catalog (we're running Ubuntu)...

- the preferences file in /var/lib/reposado did not have explicit apple catalogues listed. The reposado sites state that blank means that it will default to the available catalogues...

- Not knowing if that meant all catalogues for that version of Reposado, or all Apple SUS catalogues period, I figured I would just add the <key>AppleCatalogURLs</key>, add all catalogues explicitly (as above) and be done with it.

- Gave it 24 hours to sync properly to the mothership and nothing. Not only nothing new, but all selections previously available in the JAMF NetSUS GUI were blank, both in root and production, which is our secondary/release branch.

- Reverted the snapshot and everything is back to what it was, minus the Yosemite catalogues.

I'd like to make this work, any ideas? Also, in case I try this again, how can I check that at least the download part of this process is working, does anyone have the catalogue number for the 10.10.1 update?

dooley_do
New Contributor

Hi,

I am on NetSUS 3.01, I've updated the catalogs so the NetSUS server is now listinh Yosemite updates. I have approved the updates but my clients still say no updates available.

I am confused as to what URL the clients should be pointing at. All I have done so far is set the NetSUS server up via Computer Management, with the server and port. Then created a policy which tells these devices to use that SUS server. Nowhere have I configured a specific URL. Is this required?

johnnasset
Contributor

We have a configuration profile built for each OS version to grab the correct updates. Our Yosemite url is:

http://netsus.xxx.xxx/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_Main.sucatalog