[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, experimental_upstream, updated. 1.5.9-54-g5a4eeed

Ben Hughes ben at puppetlabs.com
Wed Jun 22 08:51:44 UTC 2011


The following commit has been merged in the experimental_upstream branch:
commit 06eb3f57f48a57881e8dadc19714366eed5add18
Author: Ben Hughes <ben at puppetlabs.com>
Date:   Tue Mar 29 13:38:44 2011 +1100

    (#6883) Update Facter install.rb to be slightly more informative.
    
    Give slightly more information to the user when installing facter and the
    pre-requisite Ruby libraries are not installed.
    
    In the case of OpenSSL, the user can have OpenSSL installed, and not the
    gem/library, but the error message given in no way hints to this.

diff --git a/install.rb b/install.rb
index eb91e7c..d4793eb 100755
--- a/install.rb
+++ b/install.rb
@@ -119,7 +119,7 @@ def check_prereqs
         begin
             require pre
         rescue LoadError
-            puts "Could not load %s; cannot install" % pre
+            puts "Could not load #{pre} Ruby library; cannot install"
             exit -1
         end
     }

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list