summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-07-29 20:56:40 +0100
committerKen Barber <ken@bob.sh>2011-07-29 20:56:40 +0100
commitaa023c1e5d23b2a5a66dbe9a36d0e8765a8d8cff (patch)
treec2037d9291e114af8fc72b9759625822f51e2793 /lib/puppet
parent18e5302614bce168ac07e35dc23b058064e9e41c (diff)
downloadpuppet-stdlib-aa023c1e5d23b2a5a66dbe9a36d0e8765a8d8cff.tar.gz
puppet-stdlib-aa023c1e5d23b2a5a66dbe9a36d0e8765a8d8cff.tar.bz2
Removed date stub since this functinality is available in strftime anyway.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/functions/date.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/puppet/parser/functions/date.rb b/lib/puppet/parser/functions/date.rb
deleted file mode 100644
index 0439bd1..0000000
--- a/lib/puppet/parser/functions/date.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# date.rb
-#
-
-module Puppet::Parser::Functions
- newfunction(:date, :type => :rvalue, :doc => <<-EOS
- EOS
- ) do |arguments|
-
- if (arguments.size != 1) then
- raise(Puppet::ParseError, "date(): Wrong number of arguments "+
- "given #{arguments.size} for 1")
- end
-
- # TODO: stubbed
-
- end
-end
-
-# vim: set ts=2 sw=2 et :