Forum: CFEngine Help Subject: Recursively apply tranformer? Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22804,22804#msg-22804
I'd like to compress files that match a pattern in a log directory. In v2, this works: /var/log/jboss type=mtime pattern=node0*_access_log.*.log age=5 r=0 syslog=true compress=true exclude=*.gz But I'm having trouble figuring out how to do this in v3, since "transformer" appears to act on $(this.promiser), which I would like to be the parent dir of the files I want to manipulate. Has anyone else solved this? Thanks, -Jessica _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine