[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variable substitution in class lists
From: |
Mark . Burgess |
Subject: |
Re: Variable substitution in class lists |
Date: |
Sun, 25 Aug 2002 22:19:36 +0200 (MET DST) |
This would be very dangerous. And would be difficult to evaluate
efficiently, so it is disallowed. Classes are separate to macros.
cfserver in your class is not even a valid class name,
Check out the tutorial for examples,
Mark
On 25 Aug, Kirk Bauer wrote:
> It seems that this is not legal:
>
> control:
> domain = ( mydomain.com )
> cfserver = ( cfserver.mydomain.com )
>
> copy:
> !${cfserver}::
> /etc/shadow dest=/etc/shadow
> mode=600
> server=${cfserver}
> encrypt=true
> verify=true
>
> It would be nice if this was possible... am I missing something? Is this a
> feature that has been considered?
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~