Sha256: 6c6d3f5210dc59a7a04abeb52fe3e1f1faea6b3d991c8ca33275ff1b1e83e0ed
Contents?: true
Size: 356 Bytes
Versions: 120
Compression:
Stored size: 356 Bytes
Contents
require_relative '../../../puppet/util/checksums' Puppet::Parser::Functions::newfunction(:digest, :type => :rvalue, :arity => 1, :doc => "Returns a hash value from a provided string using the digest_algorithm setting from the Puppet config file.") do |args| algo = Puppet[:digest_algorithm] Puppet::Util::Checksums.method(algo.intern).call args[0] end
Version data entries
120 entries across 120 versions & 1 rubygems