<p dir="ltr"><br>
On Oct 19, 2015 5:50 PM, Rick Hornsby <richardjhornsby@gmail.com> wrote:<br>
></p>
<p dir="ltr">> I have this: <br>
><br>
> <% <br>
> @memberList = "" <br>
> @groups.each do |group| <br>
> @memberList += "(memberOf=cn=${group},cn=Users,dc=foo,dc=com)" <br>
> end <br>
> -%> <br>
></p>
<p dir="ltr">I think you want #{} for variable expansion inside your quoted string, and not ${}.</p>
<p dir="ltr">What you're trying to do is the recommended way. Looping inside Puppet manifests is not supported unless you use the "future" parser (enabled by default in newer Puppet versions).<br>
</p>