Mercurial > repos > other > Puppet
view modules/apache/lib/puppet/functions/apache_pw_hash.rb @ 437:b8d6ada284dd
Update Apache module to latest version
Also converted some params to ints to match
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 14 Aug 2022 11:30:13 +0100 |
parents | |
children |
line wrap: on
line source
# frozen_string_literal: true # @summary DEPRECATED. Use the namespaced function [`apache::pw_hash`](#apachepw_hash) instead. Puppet::Functions.create_function(:apache_pw_hash) do dispatch :deprecation_gen do repeated_param 'Any', :args end def deprecation_gen(*args) call_function('deprecation', 'apache_pw_hash', 'This function is deprecated, please use apache::pw_hash instead.') call_function('apache::pw_hash', *args) end end