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

Version Path
puppet-6.29.0 lib/puppet/provider/group/directoryservice.rb
puppet-6.29.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.29.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.29.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-6.28.0 lib/puppet/provider/group/directoryservice.rb
puppet-6.28.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.28.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.28.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-6.27.0 lib/puppet/provider/group/directoryservice.rb
puppet-6.27.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.27.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.27.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-6.26.0 lib/puppet/provider/group/directoryservice.rb
puppet-6.26.0-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.26.0-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.26.0-universal-darwin lib/puppet/provider/group/directoryservice.rb
puppet-6.25.1 lib/puppet/provider/group/directoryservice.rb
puppet-6.25.1-x86-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.25.1-x64-mingw32 lib/puppet/provider/group/directoryservice.rb
puppet-6.25.1-universal-darwin lib/puppet/provider/group/directoryservice.rb