Puppet Function: uuid
- Defined in:
- lib/puppet/parser/functions/uuid.rb
- Function type:
- Ruby 3.x API
Overview
Returns random uuid.
2 3 4 5 6 7 |
# File 'lib/puppet/parser/functions/uuid.rb', line 2 newfunction(:uuid, :type => :rvalue, :doc => <<-EOS Returns random uuid. EOS ) do |args| return SecureRandom.uuid end |