Zeev Fisher wrote:
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
You want
AllowRedefinitionOf = ( variable )
any::
variable = ( default )
Classname::
variable = ( variable_value )
Alex
--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine