[rudder-users] Windows agent only for inventory

Jonathan Clarke jonathan.clarke at normation.com
Wed Jun 25 19:30:50 CEST 2014


Apologies, I should have specified the version. Rudder <= 2.10 uses 
Fusion 2.2.*, and manually adds fields in the inventory. As of Fusion 
2.3.*, we contributed a Rudder module upstream, so plain FusionInventory 
has all the fields Rudder requires. Rudder >= 2.11 will use 
FusionInventory 2.3.*.

Can you try again with the latest version of FusionInventory?

Jonathan


On 25/06/14 14:16, Fernando Sancho Glez-Calero wrote:
> I have installed fussion inventory in a Windows machine, 2.2.7 
> version, like fusioninventory deployed in rudder 2.6, but seems like 
> ocs generated are not accepted by rudder server.
>
> [2014-06-25 13:06:28] ERROR 
> com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - 
> Error when trying to parse report:
> Can't parse the input report, aborting
> cause: Error when post processing report with 
> 'post_process_inventory:check_consistency', abort
> cause: Missing node ID attribute 'UUID' in report. This attribute is 
> mandatory and must contains node ID.
> cause: Missing XML element: 'UUID'.
>
> My OCS file has an UUID node, but ocs files generated by rudder agent 
> are slightly different. Rudder ones contains a "tail" section with 
> rudder agent information and a RSA key
>
> Regards
>
> El mié, 25-06-2014 a las 09:02 +0200, Jonathan Clarke escribió:
>> Dear Fernando,
>>
>> Sorry for the late reply. It should be possible to just run the 
>> inventory on your Windows machines, if this is what you need.
>>
>> To achieve this, you just need to install the FusionInventory agent 
>> on each Windows machine. This should be called to make an inventory 
>> (you can have it stored on disk using --local=/some/directory). That 
>> (a .ocs file, actually containing XML) should be sent to Rudder's 
>> inventory endpoint (usually something like "curl -f --user 
>> login:password -T "/some/directory/your-inventory-file.ocs"). The 
>> login/password can be found in Rudder's configuration file 
>> (/opt/rudder/etc/rudder-web.properties on the server).
>>
>> This whole operation could maybe be automated by FusionInventory, and 
>> configure it to send the XML file directly but I'm not sure about 
>> this step.
>>
>> However, bear in mind that Rudder does not have a concept of 
>> "inventory only" machines, so will generate CFEngine promises for 
>> these machines (if you accept them in Rudder) and will show that the 
>> compliance is 0% because no reports will be coming from them.
>>
>> Hope this helps!
>> Jonathan
>>
>> On 24/06/14 12:59, Fernando Sancho Glez-Calero wrote:
>>
>>> Nobody knows how to add a Windows machine to rudder?  I only need it 
>>> for inventory. I don't need CFEngine support.
>>>
>>> El mar, 10-06-2014 a las 11:12 +0200, Fernando Sancho Glez-Calero 
>>> escribió:
>>>> AFAIK, windows agent is commercial, but I only would need it for 
>>>> inventory purposses.
>>>>
>>>> ¿Is there any way to add windows machines to Rudder server without 
>>>> CFEngine?
>>>>
>>>> Regards
>>>>
>>>>
>>>> _______________________________________________
>>>> rudder-users mailing list
>>>> rudder-users at lists.rudder-project.org  <mailto:rudder-users at lists.rudder-project.org>
>>>> http://www.rudder-project.org/mailman/listinfo/rudder-users
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> rudder-users mailing list
>>> rudder-users at lists.rudder-project.org  <mailto:rudder-users at lists.rudder-project.org>
>>> http://www.rudder-project.org/mailman/listinfo/rudder-users
>>
>
> -- 
> Firma Correo <http://www.castillalamancha.es>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140625/7b03b507/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 92741 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140625/7b03b507/attachment-0001.jpe>


More information about the rudder-users mailing list