Sha256: b7400ef8a4cd625c99dac0b4900040823af496e3e91693b8f2819f0df610b08b

Contents?: true

Size: 209 Bytes

Versions: 775

Compression:

Stored size: 209 Bytes

Contents

require 'digest/md5'

Puppet::Parser::Functions::newfunction(:md5, :type => :rvalue, :arity => 1, :doc => "Returns a MD5 hash value from a provided string.") do |args|
      Digest::MD5.hexdigest(args[0])
end

Version data entries

775 entries across 775 versions & 4 rubygems

Version Path
puppet-7.34.0 lib/puppet/parser/functions/md5.rb
puppet-7.34.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.34.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.34.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.33.0 lib/puppet/parser/functions/md5.rb
puppet-7.33.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.33.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.33.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.32.1 lib/puppet/parser/functions/md5.rb
puppet-7.32.1-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.32.1-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.32.1-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.31.0 lib/puppet/parser/functions/md5.rb
puppet-7.31.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.31.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.31.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.30.0 lib/puppet/parser/functions/md5.rb
puppet-7.30.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.30.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.30.0-universal-darwin lib/puppet/parser/functions/md5.rb