On 1 March 2010 11:44, Seifert, Christian <christian.seif...@gesis.de> wrote: > > Hello everybody, > > i’ve succesfully tested the file transfer between my host und my policy > server. > > My problem is: > > I have a file on my server test.txt > > I can transfer this file from my server to a client if I started the server > with the command “cf-serverd –v” and the client with “cf-agent”. > > But the command to transfer the file test.txt is written in the promises.cf > on the client.
Further, the master policy files should be stored in files on the policy server (which is the reason for its name). This is what you use the failsafe.cf, update.cf policies for. You will commonly see that the following is executed at regular intervals on the client: exec_command => "$(sys.workdir)/bin/cf-agent -f failsafe.cf && $(sys.workdir)/bin/cf-agent"; which means that cf-agent is run twice - first to get the latest policies (in your case promises.cf) from the policy server with failsafe.cf, then to execute those policies locally on the client. - Erlend _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine