Puppet Function: seeded_rand_string

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

Summary

DEPRECATED. Use the namespaced function [`stdlib::seeded_rand_string`](#stdlibseeded_rand_string) instead.

Overview

seeded_rand_string(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


6
7
8
9
10
11
12
13
14
# File 'lib/puppet/functions/seeded_rand_string.rb', line 6

Puppet::Functions.create_function(:seeded_rand_string) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'seeded_rand_string', 'This function is deprecated, please use stdlib::seeded_rand_string instead.', false)
    call_function('stdlib::seeded_rand_string', *args)
  end
end