Puppet Function: seeded_rand
- Defined in:
-
lib/puppet/functions/seeded_rand.rb
- Function type:
- Ruby 4.x API
Summary
DEPRECATED. Use the namespaced function [`stdlib::seeded_rand`](#stdlibseeded_rand) instead.
Overview
seeded_rand(Any *$args) ⇒ Any
6
7
8
9
10
11
12
13
14
|
# File 'lib/puppet/functions/seeded_rand.rb', line 6
Puppet::Functions.create_function(:seeded_rand) do
dispatch :deprecation_gen do
repeated_param 'Any', :args
end
def deprecation_gen(*args)
call_function('deprecation', 'seeded_rand', 'This function is deprecated, please use stdlib::seeded_rand instead.', false)
call_function('stdlib::seeded_rand', *args)
end
end
|