From f9634b7f9b03be86e25dc740cdcda754a0d2bf7d Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Fri, 29 Jul 2011 22:08:09 +0100 Subject: Remove rand. --- lib/puppet/parser/functions/rand.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/puppet/parser/functions/rand.rb (limited to 'lib/puppet') diff --git a/lib/puppet/parser/functions/rand.rb b/lib/puppet/parser/functions/rand.rb deleted file mode 100644 index 6d870dc..0000000 --- a/lib/puppet/parser/functions/rand.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# rand.rb -# - -module Puppet::Parser::Functions - newfunction(:rand, :type => :rvalue, :doc => <<-EOS - EOS - ) do |arguments| - - if (arguments.size != 0) and (arguments.size != 1) then - raise(Puppet::ParseError, "rand(): Wrong number of arguments "+ - "given #{arguments.size} for 0 or 1") - end - - end -end - -# vim: set ts=2 sw=2 et : -- cgit v1.2.3