keeleysam / munki-exported

Automatically exported from code.google.com/p/munki
Other
0 stars 0 forks source link

conflict icons folder on 10.6 server #387

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hay, 
i made tests for  munki 2 it works very great, again congratulations for you 
work.

Just one problem with a conflict with the folder "icons" . In 10.6 server when 
you create a default website it create aliases and by default it redirect 
/icons to /usr/share/httpd/icons so the folders icons don't work with 10.6 
server if you don't delete this alias (see attachment). (i don't test in 
10.7/10.8). It seems that 10.9 don't have aliases by default.
i test a lot because i think it was a right problem on the folder ( the log 
says Download error: http://192.168.1.106/icons/GoogleChrome.png. Failed (22) 
with: The requested URL returned error: 404
    Headers: {'http_result_code': '404', 'http_result_description': ''})
 Maybe you could rename "icons" in iconesmunki or whatever you want to avoid admin users on 10.6 server to have the icons problems. Hope it helps
cordialy sebastien
What steps will reproduce the problem?
1. create a web site on 10.6 server and point the folder munki repository
2. launch the scipt iconimporter.py in usr/local/munki to automatically create 
the .png files
3. try to access to icons with http navigator or managed software center

What is the expected output?
icons/ 
 What do you see instead?
no icons with the apps and with a navigator  
/http://192.168.1.106/icons/GoogleChrome.png. Failed (22) with: The requested 
URL returned error: 404
    Headers: {'http_result_code': '404', 'http_result_description': ''})

What version of the Munki tools/InstallOSpkg tools are you using? 
2.00.2212

On what
version of OS X?
10.6.8 server
Please provide any additional information below.

Original issue reported on code.google.com by sebi99...@gmail.com on 12 Sep 2014 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your report, and I agree that sounded annoying to have to figure out.

My Munki server is actually running on an Xserve running OS X Server 10.6.8 and 
I don't have this problem. (I created a virtual host named "munki" on this 
server a long time ago; perhaps I removed the aliases a long time ago as well; 
I can see no need for the "collaboration" alias, either!)

Since this can be solved with a configuration change on the web server (remove 
the alias or change the rewrite rules), or with a Munki client configuration 
change (see the IconURL preference here: 
https://code.google.com/p/munki/wiki/configuration#Supported_ManagedInstalls_Key
s), I don't plan on making a change that would break all the people currently 
successfully using Munki 2.

If I get some time, i'll write some additions to the documentation about 
product icons to help people avoid this issue.

Original comment by gregnea...@mac.com on 12 Sep 2014 at 1:59

GoogleCodeExporter commented 9 years ago
Ok Thanks for you answer i understand no problem for me 

Cordialy sebastien

Original comment by seb...@gmail.com on 23 Sep 2014 at 7:48