Forum: Cfengine Help
Subject: Re: Problem with network set up
Author: gurkensalat
Link to topic: https://cfengine.com/forum/read.php?3,18067,18080#msg-18080
Hi,
finally I could make it work, they are connecting each other. I wrote a script,
that copies some files from the masterfiles-directory to the hosts. I saved the
script in the test.cf file and inserted it in the bundlesequence in promises.cf:
#######################
# test.cf
#######################
bundle agent test {
vars:
"masterfiles" string => "/var/cfengine/masterfiles";
"inputs" string => "/var/cfengine/inputs";
# for HA add more policy hosts
"phost" string => "10.81.1.184";
files:
# Copy masterfiles
"/var/cfengine/masterfiles"
perms => usystem("0600"),
copy_from => umycopy("/var/cfengine/masterfiles"),
depth_search => urecurse("inf");
}
It works, it copies the new files from the policyhost to the hosts. But
sometimes it doesn't work. It says, that the host denied the access. Why is
that?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine