Forum: CFEngine Help Subject: Re: How to instert white line ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26615,26640#msg-26640
Beto Wrote: ------------------------------------------------------- > I think the variable has to be scalar. I like to > define lists for readability and then join them to > strings: > > > "vim_configuration_default" > slist => { > "\" Change > default colour set", > > "colorscheme elflord" > }; > > "vim_configuration_default_s" string => > join(("$(const.n)","vim_configuration_default"); > > > "/etc/vimrc" > edit_line => > append_if_no_lines($(vim_configuration_default_s)) > , > comment => > "edit default configuration of vim (colorscheme, > ...)"; > This one is not working too. I really don't think the problem is in vars, but in the final bundle ... :-/ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine