help-cfengine
[Top][All Lists]
Advanced

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

Re: define based on multiple copies


From: Daniel Pittman
Subject: Re: define based on multiple copies
Date: Thu, 20 Nov 2003 11:24:36 +1100
User-agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (celeriac, linux)

On Wed, 19 Nov 2003, Russell Adams wrote:
> What you ought to look at is using subactionsequences (sp?).

[...]

> copy:
> 
>       $(master)/conf.default  dest=/tmp/conf.default
>               define=ServiceNeedsBounce
>               type=checksum
> 
>       $(master)/conf.special  dest=/tmp/conf.special
>               define=ServiceNeedsBounce
>               type=checksum

Note: even if *both* of these copy actions happen, 'ServiceNeedsBounce'
is still only defined once.

So, unless you call the 'shellcommands' action twice, the action
depending on 'ServiceNeedsBounce' will only be called once...

          Daniel

-- 
The best work of artists in any age is the work of innocence 
liberated by technical knowledge.
        -- Nancy Hale




reply via email to

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