Puppet Function: postgresql_password

Defined in:
lib/puppet/functions/postgresql_password.rb
Function type:
Ruby 4.x API

Summary

DEPRECATED. Use the namespaced function [`postgresql::postgresql_password`](#postgresqlpostgresql_password) instead.

Overview

postgresql_password(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


4
5
6
7
8
9
10
11
12
# File 'lib/puppet/functions/postgresql_password.rb', line 4

Puppet::Functions.create_function(:postgresql_password) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'postgresql_password', 'This method is deprecated, please use postgresql::postgresql_password instead.')
    call_function('postgresql::postgresql_password', *args)
  end
end