Debian Codegraph @

lib/puppet/functions/postgresql_password.rb

raw
1 # frozen_string_literal: true
2
3 # @summary DEPRECATED. Use the namespaced function [`postgresql::postgresql_password`](#postgresqlpostgresql_password) instead.
4 Puppet::Functions.create_function(:postgresql_password) do
5 dispatch :deprecation_gen do
6 repeated_param 'Any', :args
7 end
8 def deprecation_gen(*args)
9 call_function('deprecation', 'postgresql_password', 'This method is deprecated, please use postgresql::postgresql_password instead.')
10 call_function('postgresql::postgresql_password', *args)
11 end
12 end