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
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
/timestamp
> stealth => "true"; #/on/false/off
> preserve=> "true";
> #linkcopy_patterns => { ".*fish.*" };
> #copylink_patterns => { "non-local.*"};
> #xdev=> "true"; #
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
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
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
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 => &
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
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
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
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
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
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
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
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
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
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.
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
18 matches
Mail list logo