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

Version Path
puppet-8.10.0 lib/puppet/provider/group/directoryservice.rb
puppet-8.10.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.10.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.10.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-8.9.0 lib/puppet/provider/group/directoryservice.rb
puppet-8.9.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.9.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.9.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-8.8.1 lib/puppet/provider/group/directoryservice.rb
puppet-8.8.1-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.8.1-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.8.1-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-8.7.0 lib/puppet/provider/group/directoryservice.rb
puppet-8.7.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.7.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.7.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-8.6.0 lib/puppet/provider/group/directoryservice.rb
puppet-8.6.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.6.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-8.6.0-universal-darwin lib/puppet/provider/group/directoryservice.rb