Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Copy TO Policy Server Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24520,24522#msg-24522
Bas van der Vlies Wrote: ------------------------------------------------------- > On 01/09/2012 10:44 AM, no-re...@cfengine.com > wrote: > > Forum: CFEngine Help > > Subject: Re: Copy TO Policy Server > > Author: tjavo87 > > Link to topic: > https://cfengine.com/forum/read.php?3,24515,24517# > msg-24517 > > > > mark Wrote: > > > -------------------------------------------------- > ----- > >> Same approach, just reverse the names in the > >> previous example. > >> > >> This presumes that you run the cf-serverd > process > >> on every host. Everything in cfengine is > copy_from > >> (pull) > >> there is no "copy to". > > > > Thnx > > > > Is there a disadvantage when all the clients > running the cf-serverd? > > > > No, we run cf-serverd on all nodes, you can > control which server can copy > files and you can also use cf-runagent to start a > cf-agent run on a node. > > > -- > ************************************************** > ****************** > * Bas van der Vlies e-mail: > b...@sara.nl * > * SARA - Academic Computing Services Amsterdam, > The Netherlands * > ************************************************** > ****************** > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengin > e Thanx The idea is as follows; On every host there is a directory created ; /var/cfengine/reports/$hostname Each bundle will report it's output to a file in the directory above. The idea is to copy all the $hostname directory's to the policy servers in the directory /var/www/html. If I understand correctly; There should be a extra rule to the server bundle access_rule and a new bundle? Something like this? "$(def.dir_reports)" handle => "server_access_grant_access_files", comment => "report directory", admin => { "$(def.policy_server)" }; Could someone help with the bundle? Thanx and Regards _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine