Git Product home page Git Product logo

Comments (7)

ajcrowe avatar ajcrowe commented on August 15, 2024

This is a tricky one, given that most people will be configuring all aspects of supervisord through the module having multiple directories would only make configuration more complex.

I thought about having the config_include param as an array but this means I would need to pick one of those as the location for all the configs. I think I will make the config_include param a simple string rather than a absolute path so you can customise it with you own space seperated paths.

Let me know if this works for you

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on August 15, 2024

Actually this will break things as I rely on this for config file paths in other resources, I will have a think about the best approach.

from puppet-supervisord.

hasc avatar hasc commented on August 15, 2024

Hey,

Thanks for the quick response. I understand what you mean and that it conflicts with how you use this parameter.

I played a bit with it and found a simple workaround. I added a parameter $file to the class definition and added it also to the template file. With this everything works as before.

Let me know if you need more details. I am currently on the road...

Best Hannes

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on August 15, 2024

I've committed code to add this feature, see f863a94. You can now specific an array of include paths with $config_dirs. If this is not specified ${config_include}/*conf will be used, so make sure it includes this.

This is a bit of a work around and the name could be better but I want to avoid breaking changes for existing users of the module which this does.

Give it a try and let me know if this work, I'll look to get this out in a release shortly.

from puppet-supervisord.

hasc avatar hasc commented on August 15, 2024

Hi,

i'll give it a try as soon as possible and write back.

Thanks!
Hannes

from puppet-supervisord.

hasc avatar hasc commented on August 15, 2024

Hi,

i just gave it a try and it works perfectly. Thanks, a lot for your help. Looking forward to see it in the next release.

Regards
Hannes

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on August 15, 2024

Great, I'll push out a release shortly.

Thanks for the input.

from puppet-supervisord.

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.