railsfactory-manikandant / munki

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

FEATURE REQUEST: Installation loop check #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Request for new functionality in munki: Installation loop check

Could munki have a mechanism which keeps track of installation counts for the 
same package? Eevery time munki installs something installation log gets a line 
like:
Aug 09 22:35:12 Install of Firefox-US-3.5.8: SUCCESSFUL (install_count:001)

And I guess that if one tries to build a postflight script which tries to check 
if certain packages have been installed many times within a timeframe then date 
formatting in log should be slightly different. I would prefer this formatting:
2010-08-09 22:35:12 YYYY-MM-DD hh:mm:ss

So if you could change the log formatting at least, then it would be easier to 
build a postflight script which looks for installations that may be looping.

Original issue reported on code.google.com by miq...@gmail.com on 9 Aug 2010 at 8:22

GoogleCodeExporter commented 8 years ago
Munki is generally stateless. As you acknowledge, you should be able to just 
examine the Installs.log to look for multiple install attempts.  

Original comment by gregnea...@mac.com on 9 Aug 2010 at 10:04