jeffschroed(a)gmail.com wrote:
From: Jeff Schroeder <jeffschroeder(a)computer.org>
With multiple admins doing changes and building servers or vms in many places
it is nice to see whats going on. This patch adds the ability for cobbler to
email out reports when new hosts are built. The original idea and smtplib code
is from Christopher Johnston. The API code and format string hacks are all me.
... snip ...
I've applied this with several modifications to upgrade it. That all
being said, the original was pretty awesome.
What I've changed is to:
(A) use xmlrpc instead of a cobbler API handle. Starting a new cobbler
API handle during a fork with a very large system
config would have been a /HUGE/ performance load, and doing this when
300 systems reinstall at once would be crazy harsh.
(B) I've made this a Cheetah template.
I'll explain more in a 2nd email so people will read it and not think
it's a patch thread :)
Very cool, thanks.
--Michael