Aleksey Tsalolikhin writes:

>> http://www.verticalsysadmin.com/cfengine3/
>> This one seems somewhat promissing. Still trying to go over it and try to
>> see how to apply it.
 
> Let me know if you have any questions.  (I wrote that piece.)

Towards the bottom where you have:
cf-agent -v test_copy.cf -K

Shouldn't it be:
cf-agent -v -f test_copy.cf -K


> I am happy to discuss in real-time; I want to make sure you get started OK.
> We could talk on IRC or Skype.


Thanks!
I got a config from someone at IRC. He went through the trouble of getting 
my configs, looking at them and preparing something for exactly what I need 
(copy nrpe configs and restarting nrpe). Just got it this AM so I will be 
trying it today/tomorrow.
 
> struggled to understand it from the online documentation, even with help
> from this forum; but once I took Mark's Cfengine 3 course at USENIX 2010
> everything just clicked into place and made sense.

Personally I think the concepts make total sense. It is just the way much of 
the information is organized.
  
> In the meantime, let me know if you have any questions on my write-up

I did not see any mention of the key exchange part for the 
client. Later I discovered that 
trustkey        => "true";

Does the magic in the client, but would be nice if you mentioned in the 
text.

Also this part was a little confusing:
{
files:
"/home/aleksey/testcopy1"
copy_from =>
my_copy_body_with_options("/home/aleksey/testcopy2","192.168.1.10");
}

Why the different names testcopy1 and testcopy2?
Is testcopy1 the source name and testcopy2 the target name?
Is testcopy a file or a directory?

Thanks for the tutorial and for any help.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to