Re: [Fusioninventory-devel] new generic injection feature

2011-06-06 Par sujet Gonéri Le Bouder
2011/6/5 Guillaume Rousse guillomovi...@gmail.com: Hello. Hello Guillaume. Reusing already-existing XML inventory format for this file seems the best idea, as users are expected to know it already. It just adds an useless top-level node around the content: The YSON format will quickly be the

[Fusioninventory-devel] new generic injection feature

2011-06-06 Par sujet Sébastien Dagnicourt
Hello, Of course I disagree a bit with that ... ;) First, the ByHand workaround is documented. A little only, but it is. Second, the goal was to provide an easy way for users to add software scripts. I mean, as an ocs/glpi administrator, I don't have ( and I don't want) to check or modify the

Re: [Fusioninventory-devel] new generic injection feature

2011-06-06 Par sujet Guillaume Rousse
OK, I think I found the user of this hack :) Le 06/06/2011 14:33, Sébastien Dagnicourt a écrit : Hello, Of course I disagree a bit with that ... ;) First, the ByHand workaround is documented. A little only, but it is. Do you really consider comments buried in the perl module a user-targeted

[Fusioninventory-devel] new generic injection feature

2011-06-05 Par sujet Guillaume Rousse
Hello. I just dropped the obscure and undocumented software-only injection feature from 2.1.x branch (FusionInventory::Agent::Task::Inventory::OS::Generic::Packaging::ByHand), in favor of a more generic one. The new agent switch --additional-content allows to pass a file whose content will