components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb
branchs11u3-sru
changeset 5024 10f6f5e98268
parent 3458 4912663e9858
equal deleted inserted replaced
5016:e7921135918b 5024:10f6f5e98268
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 require 'ipaddr'
    26 require 'ipaddr'
    27 require 'puppet/property/list'
    27 require 'puppet/property/list'
    28 
    28 
   296         def delimiter
   296         def delimiter
   297             " "
   297             " "
   298         end
   298         end
   299     end
   299     end
   300 
   300 
       
   301     newproperty(:service_search_descriptor) do
       
   302         desc "How and where LDAP should search for information for a particular
       
   303               service"
       
   304         class << self
       
   305             attr_accessor :pg
       
   306         end
       
   307         self.pg = "config"
       
   308     end
       
   309 
   301     newproperty(:bind_dn, :parent => Puppet::Property::List) do
   310     newproperty(:bind_dn, :parent => Puppet::Property::List) do
   302         desc "An entry that has read permission for the requested database.
   311         desc "An entry that has read permission for the requested database.
   303               Specify multiple entries as an array."
   312               Specify multiple entries as an array."
   304 
   313 
   305         class << self
   314         class << self