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
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
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
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.
10 matches
Mail list logo