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

Cfengine Help: Cannot copy files to remote host

2011-06-01 Thread Jerome Yanga
Has anyone gotten copy_from running on cfengine-community-3.1.5-1.el5 to work? Is root login required via ssh? What do I need to do on the hosts to make this promise work? I have tried using the sample cf file from the link below. http://source.cfengine.com/websvn/filedetails.php?repname=Cfen

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

Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread Jerome Yanga
Thank you for all the suggestions everyone. I have implemented all of them; however, I am still not able to copy files from a remote host. Have I satisfied the following from the Tutorials page? I have provided more info regarding my config. http://www.cfengine.org/manuals/cf3-tutorial.html

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

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

2011-05-31 Thread Jerome Yanga
mment: 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' in file '/tmp/toe_in_the_wat

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

2011-05-31 Thread Jerome Yanga
e you have provided. Regards, j -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Sjoerd Oostdijck Sent: Tuesday, May 31, 2011 11:47 AM To: help-cfengine@cfengine.org Subject: Re: Cfengine Help: Cfengine Help: Cannot copy files

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

2011-05-31 Thread Sjoerd Oostdijck
On 5/31/11 8:47 PM, Sjoerd Oostdijck wrote: > On 5/31/11 8:39 PM, Jerome Yanga wrote: >> cf3> Unable to establish connection with remote_host >> cf3>-> No suitable server responded to hail > > Is your server running a cf-serverd process? (and is that cf-serverd > configured to trust keys fr

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

2011-05-31 Thread Sjoerd Oostdijck
On 5/31/11 8:39 PM, Jerome Yanga wrote: > cf3> Unable to establish connection with remote_host > cf3> -> No suitable server responded to hail Is your server running a cf-serverd process? (and is that cf-serverd configured to trust keys from the box your are trying to connect from?) p.s. to b

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

2011-05-31 Thread Jerome Yanga
engine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com Sent: Tuesday, May 31, 2011 10:38 AM To: help-cfengine@cfengine.org Subject: Cfengine Help: Re: Cfengine Help: Cannot copy files to remote host Forum: Cfengine Help Subject: Re: Cfengine Help: Cannot copy fil

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.

Cfengine Help: Cannot copy files to remote host

2011-05-31 Thread Jerome Yanga
I am new to CFEngine and I am currently testing this application. I am having problems with copying files in remote hosts. This is probably because I need help in interpreting the following from the Tutorials page. http://www.cfengine.org/manuals/cf3-tutorial.html "Permission to connect to the