Sha256: 556c4de7c0e46cd10b0ece4115a69c7a7b39911beb67a8d1326976fde573e1be
Contents?: true
Size: 605 Bytes
Versions: 20
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true require_relative '../../../puppet/provider/nameservice/directoryservice' Puppet::Type.type(:group).provide :directoryservice, :parent => Puppet::Provider::NameService::DirectoryService do desc "Group management using DirectoryService on OS X. " commands :dscl => "/usr/bin/dscl" confine 'os.name' => :darwin defaultfor 'os.name' => :darwin has_feature :manages_members def members_insync?(current, should) return false unless current if current == :absent should.empty? else current.sort.uniq == should.sort.uniq end end end
Version data entries
20 entries across 20 versions & 1 rubygems