[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting default variable
From: |
Ed Brown |
Subject: |
Re: Setting default variable |
Date: |
Tue, 03 Jan 2006 08:22:55 -0700 |
Try 'AllowRedefinitionOf'
On Tue, 2006-01-03 at 14:17 +0200, Zeev Fisher wrote:
> Hi All,
>
> I would like to declare default variable and then overwrite it only if
> some class is true for the host.
>
> Current way that I know to implement it is :
>
> !Classname::
>
> variable = default
>
> Classname::
>
> variable = variable_value
>
>
> This way I need all the time to add to the list of exclude new
> classes.
> What I need is to have default value and only if there's a need to
> define other value , it will be defined
>
>
>
> Thanks a lot
> Zeev
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
--
Ed Brown <ebrown@lanl.gov>