file copy in cfengine - need some help getting going

2009-12-18 Thread Aleksey Tsalolikhin
Hi, guys. I am having trouble getting file copying going. I am sure it's something simple, but I am having trouble spotting what it is. The error message I get is: $ cf-agent -f test_copy.cf Not authorized to trust the server=127.0.0.1's public key (trustkey=false) Authentication dialog

Re: file copy in cfengine - need some help getting going

2009-12-18 Thread NWatson
The server probably broadcasts using its Ethernet address not localhost. So the agent will look for the server's public key to match. You can also run the server non forked in verbose to see interesting output. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication

Re: file copy in cfengine - need some help getting going

2009-12-18 Thread Brendan Strejcek
There are a number of complexities with your current setup. You should strip it down to the basics. First, it looks like trustkey is conditional upon 'special_class' being set, and I don't see any other reference to that. Also, in your server control body, do you have trustkeysfrom set to the appro

compiling cf3 on sparc solaris

2009-12-18 Thread NWatson
Following my previous work on compiling cf3 on x86 solaris I'm trying to duplicate my work on sparc solaris. Alas I get the following error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/BerkeleyDB.4.7/include -I/usr/sfw/include -D_REENTRANT -pthreads -I/usr/local//include -g -O2 -Wre

Re: What means tidy in dirlinks on the delete body?

2009-12-18 Thread Jean-Noël Rivasseau
Anyone? On Thu, Dec 17, 2009 at 3:57 PM, Jean-Noël Rivasseau wrote: > Hello, there are three options for dirlinks: delete, keep and tidy. What > means tidy? This is not explained in the manual; please update the manual > accordingly. > > -- > Jean-Noël Rivasseau > > __

Is it possible to undefine an already class in cf-engine?

2009-12-18 Thread Jean-Noël Rivasseau
Pretty much is in the topic. I am looking to do that within a promise, not with external stuff like the -N command line switch or the use of modules. Can I undefine a class in a classes promise for instance? Jean-Noel ___ Help-cfengine mailing list Help

Re: file copy in cfengine - need some help getting going

2009-12-18 Thread Aleksey Tsalolikhin
Thanks, Brendan and Neil for your replies. I've removed that special_class::, changed 127.0.0.1 to the primary IP address, and got this far: Trusting server identity, promise to accept key from 10.1.2.3=10.1.2.3 However the file transfer was still not happening, getting message like "server

Re: file copy in cfengine - need some help getting going

2009-12-18 Thread Aleksey Tsalolikhin
I am back to running this as a mortal user, since I got further along this way. With "-d 1" on cf-serverd, I see: AccessControl(/home/tsalolia/testcopy2) AccessControl, match(/home/tsalolia/testcopy2,hwd-ddc-app-prod01) encrypt request=1 Examining rule in access list (/home/tsalolia/testcopy2,/ho

Re: file copy in cfengine - need some help getting going

2009-12-18 Thread Aleksey Tsalolikhin
this was it! it worked after I updated the access_rules Thanks!! Aleksey On Fri, Dec 18, 2009 at 5:29 PM, Aleksey Tsalolikhin wrote: > Ok, I found it in site.cf : > > ### > # Server configuration > #

Re: Is it possible to undefine an already class in cf-engine?

2009-12-18 Thread Brendan Strejcek
Doesn't look like it. I though there was a reverse of addclasses: http://www.cfengine.org/manuals/cf3-reference.html#addclasses-in-agent But, I can't find it. What exactly are you trying to do? Maybe we can suggest something else. On Fri, Dec 18, 2009 at 5:58 PM, Jean-Noël Rivasseau wrote: > P