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