Re: how to define groups_secondary in users

Jerome Verleyen <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
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/1ba956b3-94de-4345-90dc-8b5669d575e7%40ibt.unam.mx.
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.