Forum: CFEngine Help
Subject: Re: help with set_variable_values bundle
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25058,25059#msg-25059

Hi Neil,

I think the problem is the variable you are passing to set_variable_values(). 
It should be:

                        edit_line => set_variable_values("$(sysctl)");

So that the name of the configuration array will be passed to 
set_variable_values(). As it is now, you are passing the name "test.sysctl", 
which will dereference to a string ("main.sysctl") rather than to the array you 
want.

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

Reply via email to