If the nodes are doing this for themselves you could use $(host)

 disable:
  masternode::
    /sge/current/default/spool/$(host)/messages   rotate=5

On 11/15/05, Christophe Dupre <[EMAIL PROTECTED] > wrote:

I want to use cfengine to rotate log files for our queueing system. We
have a number of clusters, each with a different number of compute
nodes. Each node has a log file on a filesystem mounted from the
cluster's master node. The files are in
/sge/current/default/spool/<nodename>/messages

Can I do this:

disable:
  masternode::
        /sge/current/default/spool/*/messages   rotate=5

Somehow, it doesn't do anything right now....


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine






--
prjctgeek at gmail dot com
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to