[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1456-g2f0b1e5

James Turnbull james at lovedthanlost.net
Tue Oct 27 17:06:15 UTC 2009


The following commit has been merged in the upstream branch:
commit d383ab897937a7e7e5fcf2929a63241e894f7616
Author: Todd Zullinger <tmz at pobox.com>
Date:   Thu Oct 15 19:07:22 2009 -0400

    Use notice() in the versioncmp() docs
    
    Use of notify() is an error, so replace it with notice, which is a
    function.  Alternately, notify { msg => '2.6-1 is > than 2.4.5' } could
    be used.
    
    Signed-off-by: Todd Zullinger <tmz at pobox.com>

diff --git a/lib/puppet/parser/functions/versioncmp.rb b/lib/puppet/parser/functions/versioncmp.rb
index bdf5391..9435655 100644
--- a/lib/puppet/parser/functions/versioncmp.rb
+++ b/lib/puppet/parser/functions/versioncmp.rb
@@ -18,7 +18,7 @@ This functions returns a number::
 Example::
 
     if versioncmp('2.6-1', '2.4.5') > 0 {
-        notify('2.6-1 is > than 2.4.5')
+        notice('2.6-1 is > than 2.4.5')
     }
 
 ") do |args|

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list