comparison 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
comparison
equal deleted inserted replaced
436:6293839019d0 437:b8d6ada284dd
1 # frozen_string_literal: true
2
3 # @summary DEPRECATED. Use the namespaced function [`apache::pw_hash`](#apachepw_hash) instead.
4 Puppet::Functions.create_function(:apache_pw_hash) do
5 dispatch :deprecation_gen do
6 repeated_param 'Any', :args
7 end
8 def deprecation_gen(*args)
9 call_function('deprecation', 'apache_pw_hash', 'This function is deprecated, please use apache::pw_hash instead.')
10 call_function('apache::pw_hash', *args)
11 end
12 end