Am 02.02.2011 15:27, schrieb Grégory Starck: > personally I agree with Hartmut ; I was thinking for some time to that > too in fact. Thanks for your support :-) > I already just had finished(&pushed) splitting the "bin/shinken-*" > files into new files within shinken/XXXdaemon.py but I think they > could easily be moved to a subdir like "shinken/bin/" too .. I was not talking about sub-directories, but about sub-packages, which is quite a difference :-)
So I do not suggest putting all the daemon code into a single shinken/bin/... directory, but putting each of the daemons into a package of it own. Together will all the stuff only this daemon uses. Example: Package "shinken.arbiter" will become file "shinken/arbiter/__init__.py". So all the stuff belonging to arbiter only will be in shinken/arbiter. Same for reactioner, poller, etc. If someone wants to deploy a poller to a system then, he (ideally) only put there shinken/common and shinken/poller. If we may introduce namespace packages somewhen, this could even become something like easy_install shinken.poller shinken.plugins.oracle shinken.plugins.hpux That's what I'm invisioning. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel