[Ferm] adding to a list

Marc Haber mh+ferm at zugschlus.de
Wed Mar 2 19:09:46 CET 2011


Hi,

something like

@def $l_backexec_clients=($l_backexec_clients $host);

is becoming a rather common idiom in my ferm rules, when I add a
host's IP address to a list of hosts that is processed in a later rule.

How would I write a function that would allow me to write

@add_to_backexec_clients($host);

or

@add_to_list($l_backexec_clients,$host);

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


More information about the Ferm mailing list