Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-06-08 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy files to remote host Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22342,22395#msg-22395 Variables are scoped locally. Your call for the paths list in the bundle createFolder expects a local variable in that

Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-06-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy files to remote host Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22342,22355#msg-22355 Perhaps these examples may also help. http://watson-wilson.ca/2011/05/cfengine-3-cookbook-begins.html http://watson

Re: Cfengine Help: Cannot copy files to remote host

2011-06-02 Thread Mark
/timestamp > stealth => "true"; #/on/false/off > preserve=> "true"; > #linkcopy_patterns => { ".*fish.*" }; > #copylink_patterns => { "non-local.*"}; > #xdev=> "true"; #

RE: Cfengine Help: Cannot copy files to remote host

2011-06-01 Thread Jerome Yanga
y => "true"; purge => "false"; #findertype => "MacOSX"; }" More info: Server = 5.6.7.8 Client = 1.2.3.4 Server and Client are on the same subnet. Hence, the first three octets are identical to each other. 5.6.7=1.2.3 The first three octets ar

Re: Cfengine Help: Cannot copy files to remote host

2011-06-01 Thread Mark Burgess
Jermome, cfengine has nothing to do with ssh, so no root login is required. You don't show the server half of your configuration, but I suspect you haven't configured the server properly. Run cf-serverd -vf ./unit_server_copy_remote.cf and look at the verbose output as you connect. You should h

RE: Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-06-01 Thread Jerome Yanga
skipverify => { "1.2.3.4" }, copy_from => secure_cp("/etc/hosts","1.2.3.4"); } body copy_from mycopy(1.2.3.4,5.6.7.8) { servers => { "5.6.7.8" }; source => "1.2.3.4"; compare => &

Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy files to remote host Author: scottdob Link to topic: https://cfengine.com/forum/read.php?3,22342,22343#msg-22343 secure_cp does not have a trustkey promise. It sounds like your hosts are having issues exchanging keys here is the copy

RE: Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread Jerome Yanga
near line 48 cf3> I: Comment: copyFile copy from remote cf3> !! Authentication dialogue with 1.2.3.4 failed cf3> Unable to establish connection with 1.2.3.4 cf3> -> No suitable server responded to hail cf3> Promise (version not specified) belongs to bundle 'copyFile' i

Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy files to remote host Author: scottdob Link to topic: https://cfengine.com/forum/read.php?3,22330,22337#msg-22337 You also might need to add this bundle for access permissions. It tells the server which directories specified remote

Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy files to remote host Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,22330,22331#msg-22331 For one thing your cfengine keys aren't set up properly in items 01. and 02. These have nothing to do with ssh keys.