Chad Carr wrote:
Matt S., Greg M. et. al.,
There is a nearly finished version of the proposed core framework for the config-db, templating system and event/trigger system in my tree in cvs
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/leaf/devel/ccarr/devel/leaf-tools/
This part was cool. cdb get tree network | tmpl -i var/www/network/interfaces because it spits out a fatty html form. That was a nice touch.
This part was even cooler, the hier.help, where you used a crafty
================================================================= network/ hostname dhcpc/ interfaces (array of indices; each maps to an index in network/interfaces) sendmac (bool) mac requesthostname requestip usepeerdns (bool) prependsearch appendsearch replacesearch scripts/ (for hooks) <index>/ (maps to an index in network/interfaces) pre post dns (array) domain ... ==============================================================
the funny part being the ubiquitous (array), which is perfect for my
network/ packagefullofwhak (array)
!!
When you don't know what packagefullofwhak is or what you need to do to admin the thing, you just say it loads an array and your done with it. Hot diggity.
Ok, the only thing that burns me is directory creep. Let's try to keep it simple. I can't comment on the shell scripting, beyond it's awful purdy. Nice work. Don't worry about the @IF '\\$WALLA' part, that's no big deal. It'll be interesting to see how much more functionality we need besides @IF. It's really elegant if that's all it takes.
cheers, Matt
ps. I'll tell you right my code's gonna be uggggllyyy. heh
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel