help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iterators in copy::


From: Adrian Phillips
Subject: Re: iterators in copy::
Date: Mon, 02 Feb 2004 10:13:53 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

>>>>> "John" == John Gray <address@hidden> writes:

    John> iterators don't appear to work on the copy stanza?  This
    John> sure would allow me to reduce the length of the stanza (I
    John> have a number of options of each file, so it gets rather
    John> long).

    John> I was hoping to do something like:

    John> files = (
    John> /etc/hosts.allow:/etc/hosts.deny:/etc/inetd.conf:...)
    John> $(mf)$(files) dest=$(files) mode=644 owner=root group=root
    John> type=checksum server=server.domain.com

Did you try :-

  $(mf)$(files) dest=/etc 

? (ie. without $files in dest).

Sincerely,

Adrian Phillips

-- 
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]