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.17.0 lib/puppet/parser/functions/md5.rb
puppet-7.17.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.17.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.17.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-6.27.0 lib/puppet/parser/functions/md5.rb
puppet-6.27.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-6.27.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-6.27.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.16.0 lib/puppet/parser/functions/md5.rb
puppet-7.16.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.16.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.16.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-7.15.0 lib/puppet/parser/functions/md5.rb
puppet-7.15.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.15.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-7.15.0-universal-darwin lib/puppet/parser/functions/md5.rb
puppet-6.26.0 lib/puppet/parser/functions/md5.rb
puppet-6.26.0-x86-mingw32 lib/puppet/parser/functions/md5.rb
puppet-6.26.0-x64-mingw32 lib/puppet/parser/functions/md5.rb
puppet-6.26.0-universal-darwin lib/puppet/parser/functions/md5.rb