CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24079,24102#msg-24102 I find that Cfengine is like calculus. You either get it right away or your head explodes. After the explosion you try again. _

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24098#msg-24098 Hello Neil, Thanks for responding. It is like being a blind man gaining his sight...I see what you are saying! I ran cf-agent to test the validi

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24079,24097#msg-24097 Jim, Perhaps review the documentation. Cfengine is a client server application. The client (cf-agent) reads the policies, locally on the client

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24096#msg-24096 Hello Diego, Yes, if I am running the policy on one of the the servers in the class (in this case it is the policy server), then the "context" is

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24079,24094#msg-24094 Jim, Are you running the policy in one of the two machines defined in your classes (myhost1 or myhost2)? Try running cf-agent with the -V option and

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24093#msg-24093 I guess I should explain more... if classes: "my_class" or => { "myhost1", "myhost4" }; and myhost4 is the policy server - the class is accepted.

CFEngine Help: Re: context and relevance

2011-11-29 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24091#msg-24091 Ok, I think I have a "HINT" at the problem...but, what am I missing... The classes pass...if the policy server is part of the class?!?! If the pol

CFEngine Help: Re: context and relevance

2011-11-28 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: jimmathieu Link to topic: https://cfengine.com/forum/read.php?3,24079,24086#msg-24086 Hello Raymond, I did try that and the outcome was the same. I have tried replacing host names with IP addresses...same result. I am unclear of w

CFEngine Help: Re: context and relevance

2011-11-28 Thread no-reply
Forum: CFEngine Help Subject: Re: context and relevance Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,24079,24085#msg-24085 I think you are pretty close, you just need to adjust your class statement from and to or: bundle agent test5 { classes: "my_class" or => { "myh