Puppet Function: influxdb::to_toml
- Defined in:
- lib/puppet/functions/influxdb/to_toml.rb
- Function type:
- Ruby 4.x API
Overview
3 4 5 6 7 8 9 10 11 |
# File 'lib/puppet/functions/influxdb/to_toml.rb', line 3 Puppet::Functions.create_function(:'influxdb::to_toml') do dispatch :to_toml do param 'Hash', :hash end def to_toml(hash) TomlRB.dump(hash) end end |