Hi Aleksey,

It's called set_config_values, it is present in the latest from the 
cfengine/copbl github repo.

Cheers,

--Diego

On Apr 2, 2012, at 5:36 PM, Aleksey Tsalolikhin <atsaloli.t...@gmail.com> wrote:

> Hi.  Is there a version of set_variable_values for space separated
> name/value lines?
> 
> I'm looking for something that will handle all three cases:
> 
> line exists but has a different value
> line exists but is commented out
> line does not exist
> 
> and how about this corner case, line exists more than once in the
> file?  (only the last instance has affects the final configuration)
> 
> Has somebody written this already?
> 
> I thought Diego has, for the configuring ssh, but I don't find this
> body in CFEngine stdlib.
> 
> Yours,
> Aleksey
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to