remove unnecessary fileserver variable (#2460) round II
[puppet_common.git] / lib / puppet / parser / functions / sha1.rb
1 # return the sha1 hash
2 require 'digest/sha1'
3
4 module Puppet::Parser::Functions
5         newfunction(:sha1, :type => :rvalue) do |args|
6                 Digest::SHA1.hexdigest(args[0])
7         end
8 end
9