summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/sha1.rb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-21 00:04:25 +0200
committerMicah Anderson <micah@riseup.net>2010-11-07 13:37:14 -0500
commit90a172d01f13924954384229655b5098db0cbb73 (patch)
treed4bc24a2094e9bfe374dd6ed383e205404788ae2 /lib/puppet/parser/functions/sha1.rb
parent51e06fd0d2fa1c8999f328051e5e717bc18e77e7 (diff)
remove some legacy functions that are now in upstream
Diffstat (limited to 'lib/puppet/parser/functions/sha1.rb')
-rw-r--r--lib/puppet/parser/functions/sha1.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/puppet/parser/functions/sha1.rb b/lib/puppet/parser/functions/sha1.rb
deleted file mode 100644
index b5aa813..0000000
--- a/lib/puppet/parser/functions/sha1.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# return the sha1 hash
-require 'digest/sha1'
-
-module Puppet::Parser::Functions
- newfunction(:sha1, :type => :rvalue) do |args|
- Digest::SHA1.hexdigest(args[0])
- end
-end
-