Re: how to define groups_secondary in users

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <CAE46pPtJSk4MEQMjS3DgwyiTfQrAc4Zej+1Bioj9J1XtgHF_WQ@mail.gmail.com>
Excellent! Glad you found it helpful.

On Fri, Aug 14, 2026 at 11:39 AM Jerome Verleyen <
[email protected]> wrote:

> Le 14/08/2026 à 07:04, Nick Anderson a écrit :
>
> Hi Jerome,
>
> Sending again …. the whole lists example was missing last time. …
>
> The groups_secondary attribute expects a list type but it got a string.
>
> When you store an slist and dereference it with $(), CFEngine resolves it
> as a *scalar* and iterates over the list elements individually.
>
> Dear Nick
>
> First of all thank's a lot for your didactic answer. I'm a bit new in this
> stuff. But i could not find how to get back a slist to the secondary_groups
> value.
>
> I learn a lot with this code !
>
> Regards!
>
> --
> -- Jérôme
> La musique, c'est du bruit qui pense.
> 	(Victor Hugo)
>
>

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/CAE46pPtJSk4MEQMjS3DgwyiTfQrAc4Zej%2B1Bioj9J1XtgHF_WQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.