# HG changeset patch # User Patrick Einheber # Date 1440605691 25200 # Node ID e20eb691d748f2fe039b2c5e5a63e63778c1cf39 # Parent 93b35413e58936c3657bf3a914108041b96597d0 PSARC 2015/334 Puppet LDAP Service Search Descriptor 20114694 provide Puppet LDAP search service descriptor diff -r 93b35413e589 -r e20eb691d748 components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb --- a/components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb Mon Aug 24 23:00:22 2015 -0700 +++ b/components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb Wed Aug 26 09:14:51 2015 -0700 @@ -20,7 +20,7 @@ # # -# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. # require 'ipaddr' @@ -298,6 +298,15 @@ end end + newproperty(:service_search_descriptor) do + desc "How and where LDAP should search for information for a particular + service" + class << self + attr_accessor :pg + end + self.pg = "config" + end + newproperty(:bind_dn, :parent => Puppet::Property::List) do desc "An entry that has read permission for the requested database. Specify multiple entries as an array." @@ -365,4 +374,5 @@ end self.pg = "cred" end + end