pass foreman user groups as parameters to puppet

Posted by OnionLook@reddit | linuxadmin | View on Reddit | 0 comments

I didn't find anything in the documentation or on Google, maybe I'm looking in the wrong way. Maybe someone can tell me how to pass a list of groups (or a list of users in a group) from Foreman groups to Puppet? I wouldn't want to write it manually, maybe there are variables that I haven't found?

P.S. One way to pass only one group\user is set it as owner. But i need to manage multiple groups\users.