Puppet Function: random_string
- Defined in:
- lib/puppet/functions/random_string.rb
- Function type:
- Ruby 4.x API
Summary
Generates a random hex stringOverview
5 6 7 8 9 10 |
# File 'lib/puppet/functions/random_string.rb', line 5 Puppet::Functions.create_function(:random_string) do # @return [String] Random hex string def random_string SecureRandom.hex end end |