Skip to main content

Source code Changes To

gate / components / puppet / files / solaris / lib / puppet / provider / ldap / solaris.rb

From revision 1416 to 1417:

diff -r a87a9e85090e -r 5158e071d299 components/puppet/files/solaris/lib/puppet/provider/ldap/solaris.rb
--- a/components/puppet/files/solaris/lib/puppet/provider/ldap/solaris.rb	Thu Aug 01 10:53:56 2013 -0700
+++ b/components/puppet/files/solaris/lib/puppet/provider/ldap/solaris.rb	Thu Aug 01 14:53:52 2013 -0600
@@ -91,13 +91,15 @@
                     svccfg("-s", @@ldap_fmri, "setprop",
                            pg + "/" + field.to_s, "=", should.to_s)
                 end
-                svccfg("-s", @@ldap_fmri, "refresh")
             rescue => detail
                 raise Puppet::Error,
                     "Unable to set #{field.to_s} to #{should.inspect}\n"
                     "#{detail}\n"
             end
         end
+    end
 
+    def flush
+        svccfg("-s", @@ldap_fmri, "refresh")
     end
 end

 
 
Close
loading
Please Confirm
Close