[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:21:38 UTC 2009


The following commit has been merged in the master branch:
commit 60455e708cbf3069a64ed4a0af6ce457c65c684e
Author: Sean E. Millichamp <sean at bruenor.org>
Date:   Thu Nov 6 11:13:34 2008 -0500

    Quiet debug when no default SELinux context found for one of the components

diff --git a/lib/puppet/type/file/selcontext.rb b/lib/puppet/type/file/selcontext.rb
index 982910c..084cd3d 100644
--- a/lib/puppet/type/file/selcontext.rb
+++ b/lib/puppet/type/file/selcontext.rb
@@ -38,7 +38,9 @@ module Puppet
                 return nil
             end
             property_default = self.parse_selinux_context(property, context)
-            self.debug "Found #{property} default '#{property_default}' for #{@resource[:path]}"
+            if not property_default.nil?
+                self.debug "Found #{property} default '#{property_default}' for #{@resource[:path]}"
+            end
             return property_default
         end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list