If I define a group via AutoDefine and include it in an AddInstallable 
setting, shouldn't I be able to be use that group in the same control statement?

        "some_variable" doesn't get set, even though I can see via cfagent -v 
that file_copy_flag is being set via the AutoDefine:

        -------------------------------------------------------
        control:

                AddInstallable  = ( file_copy_flag )

        file_copy_flag::

                AutoDefine      = ( /etc/some_file )

        file_copy_flag::

                some_variable   = ( some_string )
        -------------------------------------------------------

        I am guessing that file_copy_flag is being defined too late for the 
last group test to work.

        If so, is there a way around this?

Thanks for any help.

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

Reply via email to