The only problem with that is it requires explicitly specifying all of the clients in the server config, which is very un-'class' like. If the clients could push a file to the serve then it would be more scalable and flexible.
-Jason Martin > -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Bas van der Vlies > Sent: Wednesday, September 21, 2005 7:03 AM > To: Marco van Beek > Cc: [email protected] > Subject: Re: [Cfengine] using copy the "wrong" way > > > Marco van Beek wrote: > > Hi there, > > > > Is there a way of making cfengine move files from the client to the > > server using copy? (in other words, the "wrong" way) > > > > I know I can trigger an rsync command using a shell > command, but I was > > wondering if there is a way of making cfagent upload rather than > > download via copy. > > > > I can't use NFS and pretend the remote server is local as > some of the > > clients are on the end of a WAN, so I was just wondering if > there is a > > feature or argument I haven't spotted. > > > > Regards, > > > > Marco. > > > Of course the same copy command you use for clients to copy > files from > the server. In you server cfagent.conf you add copy statements with > server=<clientname> as attribute. This requires 'cfservd' on > all clients. > > Regards > > > _______________________________________________ > Help-cfengine mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-> cfengine > _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
