Giter Club home page Giter Club logo

Comments (6)

genebean avatar genebean commented on June 24, 2024 1

After looking at this more and taking into account all the different things that can be set I have to admit that I actually don't think my initial idea will work. Each of the settings can indeed be created via inifile but making something that works for all the nested options doesn't seem doable in the time I can commit. Sorry :(

from puppet-telegraf.

genebean avatar genebean commented on June 24, 2024 1

Ideally we need a standalone toml type and provider for Puppet

from puppet-telegraf.

bastelfreak avatar bastelfreak commented on June 24, 2024

Hi. Yes, I think inifile is a better approach for this :)

from puppet-telegraf.

SimonHoenscheid avatar SimonHoenscheid commented on June 24, 2024

@genebean This sounds interesting, can you give a short hint, how you wabnt to accomplish this using the inifile ressource?

from puppet-telegraf.

dhoppe avatar dhoppe commented on June 24, 2024

I would also like to store the variables in data/*.yaml and use the function create_ini_settings().

But the file telegraf.conf is not a real .ini file and the parameters indent_width, section_prefix and section_suffix can not work miracles either.

For example, the input plugin for Jolokia has an additional level.

I am not sure how this could work.

from puppet-telegraf.

dhoppe avatar dhoppe commented on June 24, 2024

I agree with that. Some plugins use "Array of Tables" and this is really hard to realize with inifile.

from puppet-telegraf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.