On Wed, Nov 14, 2012 at 11:24:45AM +0100, Mario Gzuk wrote: > Ah... ok. I only have the 2.2.6 running now. I thought that it was allready > in there... Are there some prebuild packages for 2.3.x series? I only found: > http://prebuilt.fusioninventory.org/devel/2.2.x/ 2.3.x is still in developement and not ready for production. > So if the deploy task is running pure json, I allready dont know how to > start a deploy task via the prolog or the <REPLY><RESPONSE> answer. Is there > some doc how to do this? This is the documentation: http://forge.fusioninventory.org/projects/fusioninventory-agent/wiki/API-REST-deploy
This changes may help understand what's going on:
diff --git a/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
b/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
index 6ee5e7c..9421dba 100644
--- a/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
+++ b/lib/FusionInventory/Agent/HTTP/Client/Fusion.pm
@@ -65,6 +65,8 @@ sub send { ## no critic (ProhibitBuiltinHomonyms)
my $response = $self->request($request);
+ print $response."\n";
+
return unless $response;
return eval { from_json( $response->content(), { utf8 => 1 } ) };
Best regards,
--
Gonéri
pgpAYMXne9JSB.pgp
Description: PGP signature
_______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel
