From 27be083eb60f2ad11d1602cecc9630737beef8c3 Mon Sep 17 00:00:00 2001 From: jonmilby Date: Wed, 9 Jul 2014 12:08:23 -0400 Subject: [PATCH] Allow multiple values for RequireMembershipOf Update pbis.conf.erb template to check for require_membership_of as an array and write group(s) in proper format. --- templates/pbis.conf.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/pbis.conf.erb b/templates/pbis.conf.erb index 9afd136..dd93f1f 100644 --- a/templates/pbis.conf.erb +++ b/templates/pbis.conf.erb @@ -8,5 +8,4 @@ HomeDirUmask "<%= home_dir_umask -%>" LoginShellTemplate "<%= login_shell_template -%>" SkeletonDirs "<%= skeleton_dirs -%>" UserDomainPrefix "<%= user_domain_prefix -%>" -<% if @require_membership_of -%>RequireMembershipOf "<%= require_membership_of -%>"<% end -%> - +<% if @require_membership_of -%>RequireMembershipOf <% @require_membership_of.each do |val| -%> "<%= val -%>" <% end -%> <% end -%>