[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-102-ge4f5366
Micah Anderson
micah at riseup.net
Tue Apr 14 18:25:36 UTC 2009
The following commit has been merged in the master branch:
commit d770671bb68fdf14de75a7b5995cc24567781ff8
Author: James Turnbull <james at lovedthanlost.net>
Date: Thu Mar 26 10:00:13 2009 +1100
Fixed #2110 - versioncmp broken
diff --git a/lib/puppet/parser/functions/versioncmp.rb b/lib/puppet/parser/functions/versioncmp.rb
index 62df38f..2120851 100644
--- a/lib/puppet/parser/functions/versioncmp.rb
+++ b/lib/puppet/parser/functions/versioncmp.rb
@@ -1,6 +1,6 @@
require 'puppet/util/package'
-Puppet::Parser::Functions::newfunction(:versioncmp, :doc => "Compares two versions.") do |args|
+Puppet::Parser::Functions::newfunction(:versioncmp, :type => :rvalue, :doc => "Compares two versions.") do |args|
unless args.length == 2
raise Puppet::ParseError, "versioncmp should have 2 arguments"
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list