help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Querying clients


From: Tim Nelson
Subject: Re: Querying clients
Date: Fri, 9 Dec 2005 10:17:44 +1100 (EST)

On Fri, 8 Dec 2005, bern wrote:

Is there a way to query clients from a cfengine server?   What I would
like to be able to do, is to query clients to know about specific
configurations of their systems.  For example, before I take any
actions on a client, I might like to know the content of a file before
trying to do modification to it.

I feel lile shooting in the dark when using cfengine without knowing
the exact state of a system.

Just in case you missed the point of cfengine, you define the configuration on the server, but then each client machine downloads its own copy, and it runs cfagent on the client machine. For example, if you want to know whether a file exists on the client, and then take action based on that, you use the FileExists function. The client downloads the config before the FileExists function gets run.

So basically, I'm saying you probably don't need to get the system state information back to the central location. If you still think you do, then give us an example problem, and see if we can think of a better way to solve it :).

        Hope this helps,

--
Kind Regards,
 
Tim Nelson
Server Administrator
 
P: 03 9934 0888
F: 03 9934 0899
E: tim.nelson@webalive.biz
W: www.webalive.biz
 
WebAlive Technologies
Level 1, Innovation Building
Digital Harbour
1010 La Trobe Street
Docklands Melbourne VIC 3008

This email (including all attachments) is intended solely for the named 
addressee. It is confidential and may contain legally privileged information. If
you receive it in error, please let us know by reply email, delete it from your 
system and destroy any copies. This email is also subject to copyright. No
part of it should be reproduced, adapted or transmitted without the written 
consent of the copyright owner.

Emails may be interfered with, may contain computer viruses or other defects 
and may not be successfully replicated on other systems. We give no
warranties in relation to these matters. If you have any doubts about the 
authenticity of an email purportedly sent by us, please contact us immediately.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]