I think I should know this answer, but I do not.

I have a set of servers lets call them group a

I need to take a set of files from a directory on each host in group a and 
send it to backup host b.   backup host b is a cfservd server, group a is 
a bunch of hosts running cfagent with no cfservd.

So the rule that I'm trying to create is something like

copy:
        groupa::
        /groupa/directory/$(host)-$(date)-file-*.txt
                dest=/storage/groupa/tmp
                server=backupserver
                encrypt=true

What I believe this will do is try to copy from backupserver 
/groupa/directory/$(host)-$(date)-file-*.txt to dest /storagea/group/tmp 
on the cfagent clients which is the exact reverse of what I want to do.

Is there some means of doing what I'm trying to do, or am I violating one 
of those obvious principles that for some reason doesn't seem obvious to 
me.

Let me state that running cfservd isn't necessarily an option on group a.

Thanks,

Brian Seppanen
608.826.1464
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to