I'm not following. It is a single method. The method 'pipe'.

Trevor


On Fri, Aug 30, 2013 at 5:12 PM, Adrien Thebo <notifications@github.com>wrote:

> In lib/puppet/provider/group/gpasswd.rb:
>
> > +        retval = @resource[:members] | @objectinfo.mem
> > +      else
> > +        retval = @resource[:members]
> > +      end
> > +    else
> > +      retval = @objectinfo.mem
> > +    end
> > +
> > +    retval
> > +  end
> > +
> > +  def members=(members)
> > +    cmd = []
> > +    new_mem = members.dup
> > +    if @resource[:attribute_membership] == :minimum then
> > +      new_mem = new_mem | @objectinfo.mem
>
> It seems that we need to find a unique set of two arrays in a couple of
> places, it might be worth extracting to a separate method to avoid code
> duplication.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/puppetlabs/puppet/pull/1848/files#r6096374>
> .
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaughan@onyxpoint.com

-- This account not approved for unencrypted proprietary information --