PSARC 2015/334 Puppet LDAP Service Search Descriptor s11u3-sru
authorSowrabha H G <sowrabha.hg@oracle.com>
Wed, 26 Aug 2015 09:14:51 -0700
branchs11u3-sru
changeset 5024 10f6f5e98268
parent 5016 e7921135918b
child 5037 75f62a740f66
PSARC 2015/334 Puppet LDAP Service Search Descriptor 20114694 provide Puppet LDAP search service descriptor
components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb
--- a/components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb	Sun Oct 18 17:18:21 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."