Forum: Cfengine Help
Subject: Redefinition of variable despite class qualification
Author: jonb1987
Link to topic: https://cfengine.com/forum/read.php?3,22392,22392#msg-22392
I have the following code in a bundle...
vars:
server::
"default_cfengine3" string => "1";
!server::
"default_cfengine3" string => "0";
and yet for the machines of class "server" I get the following output..
!! Redefinition of a constant scalar "default_cfengine3" (was 0 now 1)
Promise (version not specified) belongs to bundle 'cfengine' in file
'/var/cfengine/inputs/site.cf' near line 97
Why is this? The class clauses should make the two definitions mutually
exclusive!
I am running cfengine-community-3.1.4-1.el5 on rhel 5.6
Thanks in advance...
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine