Sha256: 2ebf32567d4e7cddf2e934ab1cfecd84b012dff5ac83c09833567a0498e06089
Contents?: true
Size: 584 Bytes
Versions: 538
Compression:
Stored size: 584 Bytes
Contents
require '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 :operatingsystem => :darwin defaultfor :operatingsystem => :darwin has_feature :manages_members def members_insync?(current, should) return false unless current if current == :absent return should.empty? else return current.sort.uniq == should.sort.uniq end end end
Version data entries
538 entries across 538 versions & 3 rubygems