Hi,

CFengine reports "Duplicate selection of value for variable" given the
following input:

###Start

body common control
{
   bundlesequence =>
   {
     "hosts",
     "config_cfengine"
   };
}


bundle agent config_cfengine
{
         vars:
                 policyhost::
                         "v[RUN_CF_SERVERD]" string =>   "1";
                 !policyhost::
                         "v[RUN_CF_SERVERD]" string =>   "0";
}

bundle common hosts
{
         classes:
                 #Other machines need not run cfserverd
                 (overkill|delta)::
                         "policyhost" expression =>   "any";
}

###End

In the case that the common bundle is moved above the agent bundle there
is no error.

Can somebody confirm whether this is a bug or not, please? I should also
point out that the error displays even with the common block textually
within an 'inputs'=>   file

Thanks,

Ian


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to